@progress/kendo-angular-scheduler 22.1.0-develop.9 → 23.0.0-develop.1
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/edit-dialog-template.directive.d.ts +1 -1
- package/editing/recurrence/recurrence-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +4 -1
- package/editing/recurrence/recurrence.service.d.ts +1 -0
- package/editing-directives/base-edit.service.d.ts +7 -7
- package/editing-directives/edit-service.interface.d.ts +2 -2
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/events/drag-event.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-scheduler.mjs +187 -189
- package/package-metadata.mjs +2 -2
- package/package.json +17 -17
- package/pdf/pdf-command.directive.d.ts +3 -3
- package/pdf/pdf.component.d.ts +1 -1
- package/scheduler.component.d.ts +10 -10
- package/schematics/ngAdd/index.js +3 -3
- package/toolbar/navigation.component.d.ts +4 -4
- package/toolbar/toolbar-context.d.ts +1 -1
- package/toolbar/toolbar-template.directive.d.ts +5 -5
- package/toolbar/toolbar.service.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +3 -3
- package/types/actions.d.ts +6 -6
- package/types/datepicker-options.interface.d.ts +16 -16
- package/types/edit-event-args.interface.d.ts +1 -1
- package/types/editable-settings.interface.d.ts +2 -2
- package/types/numeric-options.interface.d.ts +7 -7
- package/types/slot-selection.d.ts +2 -2
- package/views/agenda/agenda-view.component.d.ts +2 -2
- package/views/common/configuration-view-base.d.ts +1 -1
- package/views/month/month-view.component.d.ts +5 -5
- package/views/month/multi-week-view.component.d.ts +5 -5
- package/views/multi-day/day-view.component.d.ts +2 -2
- package/views/multi-day/multi-day-view.component.d.ts +2 -2
- package/views/multi-day/week-view.component.d.ts +2 -2
- package/views/templates/agenda-date-template.directive.d.ts +1 -1
- package/views/templates/agenda-time-template.directive.d.ts +1 -1
- package/views/templates/all-day-event-template.directive.d.ts +1 -1
- package/views/templates/all-day-slot-template.directive.d.ts +1 -1
- package/views/templates/date-header-template.directive.d.ts +1 -1
- package/views/templates/event-template.directive.d.ts +1 -1
- package/views/templates/group-header-template.directive.d.ts +1 -1
- package/views/templates/major-time-header-template.directive.d.ts +1 -1
- package/views/templates/minor-time-header-template.directive.d.ts +1 -1
- package/views/templates/month-day-slot-template.directive.d.ts +1 -1
- package/views/templates/multi-week-day-slot-template.directive.d.ts +1 -1
- package/views/templates/time-slot-template.directive.d.ts +1 -1
- package/views/timeline/timeline-month-view.component.d.ts +2 -2
- package/views/timeline/timeline-view.component.d.ts +2 -2
- package/views/timeline/timeline-week-view.component.d.ts +2 -2
- package/views/year/year-view.component.d.ts +2 -2
|
@@ -44,7 +44,7 @@ const packageMetadata = {
|
|
|
44
44
|
productCode: 'KENDOUIANGULAR',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR'],
|
|
46
46
|
publishDate: 0,
|
|
47
|
-
version: '
|
|
47
|
+
version: '23.0.0-develop.1',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -324,7 +324,7 @@ class DragEvent extends PreventableEvent {
|
|
|
324
324
|
*/
|
|
325
325
|
resources;
|
|
326
326
|
/**
|
|
327
|
-
* Sets the class to the drag hint ([see example](
|
|
327
|
+
* Sets the class to the drag hint ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing/restrictions)).
|
|
328
328
|
*/
|
|
329
329
|
setHintClass;
|
|
330
330
|
/**
|
|
@@ -725,19 +725,19 @@ class SlotDragEndEvent extends SlotDragEvent {
|
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
/**
|
|
728
|
-
* Represents the toolbar template of the Scheduler. To define a toolbar template, nest an `<ng-template kendoSchedulerToolbarTemplate>` tag inside the `<kendo-scheduler>`. For more information and examples, see [customizing the toolbar](
|
|
728
|
+
* Represents the toolbar template of the Scheduler. To define a toolbar template, nest an `<ng-template kendoSchedulerToolbarTemplate>` tag inside the `<kendo-scheduler>`. For more information and examples, see [customizing the toolbar](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar) article.
|
|
729
729
|
*
|
|
730
730
|
* The template context provides the following variables:
|
|
731
731
|
* * `selectedDate`—The currently selected date.
|
|
732
|
-
* * `dateRange`—The currently selected [`DateRange`](
|
|
733
|
-
* * `views`—An array of [`SchedulerView`](
|
|
734
|
-
* * `selectedView`—The currently selected [`SchedulerView`](
|
|
732
|
+
* * `dateRange`—The currently selected [`DateRange`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/daterange).
|
|
733
|
+
* * `views`—An array of [`SchedulerView`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerview) instances with the available views.
|
|
734
|
+
* * `selectedView`—The currently selected [`SchedulerView`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerview).
|
|
735
735
|
*
|
|
736
736
|
* You can declare either of the following built-in navigation components in the toolbar template:
|
|
737
737
|
* * `kendoSchedulerToolbarNavigation`—Renders navigation buttons, a calendar, and a date-range label.
|
|
738
738
|
* * `kendoSchedulerToolbarViewSelector`—Renders the buttons for selecting the view.
|
|
739
739
|
*
|
|
740
|
-
* To emit navigation events, components inside the toolbar can inject the [`ToolbarService`](
|
|
740
|
+
* To emit navigation events, components inside the toolbar can inject the [`ToolbarService`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/toolbarservice).
|
|
741
741
|
*
|
|
742
742
|
* @example
|
|
743
743
|
* ```html
|
|
@@ -771,7 +771,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
771
771
|
|
|
772
772
|
/**
|
|
773
773
|
* Represents a service for communication with toolbar controls. Toolbar components use this service to publish navigation actions
|
|
774
|
-
* ([see example](
|
|
774
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar#using-the-toolbar-service)).
|
|
775
775
|
*/
|
|
776
776
|
class ToolbarService {
|
|
777
777
|
/**
|
|
@@ -851,7 +851,7 @@ var CrudOperation;
|
|
|
851
851
|
})(CrudOperation || (CrudOperation = {}));
|
|
852
852
|
|
|
853
853
|
/**
|
|
854
|
-
* The arguments for the [`isSlotSelected`](
|
|
854
|
+
* The arguments for the [`isSlotSelected`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#isslotselected) callback.
|
|
855
855
|
*/
|
|
856
856
|
class IsSlotSelectedArgs {
|
|
857
857
|
/**
|
|
@@ -886,7 +886,7 @@ var slotDragEventName;
|
|
|
886
886
|
* Use this directive to customize the date header in the **Agenda** view of the Scheduler.
|
|
887
887
|
*
|
|
888
888
|
* To define a date template, nest an `<ng-template>` tag with the `kendoSchedulerAgendaDateTemplate` directive inside the
|
|
889
|
-
* `<kendo-scheduler-agenda-view>` or `<kendo-scheduler>` component ([see example](
|
|
889
|
+
* `<kendo-scheduler-agenda-view>` or `<kendo-scheduler>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#agenda-dates).
|
|
890
890
|
*
|
|
891
891
|
* The available fields in the template context are:
|
|
892
892
|
* - `date`—The header date.
|
|
@@ -922,7 +922,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
922
922
|
* Use this directive to customize the time header in the **Agenda** view of the Scheduler.
|
|
923
923
|
*
|
|
924
924
|
* To define a time template, nest an `<ng-template>` tag with the `kendoSchedulerAgendaTimeTemplate` directive inside the
|
|
925
|
-
* `<kendo-scheduler>` or `<kendo-scheduler-agenda-view>` component ([see example](
|
|
925
|
+
* `<kendo-scheduler>` or `<kendo-scheduler-agenda-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#agenda-times)).
|
|
926
926
|
*
|
|
927
927
|
* The available fields in the template context are:
|
|
928
928
|
* - `start`—The start date of the event.
|
|
@@ -963,7 +963,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
963
963
|
* Use this directive to customize the content of all-day events in the Scheduler.
|
|
964
964
|
*
|
|
965
965
|
* To define an all-day event template, nest an `<ng-template>` tag with the `kendoSchedulerAllDayEventTemplate` directive inside the
|
|
966
|
-
* `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` component ([see example](
|
|
966
|
+
* `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#all-day-events)).
|
|
967
967
|
*
|
|
968
968
|
* The available fields in the template context are:
|
|
969
969
|
* - `event`—The event that is associated with the item.
|
|
@@ -1000,7 +1000,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1000
1000
|
* Use this directive to customize the content of all-day slots in the Scheduler.
|
|
1001
1001
|
*
|
|
1002
1002
|
* To define an all-dat slot template, nest an `<ng-template>` tag with the `kendoSchedulerAllDaySlotTemplate` directive inside the
|
|
1003
|
-
* `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` components ([see example](
|
|
1003
|
+
* `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` components ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#all-day-slots)).
|
|
1004
1004
|
*
|
|
1005
1005
|
* The available fields in the template context are:
|
|
1006
1006
|
* - `date`—The date of the slot.
|
|
@@ -1038,7 +1038,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1038
1038
|
*
|
|
1039
1039
|
* To define a date header template, nest an `<ng-template>` tag with the `kendoSchedulerDateHeaderTemplate` directive inside the
|
|
1040
1040
|
* `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, `<kendo-scheduler-week-view>`,
|
|
1041
|
-
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, or `<kendo-scheduler-timeline-month-view>` component ([see example](
|
|
1041
|
+
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, or `<kendo-scheduler-timeline-month-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#date-headers)).
|
|
1042
1042
|
*
|
|
1043
1043
|
* The available fields in the template context are:
|
|
1044
1044
|
* - `date`—The header date.
|
|
@@ -1074,7 +1074,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1074
1074
|
* Use this directive to customize the rendering of Scheduler events.
|
|
1075
1075
|
*
|
|
1076
1076
|
* To define an event template, nest an `<ng-template>` tag with the `kendoSchedulerEventTemplate` directive inside the
|
|
1077
|
-
* `<kendo-scheduler>` or any view component ([see example](
|
|
1077
|
+
* `<kendo-scheduler>` or any view component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#event-rendering)).
|
|
1078
1078
|
*
|
|
1079
1079
|
* The available fields in the template context are:
|
|
1080
1080
|
* - `event`—The event that is associated with the item.
|
|
@@ -1112,7 +1112,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1112
1112
|
*
|
|
1113
1113
|
* To defina a group header template, nest an `<ng-template>` tag with the `kendoSchedulerGroupHeaderTemplate` directive inside the
|
|
1114
1114
|
* `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, `<kendo-scheduler-week-view>`,
|
|
1115
|
-
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, or `<kendo-scheduler-timeline-month-view>` component ([see example](
|
|
1115
|
+
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, or `<kendo-scheduler-timeline-month-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#group-headers)).
|
|
1116
1116
|
*
|
|
1117
1117
|
* The available fields in the template context are:
|
|
1118
1118
|
* - `resource`—The resource item.
|
|
@@ -1148,7 +1148,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1148
1148
|
* Use this directive to customize the major-time headers in **Day** and **Week** views of the Scheduler.
|
|
1149
1149
|
*
|
|
1150
1150
|
* To define a major-time header template, nest an `<ng-template>` tag with the `kendoSchedulerMajorTimeHeaderTemplate` directive inside the
|
|
1151
|
-
* `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` component ([see example](
|
|
1151
|
+
* `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#major-time-headers)).
|
|
1152
1152
|
*
|
|
1153
1153
|
* The available fields in the template context are:
|
|
1154
1154
|
* - `date`—The date of the header.
|
|
@@ -1184,7 +1184,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1184
1184
|
* Use this directive to customize the minor-time headers in the **Day** and **Week** views of the Scheduler.
|
|
1185
1185
|
*
|
|
1186
1186
|
* To define a minor-time header template, nest an `<ng-template>` tag with the `kendoSchedulerMinorTimeHeaderTemplate` directive inside the
|
|
1187
|
-
* `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` component ([see example](
|
|
1187
|
+
* `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#minor-time-headers)).
|
|
1188
1188
|
*
|
|
1189
1189
|
* The available fields in the template context are:
|
|
1190
1190
|
* - `date`—The date of the header.
|
|
@@ -1220,7 +1220,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1220
1220
|
* Use this directive to customize the day slots in the **Month** view of the Scheduler.
|
|
1221
1221
|
*
|
|
1222
1222
|
* To define a day slot template, nest an `<ng-template>` tag with the `kendoSchedulerMonthDaySlotTemplate` directive inside the
|
|
1223
|
-
* `<kendo-scheduler>` or `<kendo-scheduler-month-view>` component ([see example](
|
|
1223
|
+
* `<kendo-scheduler>` or `<kendo-scheduler-month-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#month-slots)).
|
|
1224
1224
|
*
|
|
1225
1225
|
* The available fields in the template context are:
|
|
1226
1226
|
* - `date`—The date of the slot.
|
|
@@ -1257,7 +1257,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1257
1257
|
* Use this directive to customize the day slots in the **Multi-Week** view of the Scheduler.
|
|
1258
1258
|
*
|
|
1259
1259
|
* To defina a day slot template, nest an `<ng-template>` tag with the `kendoSchedulerMultiWeekDaySlotTemplate` directive inside the
|
|
1260
|
-
* `<kendo-scheduler>` or `<kendo-scheduler-multi-week-view>` component ([see example](
|
|
1260
|
+
* `<kendo-scheduler>` or `<kendo-scheduler-multi-week-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#multi-week-slots)).
|
|
1261
1261
|
*
|
|
1262
1262
|
* The available fields in the template context are:
|
|
1263
1263
|
* - `date`—The date of the slot.
|
|
@@ -1295,7 +1295,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1295
1295
|
*
|
|
1296
1296
|
* To define a time-slot template, nest an `<ng-template>` tag with the `kendoSchedulerTimeSlotTemplate`
|
|
1297
1297
|
* directive inside the `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, `<kendo-scheduler-week-view>`,
|
|
1298
|
-
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, or `<kendo-scheduler-timeline-month-view>` component ([see example](
|
|
1298
|
+
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, or `<kendo-scheduler-timeline-month-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#time-slots)).
|
|
1299
1299
|
*
|
|
1300
1300
|
* The available fields in the template context are:
|
|
1301
1301
|
* - `date`—The date of the slot.
|
|
@@ -1897,7 +1897,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1897
1897
|
/**
|
|
1898
1898
|
* Represents the template directive for customizing the Scheduler edit dialog.
|
|
1899
1899
|
* To define the template, nest an `<ng-template>` tag
|
|
1900
|
-
* with the `kendoSchedulerEditDialogTemplate` directive inside the `<kendo-scheduler>` tag ([see example](
|
|
1900
|
+
* with the `kendoSchedulerEditDialogTemplate` directive inside the `<kendo-scheduler>` tag ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing/custom-reactive-editing)).
|
|
1901
1901
|
*
|
|
1902
1902
|
* The template context is set to the current event and the following additional fields are passed:
|
|
1903
1903
|
* - `event`—The currently edited event. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax—for example, `let-event`.
|
|
@@ -2426,7 +2426,8 @@ class FocusableDirective {
|
|
|
2426
2426
|
}
|
|
2427
2427
|
toggleFocus(value) {
|
|
2428
2428
|
const element = this.element.nativeElement;
|
|
2429
|
-
const
|
|
2429
|
+
const isFooterButton = element.matches('.k-scheduler-navigation .k-button');
|
|
2430
|
+
const focusedClass = element.matches('.k-button-group .k-button') || isFooterButton ? 'k-focus' : 'k-selected';
|
|
2430
2431
|
const renderedEvents = this.element.nativeElement.ownerDocument.querySelectorAll('.k-event');
|
|
2431
2432
|
const method = value ? 'addClass' : 'removeClass';
|
|
2432
2433
|
this.renderer[method](element, focusedClass);
|
|
@@ -3219,6 +3220,7 @@ class RecurrenceService {
|
|
|
3219
3220
|
timezone;
|
|
3220
3221
|
weekStart;
|
|
3221
3222
|
start;
|
|
3223
|
+
minInterval = 1;
|
|
3222
3224
|
change = new EventEmitter();
|
|
3223
3225
|
endRuleChange = new EventEmitter();
|
|
3224
3226
|
frequencyChange = new EventEmitter();
|
|
@@ -3257,7 +3259,7 @@ class RecurrenceService {
|
|
|
3257
3259
|
setFrequency(freq) {
|
|
3258
3260
|
this.rrule = {};
|
|
3259
3261
|
this.rrule.freq = freq;
|
|
3260
|
-
this.rrule.interval =
|
|
3262
|
+
this.rrule.interval = this.minInterval;
|
|
3261
3263
|
if (freq === 'weekly') {
|
|
3262
3264
|
this.rrule.byWeekDay = [{
|
|
3263
3265
|
day: this.start.getDay(),
|
|
@@ -4442,7 +4444,6 @@ class RecurrenceWeekdayRuleEditorComponent {
|
|
|
4442
4444
|
></kendo-label>
|
|
4443
4445
|
<div class="k-form-field-wrap">
|
|
4444
4446
|
<kendo-buttongroup
|
|
4445
|
-
class="k-button-group-solid"
|
|
4446
4447
|
width="100%"
|
|
4447
4448
|
selection="multiple"
|
|
4448
4449
|
>
|
|
@@ -4471,7 +4472,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4471
4472
|
></kendo-label>
|
|
4472
4473
|
<div class="k-form-field-wrap">
|
|
4473
4474
|
<kendo-buttongroup
|
|
4474
|
-
class="k-button-group-solid"
|
|
4475
4475
|
width="100%"
|
|
4476
4476
|
selection="multiple"
|
|
4477
4477
|
>
|
|
@@ -4503,6 +4503,9 @@ class RecurrenceIntervalEditorComponent {
|
|
|
4503
4503
|
cssClass = true;
|
|
4504
4504
|
set userNumericOptions(options) {
|
|
4505
4505
|
this.numericOptions = { ...this.numericOptions, ...options };
|
|
4506
|
+
this.recurrence.minInterval = this.numericOptions.min;
|
|
4507
|
+
this.intervalValue = this.recurrence.rrule.interval >= this.numericOptions.min ? this.recurrence.rrule.interval : this.numericOptions.min;
|
|
4508
|
+
this.recurrence.interval = this.intervalValue;
|
|
4506
4509
|
}
|
|
4507
4510
|
intervalValue;
|
|
4508
4511
|
numericOptions = {
|
|
@@ -4512,10 +4515,16 @@ class RecurrenceIntervalEditorComponent {
|
|
|
4512
4515
|
step: 1,
|
|
4513
4516
|
spinners: true
|
|
4514
4517
|
};
|
|
4518
|
+
frequencyChangeSubscription;
|
|
4515
4519
|
constructor(recurrence, localization) {
|
|
4516
4520
|
this.recurrence = recurrence;
|
|
4517
4521
|
this.localization = localization;
|
|
4518
|
-
this.
|
|
4522
|
+
this.frequencyChangeSubscription = this.recurrence.frequencyChange.subscribe(() => {
|
|
4523
|
+
this.intervalValue = this.numericOptions.min;
|
|
4524
|
+
});
|
|
4525
|
+
}
|
|
4526
|
+
ngOnDestroy() {
|
|
4527
|
+
this.frequencyChangeSubscription.unsubscribe();
|
|
4519
4528
|
}
|
|
4520
4529
|
get currentFreq() {
|
|
4521
4530
|
return this.recurrence.frequency;
|
|
@@ -4523,6 +4532,7 @@ class RecurrenceIntervalEditorComponent {
|
|
|
4523
4532
|
onIntervalChange(newInterval) {
|
|
4524
4533
|
if (isPresent(newInterval)) {
|
|
4525
4534
|
this.recurrence.interval = newInterval;
|
|
4535
|
+
this.intervalValue = newInterval;
|
|
4526
4536
|
}
|
|
4527
4537
|
}
|
|
4528
4538
|
onIntervalBlur() {
|
|
@@ -4586,7 +4596,7 @@ class RecurrenceIntervalEditorComponent {
|
|
|
4586
4596
|
[spinners]="numericOptions.spinners"
|
|
4587
4597
|
[step]="numericOptions.step"
|
|
4588
4598
|
[title]="numericOptions.title"
|
|
4589
|
-
[
|
|
4599
|
+
[value]="intervalValue"
|
|
4590
4600
|
(blur)="onIntervalBlur()"
|
|
4591
4601
|
(valueChange)="onIntervalChange($event)"
|
|
4592
4602
|
>
|
|
@@ -4627,7 +4637,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4627
4637
|
[spinners]="numericOptions.spinners"
|
|
4628
4638
|
[step]="numericOptions.step"
|
|
4629
4639
|
[title]="numericOptions.title"
|
|
4630
|
-
[
|
|
4640
|
+
[value]="intervalValue"
|
|
4631
4641
|
(blur)="onIntervalBlur()"
|
|
4632
4642
|
(valueChange)="onIntervalChange($event)"
|
|
4633
4643
|
>
|
|
@@ -4693,7 +4703,7 @@ class RecurrenceFrequencyEditorComponent {
|
|
|
4693
4703
|
></kendo-label>
|
|
4694
4704
|
<div class="k-form-field-wrap">
|
|
4695
4705
|
<kendo-buttongroup
|
|
4696
|
-
class="k-scheduler-recurrence-repeat
|
|
4706
|
+
class="k-scheduler-recurrence-repeat"
|
|
4697
4707
|
width="100%"
|
|
4698
4708
|
selection="single"
|
|
4699
4709
|
>
|
|
@@ -4722,7 +4732,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4722
4732
|
></kendo-label>
|
|
4723
4733
|
<div class="k-form-field-wrap">
|
|
4724
4734
|
<kendo-buttongroup
|
|
4725
|
-
class="k-scheduler-recurrence-repeat
|
|
4735
|
+
class="k-scheduler-recurrence-repeat"
|
|
4726
4736
|
width="100%"
|
|
4727
4737
|
selection="single"
|
|
4728
4738
|
>
|
|
@@ -5020,7 +5030,7 @@ const RECURRENCE_VALUE_ACCESSOR = {
|
|
|
5020
5030
|
/**
|
|
5021
5031
|
* Represents the Kendo UI Recurrence Editor component for Angular. Use this component to let users set recurrence rules for Scheduler events.
|
|
5022
5032
|
*
|
|
5023
|
-
* [This example](
|
|
5033
|
+
* [This example](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing/custom-reactive-editing) demonstrates the Recurrence Editor, among other components.
|
|
5024
5034
|
*
|
|
5025
5035
|
* @example
|
|
5026
5036
|
* ```html
|
|
@@ -5158,138 +5168,138 @@ class RecurrenceEditorComponent {
|
|
|
5158
5168
|
<ng-container kendoRecurrenceEditorLocalizedMessages
|
|
5159
5169
|
i18n-repeat="kendo.recurrenceeditor.repeat|The text similar to 'Repeat' displayed in the recurrence editor."
|
|
5160
5170
|
repeat='Repeat'
|
|
5161
|
-
|
|
5171
|
+
|
|
5162
5172
|
i18n-dailyInterval="kendo.recurrenceeditor.dailyInterval|The text similar to 'day(s)' displayed in the recurrence editor."
|
|
5163
5173
|
dailyInterval='day(s)'
|
|
5164
|
-
|
|
5174
|
+
|
|
5165
5175
|
i18n-dailyRepeatEvery="kendo.recurrenceeditor.dailyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5166
5176
|
dailyRepeatEvery='Repeat every'
|
|
5167
|
-
|
|
5177
|
+
|
|
5168
5178
|
i18n-weeklyInterval="kendo.recurrenceeditor.weeklyInterval|The text similar to 'week(s)' displayed in the recurrence editor."
|
|
5169
5179
|
weeklyInterval='week(s)'
|
|
5170
|
-
|
|
5180
|
+
|
|
5171
5181
|
i18n-weeklyRepeatEvery="kendo.recurrenceeditor.weeklyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5172
5182
|
weeklyRepeatEvery='Repeat every'
|
|
5173
|
-
|
|
5183
|
+
|
|
5174
5184
|
i18n-weeklyRepeatOn="kendo.recurrenceeditor.weeklyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5175
5185
|
weeklyRepeatOn='Repeat on'
|
|
5176
|
-
|
|
5186
|
+
|
|
5177
5187
|
i18n-monthlyDay="kendo.recurrenceeditor.monthlyDay|The text similar to 'Day' displayed in the recurrence editor."
|
|
5178
5188
|
monthlyDay='Day'
|
|
5179
|
-
|
|
5189
|
+
|
|
5180
5190
|
i18n-monthlyInterval="kendo.recurrenceeditor.monthlyInterval|The text similar to 'month(s)' displayed in the recurrence editor."
|
|
5181
5191
|
monthlyInterval='month(s)'
|
|
5182
|
-
|
|
5192
|
+
|
|
5183
5193
|
i18n-monthlyRepeatEvery="kendo.recurrenceeditor.monthlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5184
5194
|
monthlyRepeatEvery='Repeat every'
|
|
5185
|
-
|
|
5195
|
+
|
|
5186
5196
|
i18n-monthlyRepeatOn="kendo.recurrenceeditor.monthlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5187
5197
|
monthlyRepeatOn='Repeat on'
|
|
5188
|
-
|
|
5198
|
+
|
|
5189
5199
|
i18n-yearlyOf="kendo.recurrenceeditor.yearlyOf|The text similar to 'of' displayed in the recurrence editor."
|
|
5190
5200
|
yearlyOf='of'
|
|
5191
|
-
|
|
5201
|
+
|
|
5192
5202
|
i18n-yearlyRepeatEvery="kendo.recurrenceeditor.yearlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5193
5203
|
yearlyRepeatEvery='Repeat every'
|
|
5194
|
-
|
|
5204
|
+
|
|
5195
5205
|
i18n-yearlyRepeatOn="kendo.recurrenceeditor.yearlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5196
5206
|
yearlyRepeatOn='Repeat on'
|
|
5197
|
-
|
|
5207
|
+
|
|
5198
5208
|
i18n-yearlyInterval="kendo.recurrenceeditor.yearlyInterval|The text similar to 'year(s)' displayed in the recurrence editor."
|
|
5199
5209
|
yearlyInterval='year(s)'
|
|
5200
|
-
|
|
5210
|
+
|
|
5201
5211
|
i18n-frequenciesDaily="kendo.recurrenceeditor.frequenciesDaily|The text similar to 'Daily' displayed in the recurrence editor."
|
|
5202
5212
|
frequenciesDaily='Daily'
|
|
5203
|
-
|
|
5213
|
+
|
|
5204
5214
|
i18n-frequenciesMonthly="kendo.recurrenceeditor.frequenciesMonthly|The text similar to 'Monthly' displayed in the recurrence editor."
|
|
5205
5215
|
frequenciesMonthly='Monthly'
|
|
5206
|
-
|
|
5216
|
+
|
|
5207
5217
|
i18n-frequenciesNever="kendo.recurrenceeditor.frequenciesNever|The text similar to 'Never' displayed in the recurrence editor."
|
|
5208
5218
|
frequenciesNever='Never'
|
|
5209
|
-
|
|
5219
|
+
|
|
5210
5220
|
i18n-frequenciesWeekly="kendo.recurrenceeditor.frequenciesWeekly|The text similar to 'Weekly' displayed in the recurrence editor."
|
|
5211
5221
|
frequenciesWeekly='Weekly'
|
|
5212
|
-
|
|
5222
|
+
|
|
5213
5223
|
i18n-frequenciesYearly="kendo.recurrenceeditor.frequenciesYearly|The text similar to 'Yearly' displayed in the recurrence editor."
|
|
5214
5224
|
frequenciesYearly='Yearly'
|
|
5215
|
-
|
|
5225
|
+
|
|
5216
5226
|
i18n-offsetPositionsFirst="kendo.recurrenceeditor.offsetPositionsFirst|The text similar to 'First' displayed in the recurrence editor."
|
|
5217
5227
|
offsetPositionsFirst='First'
|
|
5218
|
-
|
|
5228
|
+
|
|
5219
5229
|
i18n-offsetPositionsSecond="kendo.recurrenceeditor.offsetPositionsSecond|The text similar to 'Second' displayed in the recurrence editor."
|
|
5220
5230
|
offsetPositionsSecond='Second'
|
|
5221
|
-
|
|
5231
|
+
|
|
5222
5232
|
i18n-offsetPositionsThird="kendo.recurrenceeditor.offsetPositionsThird|The text similar to 'Third' displayed in the recurrence editor."
|
|
5223
5233
|
offsetPositionsThird='Third'
|
|
5224
|
-
|
|
5234
|
+
|
|
5225
5235
|
i18n-offsetPositionsFourth="kendo.recurrenceeditor.offsetPositionsFourth|The text similar to 'Fourth' displayed in the recurrence editor."
|
|
5226
5236
|
offsetPositionsFourth='Fourth'
|
|
5227
|
-
|
|
5237
|
+
|
|
5228
5238
|
i18n-offsetPositionsLast="kendo.recurrenceeditor.offsetPositionsLast|The text similar to 'Last' displayed in the recurrence editor."
|
|
5229
5239
|
offsetPositionsLast='Last'
|
|
5230
|
-
|
|
5240
|
+
|
|
5231
5241
|
i18n-weekdaysDay="kendo.recurrenceeditor.weekdaysDay|The text similar to 'Day' displayed in the repeat by section of the monthly recurrence pattern."
|
|
5232
5242
|
weekdaysDay='Day'
|
|
5233
|
-
|
|
5243
|
+
|
|
5234
5244
|
i18n-weekdaysWeekday="kendo.recurrenceeditor.weekdaysWeekday|The text similar to 'Weekday' displayed in the repeat by section of the monthly recurrence pattern."
|
|
5235
5245
|
weekdaysWeekday='Weekday'
|
|
5236
|
-
|
|
5246
|
+
|
|
5237
5247
|
i18n-weekdaysWeekendday="kendo.recurrenceeditor.weekdaysWeekendday|The text similar to 'Weekend Day' displayed in the repeat by section of the monthly recurrence pattern."
|
|
5238
5248
|
weekdaysWeekendday='Weekend Day'
|
|
5239
|
-
|
|
5249
|
+
|
|
5240
5250
|
i18n-endAfter="kendo.recurrenceeditor.endAfter|The text similar to 'After' displayed in the recurrence editor."
|
|
5241
5251
|
endAfter='After'
|
|
5242
|
-
|
|
5252
|
+
|
|
5243
5253
|
i18n-endOccurrence="kendo.recurrenceeditor.endOccurrence|The text similar to 'occurrence(s)' displayed in the recurrence editor."
|
|
5244
5254
|
endOccurrence='occurrence(s)'
|
|
5245
|
-
|
|
5255
|
+
|
|
5246
5256
|
i18n-endLabel="kendo.recurrenceeditor.endLabel|The text similar to 'End' displayed in the recurrence editor."
|
|
5247
5257
|
endLabel='End'
|
|
5248
|
-
|
|
5258
|
+
|
|
5249
5259
|
i18n-endNever="kendo.recurrenceeditor.endNever|The text similar to 'Never' displayed in the recurrence editor."
|
|
5250
5260
|
endNever='Never'
|
|
5251
|
-
|
|
5261
|
+
|
|
5252
5262
|
i18n-endOn="kendo.recurrenceeditor.endOn|The text similar to 'On' displayed in the recurrence editor."
|
|
5253
5263
|
endOn='On'
|
|
5254
|
-
|
|
5264
|
+
|
|
5255
5265
|
i18n-numericIncrement="kendo.recurrenceeditor.numericIncrement|The title of the 'Increment' button of the NumericTextBoxes displayed in the recurrence editor."
|
|
5256
5266
|
numericIncrement='Increase value'
|
|
5257
|
-
|
|
5267
|
+
|
|
5258
5268
|
i18n-numericDecrement="kendo.recurrenceeditor.numericDecrement|The title of the 'Decrement' button of the NumericTextBoxes displayed in the recurrence editor."
|
|
5259
5269
|
numericDecrement='Decrease value'
|
|
5260
|
-
|
|
5270
|
+
|
|
5261
5271
|
i18n-dateInputsToday="kendo.recurrenceeditor.dateInputsToday|The title of the 'Today' button in the popup of the DatePickers displayed in the recurrence editor."
|
|
5262
5272
|
dateInputsToday='Today'
|
|
5263
|
-
|
|
5273
|
+
|
|
5264
5274
|
i18n-dateInputsToggle="kendo.recurrenceeditor.dateInputsToggle|The title of the 'Toggle' button of the DatePickers displayed in the recurrence editor."
|
|
5265
5275
|
dateInputsToggle='Toggle calendar'
|
|
5266
|
-
|
|
5276
|
+
|
|
5267
5277
|
i18n-dateInputsParentViewButton="kendo.recurrenceeditor.dateInputsParentViewButton|The title of the 'Parent View' button in the popup of the DatePickers displayed in the recurrence editor."
|
|
5268
5278
|
dateInputsParentViewButton='Navigate to parent view'
|
|
5269
5279
|
>
|
|
5270
5280
|
</ng-container>
|
|
5271
|
-
|
|
5281
|
+
|
|
5272
5282
|
<kendo-recurrence-frequency-editor>
|
|
5273
5283
|
</kendo-recurrence-frequency-editor>
|
|
5274
|
-
|
|
5284
|
+
|
|
5275
5285
|
<div class="k-recur-view">
|
|
5276
5286
|
@if (currentFreq !== 'never') {
|
|
5277
5287
|
<kendo-recurrence-interval-editor
|
|
5278
5288
|
[userNumericOptions]="repeatEveryOptions">
|
|
5279
5289
|
</kendo-recurrence-interval-editor>
|
|
5280
5290
|
}
|
|
5281
|
-
|
|
5291
|
+
|
|
5282
5292
|
@if (currentFreq === 'weekly') {
|
|
5283
5293
|
<kendo-recurrence-weekday-rule-editor>
|
|
5284
5294
|
</kendo-recurrence-weekday-rule-editor>
|
|
5285
5295
|
}
|
|
5286
|
-
|
|
5296
|
+
|
|
5287
5297
|
@if (currentFreq === 'monthly' || currentFreq === 'yearly') {
|
|
5288
5298
|
<kendo-recurrence-monthly-yearly-editor
|
|
5289
5299
|
[userNumericOptions]="repeatOnOptions">
|
|
5290
5300
|
</kendo-recurrence-monthly-yearly-editor>
|
|
5291
5301
|
}
|
|
5292
|
-
|
|
5302
|
+
|
|
5293
5303
|
@if (currentFreq !== 'never') {
|
|
5294
5304
|
<kendo-recurrence-end-rule-editor
|
|
5295
5305
|
[userNumericOptions]="endAfterOptions"
|
|
@@ -5321,138 +5331,138 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
5321
5331
|
<ng-container kendoRecurrenceEditorLocalizedMessages
|
|
5322
5332
|
i18n-repeat="kendo.recurrenceeditor.repeat|The text similar to 'Repeat' displayed in the recurrence editor."
|
|
5323
5333
|
repeat='Repeat'
|
|
5324
|
-
|
|
5334
|
+
|
|
5325
5335
|
i18n-dailyInterval="kendo.recurrenceeditor.dailyInterval|The text similar to 'day(s)' displayed in the recurrence editor."
|
|
5326
5336
|
dailyInterval='day(s)'
|
|
5327
|
-
|
|
5337
|
+
|
|
5328
5338
|
i18n-dailyRepeatEvery="kendo.recurrenceeditor.dailyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5329
5339
|
dailyRepeatEvery='Repeat every'
|
|
5330
|
-
|
|
5340
|
+
|
|
5331
5341
|
i18n-weeklyInterval="kendo.recurrenceeditor.weeklyInterval|The text similar to 'week(s)' displayed in the recurrence editor."
|
|
5332
5342
|
weeklyInterval='week(s)'
|
|
5333
|
-
|
|
5343
|
+
|
|
5334
5344
|
i18n-weeklyRepeatEvery="kendo.recurrenceeditor.weeklyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5335
5345
|
weeklyRepeatEvery='Repeat every'
|
|
5336
|
-
|
|
5346
|
+
|
|
5337
5347
|
i18n-weeklyRepeatOn="kendo.recurrenceeditor.weeklyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5338
5348
|
weeklyRepeatOn='Repeat on'
|
|
5339
|
-
|
|
5349
|
+
|
|
5340
5350
|
i18n-monthlyDay="kendo.recurrenceeditor.monthlyDay|The text similar to 'Day' displayed in the recurrence editor."
|
|
5341
5351
|
monthlyDay='Day'
|
|
5342
|
-
|
|
5352
|
+
|
|
5343
5353
|
i18n-monthlyInterval="kendo.recurrenceeditor.monthlyInterval|The text similar to 'month(s)' displayed in the recurrence editor."
|
|
5344
5354
|
monthlyInterval='month(s)'
|
|
5345
|
-
|
|
5355
|
+
|
|
5346
5356
|
i18n-monthlyRepeatEvery="kendo.recurrenceeditor.monthlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5347
5357
|
monthlyRepeatEvery='Repeat every'
|
|
5348
|
-
|
|
5358
|
+
|
|
5349
5359
|
i18n-monthlyRepeatOn="kendo.recurrenceeditor.monthlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5350
5360
|
monthlyRepeatOn='Repeat on'
|
|
5351
|
-
|
|
5361
|
+
|
|
5352
5362
|
i18n-yearlyOf="kendo.recurrenceeditor.yearlyOf|The text similar to 'of' displayed in the recurrence editor."
|
|
5353
5363
|
yearlyOf='of'
|
|
5354
|
-
|
|
5364
|
+
|
|
5355
5365
|
i18n-yearlyRepeatEvery="kendo.recurrenceeditor.yearlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5356
5366
|
yearlyRepeatEvery='Repeat every'
|
|
5357
|
-
|
|
5367
|
+
|
|
5358
5368
|
i18n-yearlyRepeatOn="kendo.recurrenceeditor.yearlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5359
5369
|
yearlyRepeatOn='Repeat on'
|
|
5360
|
-
|
|
5370
|
+
|
|
5361
5371
|
i18n-yearlyInterval="kendo.recurrenceeditor.yearlyInterval|The text similar to 'year(s)' displayed in the recurrence editor."
|
|
5362
5372
|
yearlyInterval='year(s)'
|
|
5363
|
-
|
|
5373
|
+
|
|
5364
5374
|
i18n-frequenciesDaily="kendo.recurrenceeditor.frequenciesDaily|The text similar to 'Daily' displayed in the recurrence editor."
|
|
5365
5375
|
frequenciesDaily='Daily'
|
|
5366
|
-
|
|
5376
|
+
|
|
5367
5377
|
i18n-frequenciesMonthly="kendo.recurrenceeditor.frequenciesMonthly|The text similar to 'Monthly' displayed in the recurrence editor."
|
|
5368
5378
|
frequenciesMonthly='Monthly'
|
|
5369
|
-
|
|
5379
|
+
|
|
5370
5380
|
i18n-frequenciesNever="kendo.recurrenceeditor.frequenciesNever|The text similar to 'Never' displayed in the recurrence editor."
|
|
5371
5381
|
frequenciesNever='Never'
|
|
5372
|
-
|
|
5382
|
+
|
|
5373
5383
|
i18n-frequenciesWeekly="kendo.recurrenceeditor.frequenciesWeekly|The text similar to 'Weekly' displayed in the recurrence editor."
|
|
5374
5384
|
frequenciesWeekly='Weekly'
|
|
5375
|
-
|
|
5385
|
+
|
|
5376
5386
|
i18n-frequenciesYearly="kendo.recurrenceeditor.frequenciesYearly|The text similar to 'Yearly' displayed in the recurrence editor."
|
|
5377
5387
|
frequenciesYearly='Yearly'
|
|
5378
|
-
|
|
5388
|
+
|
|
5379
5389
|
i18n-offsetPositionsFirst="kendo.recurrenceeditor.offsetPositionsFirst|The text similar to 'First' displayed in the recurrence editor."
|
|
5380
5390
|
offsetPositionsFirst='First'
|
|
5381
|
-
|
|
5391
|
+
|
|
5382
5392
|
i18n-offsetPositionsSecond="kendo.recurrenceeditor.offsetPositionsSecond|The text similar to 'Second' displayed in the recurrence editor."
|
|
5383
5393
|
offsetPositionsSecond='Second'
|
|
5384
|
-
|
|
5394
|
+
|
|
5385
5395
|
i18n-offsetPositionsThird="kendo.recurrenceeditor.offsetPositionsThird|The text similar to 'Third' displayed in the recurrence editor."
|
|
5386
5396
|
offsetPositionsThird='Third'
|
|
5387
|
-
|
|
5397
|
+
|
|
5388
5398
|
i18n-offsetPositionsFourth="kendo.recurrenceeditor.offsetPositionsFourth|The text similar to 'Fourth' displayed in the recurrence editor."
|
|
5389
5399
|
offsetPositionsFourth='Fourth'
|
|
5390
|
-
|
|
5400
|
+
|
|
5391
5401
|
i18n-offsetPositionsLast="kendo.recurrenceeditor.offsetPositionsLast|The text similar to 'Last' displayed in the recurrence editor."
|
|
5392
5402
|
offsetPositionsLast='Last'
|
|
5393
|
-
|
|
5403
|
+
|
|
5394
5404
|
i18n-weekdaysDay="kendo.recurrenceeditor.weekdaysDay|The text similar to 'Day' displayed in the repeat by section of the monthly recurrence pattern."
|
|
5395
5405
|
weekdaysDay='Day'
|
|
5396
|
-
|
|
5406
|
+
|
|
5397
5407
|
i18n-weekdaysWeekday="kendo.recurrenceeditor.weekdaysWeekday|The text similar to 'Weekday' displayed in the repeat by section of the monthly recurrence pattern."
|
|
5398
5408
|
weekdaysWeekday='Weekday'
|
|
5399
|
-
|
|
5409
|
+
|
|
5400
5410
|
i18n-weekdaysWeekendday="kendo.recurrenceeditor.weekdaysWeekendday|The text similar to 'Weekend Day' displayed in the repeat by section of the monthly recurrence pattern."
|
|
5401
5411
|
weekdaysWeekendday='Weekend Day'
|
|
5402
|
-
|
|
5412
|
+
|
|
5403
5413
|
i18n-endAfter="kendo.recurrenceeditor.endAfter|The text similar to 'After' displayed in the recurrence editor."
|
|
5404
5414
|
endAfter='After'
|
|
5405
|
-
|
|
5415
|
+
|
|
5406
5416
|
i18n-endOccurrence="kendo.recurrenceeditor.endOccurrence|The text similar to 'occurrence(s)' displayed in the recurrence editor."
|
|
5407
5417
|
endOccurrence='occurrence(s)'
|
|
5408
|
-
|
|
5418
|
+
|
|
5409
5419
|
i18n-endLabel="kendo.recurrenceeditor.endLabel|The text similar to 'End' displayed in the recurrence editor."
|
|
5410
5420
|
endLabel='End'
|
|
5411
|
-
|
|
5421
|
+
|
|
5412
5422
|
i18n-endNever="kendo.recurrenceeditor.endNever|The text similar to 'Never' displayed in the recurrence editor."
|
|
5413
5423
|
endNever='Never'
|
|
5414
|
-
|
|
5424
|
+
|
|
5415
5425
|
i18n-endOn="kendo.recurrenceeditor.endOn|The text similar to 'On' displayed in the recurrence editor."
|
|
5416
5426
|
endOn='On'
|
|
5417
|
-
|
|
5427
|
+
|
|
5418
5428
|
i18n-numericIncrement="kendo.recurrenceeditor.numericIncrement|The title of the 'Increment' button of the NumericTextBoxes displayed in the recurrence editor."
|
|
5419
5429
|
numericIncrement='Increase value'
|
|
5420
|
-
|
|
5430
|
+
|
|
5421
5431
|
i18n-numericDecrement="kendo.recurrenceeditor.numericDecrement|The title of the 'Decrement' button of the NumericTextBoxes displayed in the recurrence editor."
|
|
5422
5432
|
numericDecrement='Decrease value'
|
|
5423
|
-
|
|
5433
|
+
|
|
5424
5434
|
i18n-dateInputsToday="kendo.recurrenceeditor.dateInputsToday|The title of the 'Today' button in the popup of the DatePickers displayed in the recurrence editor."
|
|
5425
5435
|
dateInputsToday='Today'
|
|
5426
|
-
|
|
5436
|
+
|
|
5427
5437
|
i18n-dateInputsToggle="kendo.recurrenceeditor.dateInputsToggle|The title of the 'Toggle' button of the DatePickers displayed in the recurrence editor."
|
|
5428
5438
|
dateInputsToggle='Toggle calendar'
|
|
5429
|
-
|
|
5439
|
+
|
|
5430
5440
|
i18n-dateInputsParentViewButton="kendo.recurrenceeditor.dateInputsParentViewButton|The title of the 'Parent View' button in the popup of the DatePickers displayed in the recurrence editor."
|
|
5431
5441
|
dateInputsParentViewButton='Navigate to parent view'
|
|
5432
5442
|
>
|
|
5433
5443
|
</ng-container>
|
|
5434
|
-
|
|
5444
|
+
|
|
5435
5445
|
<kendo-recurrence-frequency-editor>
|
|
5436
5446
|
</kendo-recurrence-frequency-editor>
|
|
5437
|
-
|
|
5447
|
+
|
|
5438
5448
|
<div class="k-recur-view">
|
|
5439
5449
|
@if (currentFreq !== 'never') {
|
|
5440
5450
|
<kendo-recurrence-interval-editor
|
|
5441
5451
|
[userNumericOptions]="repeatEveryOptions">
|
|
5442
5452
|
</kendo-recurrence-interval-editor>
|
|
5443
5453
|
}
|
|
5444
|
-
|
|
5454
|
+
|
|
5445
5455
|
@if (currentFreq === 'weekly') {
|
|
5446
5456
|
<kendo-recurrence-weekday-rule-editor>
|
|
5447
5457
|
</kendo-recurrence-weekday-rule-editor>
|
|
5448
5458
|
}
|
|
5449
|
-
|
|
5459
|
+
|
|
5450
5460
|
@if (currentFreq === 'monthly' || currentFreq === 'yearly') {
|
|
5451
5461
|
<kendo-recurrence-monthly-yearly-editor
|
|
5452
5462
|
[userNumericOptions]="repeatOnOptions">
|
|
5453
5463
|
</kendo-recurrence-monthly-yearly-editor>
|
|
5454
5464
|
}
|
|
5455
|
-
|
|
5465
|
+
|
|
5456
5466
|
@if (currentFreq !== 'never') {
|
|
5457
5467
|
<kendo-recurrence-end-rule-editor
|
|
5458
5468
|
[userNumericOptions]="endAfterOptions"
|
|
@@ -6495,9 +6505,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6495
6505
|
|
|
6496
6506
|
/**
|
|
6497
6507
|
* A toolbar component that contains controls for switching views
|
|
6498
|
-
* ([see example](
|
|
6508
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar#including-the-built-in-components)).
|
|
6499
6509
|
*
|
|
6500
|
-
* To render the view-selection buttons, include this component in the [toolbar template](
|
|
6510
|
+
* To render the view-selection buttons, include this component in the [toolbar template](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/toolbartemplatedirective).
|
|
6501
6511
|
*
|
|
6502
6512
|
* @example
|
|
6503
6513
|
* ```html
|
|
@@ -6512,7 +6522,7 @@ class ToolbarViewSelectorComponent {
|
|
|
6512
6522
|
service;
|
|
6513
6523
|
localization;
|
|
6514
6524
|
/**
|
|
6515
|
-
* Sets the current width of the Toolbar in pixels for responsive calculations. Use the [`schedulerResize`](
|
|
6525
|
+
* Sets the current width of the Toolbar in pixels for responsive calculations. Use the [`schedulerResize`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#schedulerresize) event to get the Toolbar width.
|
|
6516
6526
|
*/
|
|
6517
6527
|
toolbarWidth;
|
|
6518
6528
|
/**
|
|
@@ -6590,7 +6600,7 @@ class ToolbarViewSelectorComponent {
|
|
|
6590
6600
|
}
|
|
6591
6601
|
@if (toolbarWidth > responsiveBreakpoint) {
|
|
6592
6602
|
<span
|
|
6593
|
-
class="k-toolbar-button-group k-scheduler-views k-button-group
|
|
6603
|
+
class="k-toolbar-button-group k-scheduler-views k-button-group"
|
|
6594
6604
|
role="group"
|
|
6595
6605
|
>
|
|
6596
6606
|
@for (view of ctx.views; track view) {
|
|
@@ -6635,7 +6645,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6635
6645
|
}
|
|
6636
6646
|
@if (toolbarWidth > responsiveBreakpoint) {
|
|
6637
6647
|
<span
|
|
6638
|
-
class="k-toolbar-button-group k-scheduler-views k-button-group
|
|
6648
|
+
class="k-toolbar-button-group k-scheduler-views k-button-group"
|
|
6639
6649
|
role="group"
|
|
6640
6650
|
>
|
|
6641
6651
|
@for (view of ctx.views; track view) {
|
|
@@ -6666,9 +6676,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6666
6676
|
const iconsMap = { caretAltLeftIcon, caretAltRightIcon, calendarIcon };
|
|
6667
6677
|
/**
|
|
6668
6678
|
* A toolbar component that contains controls for date navigation
|
|
6669
|
-
* ([see example](
|
|
6679
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar#including-the-built-in-components)).
|
|
6670
6680
|
*
|
|
6671
|
-
* To render the **Previous**, **Today**, **Next**, and **Date picker** buttons, include this component in the [toolbar template](
|
|
6681
|
+
* To render the **Previous**, **Today**, **Next**, and **Date picker** buttons, include this component in the [toolbar template](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/toolbartemplatedirective).
|
|
6672
6682
|
*
|
|
6673
6683
|
* @example
|
|
6674
6684
|
* ```html
|
|
@@ -6708,13 +6718,13 @@ class ToolbarNavigationComponent {
|
|
|
6708
6718
|
return this.localization.get('today');
|
|
6709
6719
|
}
|
|
6710
6720
|
/**
|
|
6711
|
-
* Sets the [`activeView`](
|
|
6721
|
+
* Sets the [`activeView`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/calendarcomponent#activeview) of the Calendar in the navigation component.
|
|
6712
6722
|
*
|
|
6713
6723
|
* @default month
|
|
6714
6724
|
*/
|
|
6715
6725
|
activeView = 'month';
|
|
6716
6726
|
/**
|
|
6717
|
-
* Sets the [`bottomView`](
|
|
6727
|
+
* Sets the [`bottomView`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/calendarcomponent#bottomview) of the Calendar in the navigation component.
|
|
6718
6728
|
*
|
|
6719
6729
|
* @default month
|
|
6720
6730
|
*/
|
|
@@ -6875,7 +6885,7 @@ class ToolbarNavigationComponent {
|
|
|
6875
6885
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: ToolbarNavigationComponent, isStandalone: true, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max", activeView: "activeView", bottomView: "bottomView" }, host: { properties: { "class.k-toolbar-group": "this.hostClass" } }, providers: [
|
|
6876
6886
|
PopupService
|
|
6877
6887
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
6878
|
-
<span class="k-scheduler-navigation k-button-group
|
|
6888
|
+
<span class="k-scheduler-navigation k-button-group" role="group">
|
|
6879
6889
|
<button kendoButton
|
|
6880
6890
|
(click)="todayClick()"
|
|
6881
6891
|
class="k-nav-today"
|
|
@@ -6951,7 +6961,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6951
6961
|
PopupService
|
|
6952
6962
|
],
|
|
6953
6963
|
template: `
|
|
6954
|
-
<span class="k-scheduler-navigation k-button-group
|
|
6964
|
+
<span class="k-scheduler-navigation k-button-group" role="group">
|
|
6955
6965
|
<button kendoButton
|
|
6956
6966
|
(click)="todayClick()"
|
|
6957
6967
|
class="k-nav-today"
|
|
@@ -7104,7 +7114,7 @@ class ToolbarComponent {
|
|
|
7104
7114
|
this.toolbarWidthChange.emit(this.toolbarWidth);
|
|
7105
7115
|
}
|
|
7106
7116
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ToolbarComponent, deps: [{ token: ToolbarService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
7107
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ToolbarComponent, isStandalone: true, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "
|
|
7117
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ToolbarComponent, isStandalone: true, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "attr.role": "this.toolbarRole" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
7108
7118
|
@if (template) {
|
|
7109
7119
|
<ng-template
|
|
7110
7120
|
[ngTemplateOutlet]="template.templateRef"
|
|
@@ -7160,12 +7170,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7160
7170
|
}, {
|
|
7161
7171
|
type: HostBinding,
|
|
7162
7172
|
args: ['class.k-toolbar']
|
|
7163
|
-
}, {
|
|
7164
|
-
type: HostBinding,
|
|
7165
|
-
args: ['class.k-toolbar-solid']
|
|
7166
|
-
}, {
|
|
7167
|
-
type: HostBinding,
|
|
7168
|
-
args: ['class.k-toolbar-md']
|
|
7169
7173
|
}], toolbarRole: [{
|
|
7170
7174
|
type: HostBinding,
|
|
7171
7175
|
args: ['attr.role']
|
|
@@ -7831,7 +7835,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7831
7835
|
const todayDate = () => getDate(new Date());
|
|
7832
7836
|
const DAYS_IN_WEEK$1 = 7;
|
|
7833
7837
|
/**
|
|
7834
|
-
* Represents the [Kendo UI Scheduler component for Angular](
|
|
7838
|
+
* Represents the [Kendo UI Scheduler component for Angular](https://www.telerik.com/kendo-angular-ui/components/scheduler).
|
|
7835
7839
|
*
|
|
7836
7840
|
* @example
|
|
7837
7841
|
* ```html
|
|
@@ -7886,8 +7890,8 @@ class SchedulerComponent {
|
|
|
7886
7890
|
*/
|
|
7887
7891
|
editable = false;
|
|
7888
7892
|
/**
|
|
7889
|
-
* Specifies whether the Scheduler's day or time slots are selectable ([see example](
|
|
7890
|
-
* When set to `true`, the Scheduler emits [`slotDragStart`](
|
|
7893
|
+
* Specifies whether the Scheduler's day or time slots are selectable ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/slot-selection#custom-callback)).
|
|
7894
|
+
* When set to `true`, the Scheduler emits [`slotDragStart`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#slotdragstart), [`slotDrag`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#slotdrag), and [`slotDragEnd`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#slotdragend) events on user interaction.
|
|
7891
7895
|
* @default false
|
|
7892
7896
|
*/
|
|
7893
7897
|
selectable = false;
|
|
@@ -8012,8 +8016,8 @@ class SchedulerComponent {
|
|
|
8012
8016
|
/**
|
|
8013
8017
|
* Sets the array of event instances shown by the Scheduler.
|
|
8014
8018
|
*
|
|
8015
|
-
* Provide an array of [`SchedulerEvent`](
|
|
8016
|
-
* To bind data from custom object schemas, configure the [`modelFields`](
|
|
8019
|
+
* Provide an array of [`SchedulerEvent`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerevent) objects to display events in the Scheduler.
|
|
8020
|
+
* To bind data from custom object schemas, configure the [`modelFields`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#modelfields) property to map your custom fields to the Scheduler event fields.
|
|
8017
8021
|
*/
|
|
8018
8022
|
set events(value) {
|
|
8019
8023
|
this._events = value;
|
|
@@ -8036,9 +8040,9 @@ class SchedulerComponent {
|
|
|
8036
8040
|
return this._selectedDate;
|
|
8037
8041
|
}
|
|
8038
8042
|
/**
|
|
8039
|
-
* Sets the names of the model fields from which the Scheduler reads its data ([see example])(
|
|
8043
|
+
* Sets the names of the model fields from which the Scheduler reads its data ([see example])(https://www.telerik.com/kendo-angular-ui/components/scheduler/data-binding#binding-to-custom-object-schemas).
|
|
8040
8044
|
*
|
|
8041
|
-
* Use `modelFields` when you want to bind custom event objects with property names that differ from the default [`SchedulerEvent`](
|
|
8045
|
+
* Use `modelFields` when you want to bind custom event objects with property names that differ from the default [`SchedulerEvent`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerevent) fields. This lets you map your data to the Scheduler's expected fields.
|
|
8042
8046
|
*/
|
|
8043
8047
|
set modelFields(value) {
|
|
8044
8048
|
this._modelFields = { ...defaultModelFields, ...value };
|
|
@@ -8115,7 +8119,7 @@ class SchedulerComponent {
|
|
|
8115
8119
|
*/
|
|
8116
8120
|
slotDblClick = new EventEmitter();
|
|
8117
8121
|
/**
|
|
8118
|
-
* Emits when the user creates a new event using the `'c'` key ([see example](
|
|
8122
|
+
* Emits when the user creates a new event using the `'c'` key ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/keyboard-navigation)).
|
|
8119
8123
|
*/
|
|
8120
8124
|
create = new EventEmitter();
|
|
8121
8125
|
/**
|
|
@@ -8634,7 +8638,7 @@ class SchedulerComponent {
|
|
|
8634
8638
|
/**
|
|
8635
8639
|
* Focuses the next event or an event at a specified relative position.
|
|
8636
8640
|
* The `options` parameter can be used to set a positive or negative offset
|
|
8637
|
-
* that is relative to the currently focused event ([see example](
|
|
8641
|
+
* that is relative to the currently focused event ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/keyboard-navigation#event-navigation-with-the-tab-key)).
|
|
8638
8642
|
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
8639
8643
|
*
|
|
8640
8644
|
* @param position The relative position of the event to focus.
|
|
@@ -8648,7 +8652,7 @@ class SchedulerComponent {
|
|
|
8648
8652
|
/**
|
|
8649
8653
|
* Focuses the previous event or an event at a specified relative position.
|
|
8650
8654
|
* The `options` parameter can be used to set a positive or negative offset
|
|
8651
|
-
* that is relative to the currently focused event ([see example](
|
|
8655
|
+
* that is relative to the currently focused event ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/keyboard-navigation#event-navigation-with-the-tab-key)).
|
|
8652
8656
|
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
8653
8657
|
*
|
|
8654
8658
|
* @param position The relative position of the event to focus.
|
|
@@ -9790,7 +9794,7 @@ const occurrences = (item, fields, range, timezone, weekStart) => {
|
|
|
9790
9794
|
return [item, ...expanded];
|
|
9791
9795
|
};
|
|
9792
9796
|
/**
|
|
9793
|
-
* A directive that processes Scheduler events in memory ([see example](
|
|
9797
|
+
* A directive that processes Scheduler events in memory ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/data-binding#automatic-data-processing)).
|
|
9794
9798
|
*
|
|
9795
9799
|
* Processing includes expanding of recurring events and filtering data for
|
|
9796
9800
|
* the currently active period.
|
|
@@ -9946,9 +9950,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
9946
9950
|
/**
|
|
9947
9951
|
* Represents the `export-to-PDF` command for the Scheduler.
|
|
9948
9952
|
*
|
|
9949
|
-
* You can apply this directive to any `button` element inside a [`ToolbarTemplate`](
|
|
9950
|
-
* When a user clicks a button associated with this directive, the [`pdfExport`](
|
|
9951
|
-
* ([see example](
|
|
9953
|
+
* You can apply this directive to any `button` element inside a [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar).
|
|
9954
|
+
* When a user clicks a button associated with this directive, the [`pdfExport`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#pdfexport) event fires
|
|
9955
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/pdf-export)).
|
|
9952
9956
|
*
|
|
9953
9957
|
* @example
|
|
9954
9958
|
* ```html
|
|
@@ -10036,7 +10040,7 @@ const createElement = (tagName, className) => {
|
|
|
10036
10040
|
const createDiv = (className) => createElement('div', className);
|
|
10037
10041
|
/**
|
|
10038
10042
|
* Configures the settings for exporting the Scheduler to PDF
|
|
10039
|
-
* ([see example](
|
|
10043
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/pdf-export)).
|
|
10040
10044
|
*
|
|
10041
10045
|
* @example
|
|
10042
10046
|
* ```html
|
|
@@ -10464,7 +10468,7 @@ class ConfigurationViewBase extends SchedulerView {
|
|
|
10464
10468
|
}
|
|
10465
10469
|
/**
|
|
10466
10470
|
* Defines a function that is executed for every slot in the view.
|
|
10467
|
-
* The function returns a value which is supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']) [see example](
|
|
10471
|
+
* The function returns a value which is supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']) [see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/styling#slot-styling).
|
|
10468
10472
|
*/
|
|
10469
10473
|
slotClass;
|
|
10470
10474
|
/**
|
|
@@ -11779,14 +11783,14 @@ class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
11779
11783
|
/**
|
|
11780
11784
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
11781
11785
|
* Defaults to `'{0:D} - {1:D}'`, where `0` is the start and `1` is the end date.
|
|
11782
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
11786
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
11783
11787
|
* @default '{0:D} - {1:D}'
|
|
11784
11788
|
*/
|
|
11785
11789
|
selectedDateFormat = '{0:D} - {1:D}';
|
|
11786
11790
|
/**
|
|
11787
11791
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
11788
11792
|
* Defaults to `'{0:d} - {1:d}'`, where `0` is the start and `1` is the end date.
|
|
11789
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
11793
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
11790
11794
|
* @default '{0:d} - {1:d}'
|
|
11791
11795
|
*/
|
|
11792
11796
|
selectedShortDateFormat = '{0:d} - {1:d}';
|
|
@@ -15010,7 +15014,7 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
15010
15014
|
}
|
|
15011
15015
|
/**
|
|
15012
15016
|
* Sets the number of events to render per day. If set to `'auto'`, all events display in the slot. If set to `0`, it normalizes to `1`
|
|
15013
|
-
* ([see example](
|
|
15017
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/month#setting-the-number-of-events-per-day)).
|
|
15014
15018
|
* > When set to `'auto'`, it automatically sets the `adaptiveSlotHeight` property to `true`.
|
|
15015
15019
|
* @default 2
|
|
15016
15020
|
*/
|
|
@@ -15023,25 +15027,25 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
15023
15027
|
_eventsPerDay;
|
|
15024
15028
|
/**
|
|
15025
15029
|
* Sets the height of the rendered events. If set to `'auto'`, the height is based on the event content
|
|
15026
|
-
* ([see example](
|
|
15030
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/month#configuring-the-height-of-the-scheduler-events)).
|
|
15027
15031
|
* > When set to `'auto'`, it automatically sets the `adaptiveSlotHeight` property to `true`.
|
|
15028
15032
|
*/
|
|
15029
15033
|
eventHeight;
|
|
15030
15034
|
/**
|
|
15031
15035
|
* Enables adaptive slot height in the Scheduler. Increases the slot group (row) height when containing events up to the number of displayed events and reduces its height if there are fewer events for that slot group (row)
|
|
15032
|
-
* ([see example](
|
|
15036
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/month#enabling-the-adaptive-slot-height-of-the-scheduler)).
|
|
15033
15037
|
* @default false
|
|
15034
15038
|
*/
|
|
15035
15039
|
adaptiveSlotHeight;
|
|
15036
15040
|
/**
|
|
15037
15041
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
15038
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
15042
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
15039
15043
|
* @default '{0:Y}'
|
|
15040
15044
|
*/
|
|
15041
15045
|
selectedDateFormat = '{0:Y}';
|
|
15042
15046
|
/**
|
|
15043
15047
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
15044
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
15048
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
15045
15049
|
* @default '{0:y}'
|
|
15046
15050
|
*/
|
|
15047
15051
|
selectedShortDateFormat = '{0:y}';
|
|
@@ -15193,13 +15197,13 @@ class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
|
15193
15197
|
}
|
|
15194
15198
|
/**
|
|
15195
15199
|
* Sets the height of the rendered events. If set to `'auto'`, the height is based on the event content
|
|
15196
|
-
* ([see example](
|
|
15200
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/multi-week#configuring-the-height-of-the-scheduler-events)).
|
|
15197
15201
|
* > When set to `'auto'`, it automatically sets the `adaptiveSlotHeight` property to `true`.
|
|
15198
15202
|
*/
|
|
15199
15203
|
eventHeight;
|
|
15200
15204
|
/**
|
|
15201
15205
|
* Sets the number of events to render per day. If set to `'auto'`, all events display in the slot. If set to `0`, it normalizes to `1`
|
|
15202
|
-
* ([see example](
|
|
15206
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/multi-week#setting-the-number-of-events-per-day)).
|
|
15203
15207
|
* > When set to `'auto'`, it automatically sets the `adaptiveSlotHeight` property to `true`.
|
|
15204
15208
|
* @default 2
|
|
15205
15209
|
*/
|
|
@@ -15212,7 +15216,7 @@ class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
|
15212
15216
|
_eventsPerDay;
|
|
15213
15217
|
/**
|
|
15214
15218
|
* Enables adaptive slot height. Increases the slot group (row) height when containing events up to the number of displayed events and reduces its height if there are fewer events for that slot group (row)
|
|
15215
|
-
* ([see example](
|
|
15219
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/multi-week#enabling-the-adaptive-slot-height-of-the-scheduler)).
|
|
15216
15220
|
* @default false
|
|
15217
15221
|
*/
|
|
15218
15222
|
adaptiveSlotHeight;
|
|
@@ -15223,13 +15227,13 @@ class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
|
15223
15227
|
numberOfWeeks = WEEKS_COUNT;
|
|
15224
15228
|
/**
|
|
15225
15229
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
15226
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
15230
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
15227
15231
|
* @default '{0:D} - {1:D}'
|
|
15228
15232
|
*/
|
|
15229
15233
|
selectedDateFormat = '{0:D} - {1:D}';
|
|
15230
15234
|
/**
|
|
15231
15235
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
15232
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
15236
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
15233
15237
|
* @default '{0:d} - {1:d}'
|
|
15234
15238
|
*/
|
|
15235
15239
|
selectedShortDateFormat = '{0:d} - {1:d}';
|
|
@@ -15652,7 +15656,7 @@ class ViewFooterComponent {
|
|
|
15652
15656
|
this.itemClick.emit(item);
|
|
15653
15657
|
}
|
|
15654
15658
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ViewFooterComponent, deps: [{ token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15655
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ViewFooterComponent, isStandalone: true, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "
|
|
15659
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ViewFooterComponent, isStandalone: true, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "attr.role": "this.toolbarRole", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
15656
15660
|
<span class="k-scheduler-navigation">
|
|
15657
15661
|
@for (item of items; track item) {
|
|
15658
15662
|
<button
|
|
@@ -15701,12 +15705,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
15701
15705
|
}, {
|
|
15702
15706
|
type: HostBinding,
|
|
15703
15707
|
args: ['class.k-toolbar']
|
|
15704
|
-
}, {
|
|
15705
|
-
type: HostBinding,
|
|
15706
|
-
args: ['class.k-toolbar-solid']
|
|
15707
|
-
}, {
|
|
15708
|
-
type: HostBinding,
|
|
15709
|
-
args: ['class.k-toolbar-md']
|
|
15710
15708
|
}], toolbarRole: [{
|
|
15711
15709
|
type: HostBinding,
|
|
15712
15710
|
args: ['attr.role']
|
|
@@ -18187,7 +18185,7 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
18187
18185
|
}
|
|
18188
18186
|
/**
|
|
18189
18187
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
18190
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
18188
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
18191
18189
|
* @default '{0:D}'
|
|
18192
18190
|
*/
|
|
18193
18191
|
set selectedDateFormat(value) {
|
|
@@ -18198,7 +18196,7 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
18198
18196
|
}
|
|
18199
18197
|
/**
|
|
18200
18198
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
18201
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
18199
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
18202
18200
|
* @default '{0:d}'
|
|
18203
18201
|
*/
|
|
18204
18202
|
set selectedShortDateFormat(value) {
|
|
@@ -18350,7 +18348,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
18350
18348
|
class MultiDayViewComponent extends DayViewComponent {
|
|
18351
18349
|
/**
|
|
18352
18350
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
18353
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
18351
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
18354
18352
|
* The default value is `'{0:D} - {1:D}'` for multiple days and `'{0:D}'` for a single day.
|
|
18355
18353
|
* @default '{0:D} - {1:D}'
|
|
18356
18354
|
*/
|
|
@@ -18362,7 +18360,7 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
18362
18360
|
}
|
|
18363
18361
|
/**
|
|
18364
18362
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
18365
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
18363
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
18366
18364
|
* The default value is `'{0:d} - {1:d}'` for multiple days and `'{0:d}'` for a single day.
|
|
18367
18365
|
* @default '{0:d} - {1:d}'
|
|
18368
18366
|
*/
|
|
@@ -18539,14 +18537,14 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
18539
18537
|
/**
|
|
18540
18538
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
18541
18539
|
* Defaults to `'{0:D} - {1:D}'`, where `0` is the start and `1` is the end date.
|
|
18542
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
18540
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
18543
18541
|
* @default '{0:D} - {1:D}'
|
|
18544
18542
|
*/
|
|
18545
18543
|
selectedDateFormat = '{0:D} - {1:D}';
|
|
18546
18544
|
/**
|
|
18547
18545
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
18548
18546
|
* Defaults to `'{0:d} - {1:d}'`, where `0` is the start and `1` is the end date.
|
|
18549
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
18547
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
18550
18548
|
* @default '{0:d} - {1:d}'
|
|
18551
18549
|
*/
|
|
18552
18550
|
selectedShortDateFormat = '{0:d} - {1:d}';
|
|
@@ -19560,7 +19558,7 @@ class TimelineMonthViewComponent extends TimelineBase {
|
|
|
19560
19558
|
}
|
|
19561
19559
|
/**
|
|
19562
19560
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
19563
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
19561
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
19564
19562
|
* If `numberOfMonths` is greater than 1, the default format displays a range: `'{0:Y} - {1:Y}'`, where `0` is the start and `1` is the end date.
|
|
19565
19563
|
* @default '{0:Y}'
|
|
19566
19564
|
*/
|
|
@@ -19576,7 +19574,7 @@ class TimelineMonthViewComponent extends TimelineBase {
|
|
|
19576
19574
|
_selectedDateFormat;
|
|
19577
19575
|
/**
|
|
19578
19576
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
19579
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
19577
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
19580
19578
|
* If `numberOfMonths` is greater than 1, the default format displays a range: `'{0:y} - {1:y}'`, where `0` is the start and `1` is the end date.
|
|
19581
19579
|
* @default '{0:y}'
|
|
19582
19580
|
*/
|
|
@@ -19754,7 +19752,7 @@ class TimelineViewComponent extends TimelineBase {
|
|
|
19754
19752
|
}
|
|
19755
19753
|
/**
|
|
19756
19754
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
19757
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
19755
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
19758
19756
|
* If `numberOfDays` is greater than 1, the default format displays a range: `'{0:D} - {1:D}'`, where `0` is the start and `1` is the end date.
|
|
19759
19757
|
* @default '{0:D}'
|
|
19760
19758
|
*/
|
|
@@ -19770,7 +19768,7 @@ class TimelineViewComponent extends TimelineBase {
|
|
|
19770
19768
|
_selectedDateFormat;
|
|
19771
19769
|
/**
|
|
19772
19770
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
19773
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
19771
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
19774
19772
|
* If `numberOfDays` is greater than 1, the default format displays a range: `'{0:d} - {1:d}'`, where `0` is the start and `1` is the end date.
|
|
19775
19773
|
* @default '{0:d}'
|
|
19776
19774
|
*/
|
|
@@ -19928,14 +19926,14 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
19928
19926
|
/**
|
|
19929
19927
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
19930
19928
|
* Defaults to `'{0:D} - {1:D}'`, where `0` is the start and `1` is the end date.
|
|
19931
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
19929
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
19932
19930
|
* @default '{0:D} - {1:D}'
|
|
19933
19931
|
*/
|
|
19934
19932
|
selectedDateFormat = '{0:D} - {1:D}';
|
|
19935
19933
|
/**
|
|
19936
19934
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
19937
19935
|
* Defaults to `'{0:d} - {1:d}'`, where `0` is the start and `1` is the end date.
|
|
19938
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
19936
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
19939
19937
|
* @default '{0:d} - {1:d}'
|
|
19940
19938
|
*/
|
|
19941
19939
|
selectedShortDateFormat = '{0:d} - {1:d}';
|
|
@@ -20578,13 +20576,13 @@ class YearViewComponent extends ConfigurationViewBase {
|
|
|
20578
20576
|
intl;
|
|
20579
20577
|
/**
|
|
20580
20578
|
* Sets the long-date format for the selected year in the Scheduler toolbar.
|
|
20581
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
20579
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
20582
20580
|
* @default '{0:yyy}'
|
|
20583
20581
|
*/
|
|
20584
20582
|
selectedDateFormat = '{0:yyy}';
|
|
20585
20583
|
/**
|
|
20586
20584
|
* Sets the short-date format for the selected year in the Scheduler toolbar.
|
|
20587
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
20585
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
20588
20586
|
* @default '{0:yyy}'
|
|
20589
20587
|
*/
|
|
20590
20588
|
selectedShortDateFormat = '{0:yyy}';
|
|
@@ -21124,7 +21122,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
21124
21122
|
}] } });
|
|
21125
21123
|
|
|
21126
21124
|
/**
|
|
21127
|
-
* A directive that encapsulates editing operations for the Scheduler using [Angular Reactive Forms](link:site.data.urls.angular['reactiveforms']) ([see example](
|
|
21125
|
+
* A directive that encapsulates editing operations for the Scheduler using [Angular Reactive Forms](link:site.data.urls.angular['reactiveforms']) ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing)).
|
|
21128
21126
|
*
|
|
21129
21127
|
* Handles event editing, saving, and form validation logic for the Scheduler component.
|
|
21130
21128
|
* Provides integration with custom form group creation and supports recurring event editing scenarios.
|
|
@@ -21678,16 +21676,16 @@ const DATE_FORMATS = [
|
|
|
21678
21676
|
"yyyyMMdd"
|
|
21679
21677
|
];
|
|
21680
21678
|
/**
|
|
21681
|
-
* Represents a base implementation of the [edit service](
|
|
21679
|
+
* Represents a base implementation of the [edit service](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/editservice) that persists data to CRUD services such as OData.
|
|
21682
21680
|
*
|
|
21683
|
-
* To use custom models, pass a [field map](
|
|
21681
|
+
* To use custom models, pass a [field map](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulermodelfields) as a constructor parameter in the `BaseEditService` implementation. Subclasses must implement the `read` operation (that is not called directly by the base class) and the `save` method to persist created, updated, and deleted entities.
|
|
21684
21682
|
*
|
|
21685
|
-
* The [`events`](#
|
|
21683
|
+
* The [`events`](#events) observable publishes the current data when you subscribe, for example, by using an [async pipe](https://angular.io/api/common/AsyncPipe) ([more information](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing#connecting-custom-data-services)).
|
|
21686
21684
|
*
|
|
21687
21685
|
* Implementations that utilize dedicated services, such as Google Calendar and Microsoft Exchange, typically implement the
|
|
21688
|
-
* [`EditService`](
|
|
21686
|
+
* [`EditService`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/editservice) of the Scheduler directly.
|
|
21689
21687
|
*
|
|
21690
|
-
* See example in [this article](
|
|
21688
|
+
* See example in [this article](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing/custom-reactive-editing).
|
|
21691
21689
|
*/
|
|
21692
21690
|
class BaseEditService {
|
|
21693
21691
|
/**
|
|
@@ -21721,7 +21719,7 @@ class BaseEditService {
|
|
|
21721
21719
|
/**
|
|
21722
21720
|
* Initializes the base edit service.
|
|
21723
21721
|
*
|
|
21724
|
-
* @param fields - A field map that will be used for reading and modifying model objects. Defaults to the [`SchedulerEvent`](
|
|
21722
|
+
* @param fields - A field map that will be used for reading and modifying model objects. Defaults to the [`SchedulerEvent`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerevent) fields.
|
|
21725
21723
|
*/
|
|
21726
21724
|
constructor(fields) {
|
|
21727
21725
|
this.events = this.source.asObservable();
|
|
@@ -21836,7 +21834,7 @@ class BaseEditService {
|
|
|
21836
21834
|
}
|
|
21837
21835
|
/**
|
|
21838
21836
|
* Clones an existing model object.
|
|
21839
|
-
* To copy the top-level model fields, the base creates an empty object and calls [`assignValues`](#
|
|
21837
|
+
* To copy the top-level model fields, the base creates an empty object and calls [`assignValues`](#assignvalues).
|
|
21840
21838
|
* To create models of the correct type, override `cloneEvent`.
|
|
21841
21839
|
*
|
|
21842
21840
|
* @param event - The model instance to copy.
|