@progress/kendo-angular-scheduler 13.4.1-develop.3 → 13.5.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.
Files changed (50) hide show
  1. package/editing/recurrence/recurrence-editor.component.d.ts +1 -0
  2. package/editing/timezone-editor.component.d.ts +1 -0
  3. package/editing-directives/edit-service.interface.d.ts +1 -2
  4. package/esm2020/editing/recurrence/recurrence-editor.component.mjs +1 -0
  5. package/esm2020/editing/timezone-editor.component.mjs +1 -0
  6. package/esm2020/package-metadata.mjs +2 -2
  7. package/esm2020/pdf/pdf.component.mjs +1 -1
  8. package/esm2020/scheduler.component.mjs +32 -43
  9. package/esm2020/scheduler.module.mjs +5 -2
  10. package/esm2020/toolbar/navigation.component.mjs +0 -8
  11. package/esm2020/toolbar/view-selector.component.mjs +0 -8
  12. package/esm2020/types/crud-operation.enum.mjs +6 -4
  13. package/esm2020/types/edit-mode.enum.mjs +9 -5
  14. package/esm2020/views/agenda/agenda-view.component.mjs +3 -1
  15. package/esm2020/views/month/month-view.component.mjs +4 -3
  16. package/esm2020/views/month/multi-week-view.component.mjs +3 -3
  17. package/esm2020/views/multi-day/day-view.component.mjs +4 -3
  18. package/esm2020/views/multi-day/multi-day-view.component.mjs +5 -2
  19. package/esm2020/views/multi-day/week-view.component.mjs +4 -1
  20. package/esm2020/views/multi-day/work-week-view.component.mjs +2 -1
  21. package/esm2020/views/timeline/timeline-month-view.component.mjs +4 -3
  22. package/esm2020/views/timeline/timeline-view.component.mjs +4 -3
  23. package/esm2020/views/timeline/timeline-week-view.component.mjs +4 -1
  24. package/fesm2015/progress-kendo-angular-scheduler.mjs +93 -93
  25. package/fesm2020/progress-kendo-angular-scheduler.mjs +93 -93
  26. package/localization/messages.d.ts +1 -1
  27. package/package.json +12 -12
  28. package/pdf/pdf.component.d.ts +5 -12
  29. package/scheduler.component.d.ts +24 -149
  30. package/scheduler.module.d.ts +1 -1
  31. package/schematics/ngAdd/index.js +2 -2
  32. package/toolbar/navigation.component.d.ts +0 -8
  33. package/toolbar/view-selector.component.d.ts +0 -8
  34. package/types/crud-operation.enum.d.ts +6 -4
  35. package/types/datepicker-options.interface.d.ts +26 -27
  36. package/types/edit-mode.enum.d.ts +9 -5
  37. package/types/editable-settings.interface.d.ts +2 -2
  38. package/types/view-item.interface.d.ts +12 -0
  39. package/views/agenda/agenda-view.component.d.ts +3 -1
  40. package/views/day-time/day-time-view-base.d.ts +1 -0
  41. package/views/month/month-view.component.d.ts +4 -3
  42. package/views/month/multi-week-view.component.d.ts +3 -3
  43. package/views/multi-day/day-view.component.d.ts +4 -3
  44. package/views/multi-day/multi-day-view-base.d.ts +1 -1
  45. package/views/multi-day/multi-day-view.component.d.ts +5 -2
  46. package/views/multi-day/week-view.component.d.ts +4 -1
  47. package/views/multi-day/work-week-view.component.d.ts +2 -1
  48. package/views/timeline/timeline-month-view.component.d.ts +4 -3
  49. package/views/timeline/timeline-view.component.d.ts +4 -3
  50. package/views/timeline/timeline-week-view.component.d.ts +4 -1
@@ -7,7 +7,7 @@ import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode
7
7
  import * as i1$1 from '@progress/kendo-angular-l10n';
8
8
  import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
9
9
  import * as i7 from '@progress/kendo-angular-common';
10
- import { hasObservers, isDocumentAvailable, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, anyChanged, ResizeSensorComponent, EventsModule, ResizeSensorModule, guid } from '@progress/kendo-angular-common';
10
+ import { hasObservers, isDocumentAvailable, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, shouldShowValidationUI, anyChanged, ResizeSensorComponent, EventsModule, ResizeSensorModule, guid, WatermarkModule } from '@progress/kendo-angular-common';
11
11
  import { isEqualDate, timezoneNames, ZonedDate, toLocalDate, getDate, Day, MS_PER_DAY, addDays, firstDayOfMonth, firstDayInWeek, addMonths, addWeeks } from '@progress/kendo-date-math';
12
12
  import { auditTime, buffer, filter, map, debounceTime, take, switchMap, tap, distinctUntilChanged } from 'rxjs/operators';
13
13
  import { validatePackage } from '@progress/kendo-licensing';
@@ -48,8 +48,8 @@ const packageMetadata = {
48
48
  name: '@progress/kendo-angular-scheduler',
49
49
  productName: 'Kendo UI for Angular',
50
50
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
51
- publishDate: 1693395130,
52
- version: '13.4.1-develop.3',
51
+ publishDate: 1694187135,
52
+ version: '13.5.0-develop.1',
53
53
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
54
54
  };
55
55
 
@@ -436,29 +436,35 @@ class SchedulerView {
436
436
  /**
437
437
  * The selected edit mode during the update or removal of events.
438
438
  * For non-recurring events, set to `Event`.
439
- *
440
- * The supported values are:
441
- * * `Event`—Edits the selected event.
442
- * * `Occurrence`—Edits the selected occurrence.
443
- * * `Series`—Edits all events in the series.
444
439
  */
445
440
  var EditMode;
446
441
  (function (EditMode) {
442
+ /**
443
+ * Edits the selected event.
444
+ */
447
445
  EditMode[EditMode["Event"] = 0] = "Event";
446
+ /**
447
+ * Edits the selected occurrence.
448
+ */
448
449
  EditMode[EditMode["Occurrence"] = 1] = "Occurrence";
450
+ /**
451
+ * Edits all events in the series.
452
+ */
449
453
  EditMode[EditMode["Series"] = 2] = "Series";
450
454
  })(EditMode || (EditMode = {}));
451
455
 
452
456
  /**
453
457
  * The selected CRUD operation when the user edits or removes recurring events.
454
- *
455
- * The supported values are:
456
- * * `Edit`
457
- * * `Remove`
458
458
  */
459
459
  var CrudOperation;
460
460
  (function (CrudOperation) {
461
+ /**
462
+ * The user edits the selected recurring event.
463
+ */
461
464
  CrudOperation[CrudOperation["Edit"] = 0] = "Edit";
465
+ /**
466
+ * The user removes the selected recurring event.
467
+ */
462
468
  CrudOperation[CrudOperation["Remove"] = 1] = "Remove";
463
469
  })(CrudOperation || (CrudOperation = {}));
464
470
 
@@ -2244,14 +2250,6 @@ const iconsMap = { caretAltLeftIcon, caretAltRightIcon, calendarIcon };
2244
2250
  * To render the **Previous**, **Today**, **Next**, and **Date picker**
2245
2251
  * buttons, include the component in the
2246
2252
  * [toolbar template]({% slug api_scheduler_toolbartemplatedirective %}).
2247
- *
2248
- * {% meta height:700 %}
2249
- * {% embed_file toolbar/template/app.component.ts preview %}
2250
- * {% embed_file toolbar/template/my-navigation.component.ts %}
2251
- * {% embed_file toolbar/template/app.module.ts %}
2252
- * {% embed_file shared/events-utc.ts %}
2253
- * {% embed_file shared/main.ts %}
2254
- * {% endmeta %}
2255
2253
  */
2256
2254
  class ToolbarNavigationComponent {
2257
2255
  constructor(popupService, toolbarService, localization, cd, viewContext) {
@@ -2574,14 +2572,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2574
2572
  *
2575
2573
  * To render the view-selection buttons, include the component in the
2576
2574
  * [toolbar template]({% slug api_scheduler_toolbartemplatedirective %}).
2577
- *
2578
- * {% meta height:700 %}
2579
- * {% embed_file toolbar/template/app.component.ts preview %}
2580
- * {% embed_file toolbar/template/my-navigation.component.ts %}
2581
- * {% embed_file toolbar/template/app.module.ts %}
2582
- * {% embed_file shared/events-utc.ts %}
2583
- * {% embed_file shared/main.ts %}
2584
- * {% endmeta %}
2585
2575
  */
2586
2576
  class ToolbarViewSelectorComponent {
2587
2577
  constructor(service, localization) {
@@ -3184,6 +3174,7 @@ class TimeZoneEditorComponent {
3184
3174
  constructor() {
3185
3175
  /**
3186
3176
  * Specifies the width of the ComboBox which contains the names of the timezones.
3177
+ * @default 260
3187
3178
  */
3188
3179
  this.width = 260;
3189
3180
  /**
@@ -4847,6 +4838,7 @@ class RecurrenceEditorComponent {
4847
4838
  this.cssClass = true;
4848
4839
  /**
4849
4840
  * Specifies the id of the timezone that will be used.
4841
+ * @default 'Etc/UTC'
4850
4842
  */
4851
4843
  this.timezone = 'Etc/UTC';
4852
4844
  /**
@@ -6029,22 +6021,6 @@ const todayDate = () => getDate(new Date());
6029
6021
  const DAYS_IN_WEEK$1 = 7;
6030
6022
  /**
6031
6023
  * Represents the [Kendo UI Scheduler component for Angular]({% slug overview_scheduler %}).
6032
- *
6033
- * @example
6034
- * ```ts-preview
6035
- * _@Component({
6036
- * selector: 'my-app',
6037
- * template: `
6038
- * <kendo-scheduler style="height: 600px">
6039
- * <kendo-scheduler-day-view>
6040
- * </kendo-scheduler-day-view>
6041
- * <kendo-scheduler-week-view>
6042
- * </kendo-scheduler-week-view>
6043
- * </kendo-scheduler>
6044
- * `
6045
- * })
6046
- * class AppComponent {}
6047
- * ```
6048
6024
  */
6049
6025
  class SchedulerComponent {
6050
6026
  constructor(wrapper, viewContext, viewState, editService, dialogsService, intlService, changeDetector, zone, pdfService, localization, domEvents, renderer, focusService) {
@@ -6076,62 +6052,74 @@ class SchedulerComponent {
6076
6052
  this.selectable = false;
6077
6053
  /**
6078
6054
  * The height of the events in the **Month** and **Timeline** views, and the height of the **All day** events in the **Day** and **Week** views.
6055
+ * @default 25
6079
6056
  */
6080
6057
  this.eventHeight = 25;
6081
6058
  /**
6082
6059
  * Specifies the columns width. Applicable for the **Timeline** views.
6060
+ * @default 100
6083
6061
  */
6084
6062
  this.columnWidth = 100;
6085
6063
  /**
6086
6064
  * The start time of the view. The Scheduler displays events which start after the start time.
6087
6065
  * Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
6066
+ * @default '00:00'
6088
6067
  */
6089
6068
  this.startTime = '00:00';
6090
6069
  /**
6091
6070
  * The end time of the view. The Scheduler displays events which end before the end time.
6092
6071
  * Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
6072
+ * @default '00:00'
6093
6073
  */
6094
6074
  this.endTime = '00:00';
6095
6075
  /**
6096
6076
  * The start time of the view when `showWorkHours` is set to `true`.
6097
6077
  * Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
6078
+ * @default '08:00'
6098
6079
  */
6099
6080
  this.workDayStart = '08:00';
6100
6081
  /**
6101
6082
  * The end time of the view when `showWorkHours` is set to `true`.
6102
6083
  * Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
6084
+ * @default '17:00'
6103
6085
  */
6104
6086
  this.workDayEnd = '17:00';
6105
6087
  /**
6106
6088
  * The duration (in minutes) of the time slots. Applicable for the day, week and timeline views.
6089
+ * @default 60
6107
6090
  */
6108
6091
  this.slotDuration = 60;
6109
6092
  /**
6110
6093
  * The number of divisions of the time slots. Applicable for the **Day**, **Week**, and **Timeline** views.
6094
+ * @default 2
6111
6095
  */
6112
6096
  this.slotDivisions = 2;
6113
6097
  /**
6114
6098
  * A numeric value between 0 and 1 that specifies what percentage of the slot will be filled by the events.
6115
6099
  * Applicable for the **Day** and **Week** views.
6116
- * Defaults to `0.9` (90% fill).
6100
+ * @default 0.9
6117
6101
  */
6118
6102
  this.slotFill = 0.9;
6119
6103
  /**
6120
6104
  * The time to which the view will initially be scrolled.
6121
6105
  * Accepts string values in the `HH:mm` format or a JavaScript `Date`. Applicable for the **Day**, **Week**, and **Timeline** views.
6106
+ * @default '08:00'
6122
6107
  */
6123
6108
  this.scrollTime = this.workDayStart;
6124
6109
  /**
6125
6110
  * Specifies the Scheduler current time marker settings.
6111
+ * @default true
6126
6112
  */
6127
6113
  this.currentTimeMarker = true;
6128
6114
  /**
6129
6115
  * Specifies the settings for the ongoing events highlight of the Scheduler.
6116
+ * @default true
6130
6117
  */
6131
6118
  this.highlightOngoingEvents = true;
6132
6119
  /**
6133
6120
  * A callback that executes for each slot of the Scheduler view.
6134
6121
  * If it returns `true`, the `k-selected` CSS class will be added to the cell, making it visibly selected.
6122
+ * @default () => false
6135
6123
  */
6136
6124
  this.isSlotSelected = alwaysFalse;
6137
6125
  /**
@@ -6240,10 +6228,15 @@ class SchedulerComponent {
6240
6228
  * @hidden
6241
6229
  */
6242
6230
  this.removeConfirmed = new EventEmitter();
6231
+ /**
6232
+ * @hidden
6233
+ */
6234
+ this.showLicenseWatermark = false;
6243
6235
  this.viewIndex = 0;
6244
6236
  this._timezone = '';
6245
6237
  this._modelFields = defaultModelFields;
6246
- validatePackage(packageMetadata);
6238
+ const isValid = validatePackage(packageMetadata);
6239
+ this.showLicenseWatermark = shouldShowValidationUI(isValid);
6247
6240
  this.dateRangeStream = viewState.dateRange;
6248
6241
  this.selectedDateStream = viewContext.selectedDate;
6249
6242
  }
@@ -6279,7 +6272,7 @@ class SchedulerComponent {
6279
6272
  /**
6280
6273
  * Specifies the id of the timezone that will be displayed in the Scheduler.
6281
6274
  * For example, `Europe/Sofia`.
6282
- * Defaults to `Etc/UTC`.
6275
+ * @default 'Etc/UTC'
6283
6276
  */
6284
6277
  set timezone(value) {
6285
6278
  this._timezone = value;
@@ -6607,11 +6600,6 @@ class SchedulerComponent {
6607
6600
  * @param y - The y document position.
6608
6601
  *
6609
6602
  * @return {SchedulerSlot} - The slot.
6610
- *
6611
- * {% embed_file drag-and-drop/app.component.ts %}
6612
- * {% embed_file drag-and-drop/draggable.directive.ts %}
6613
- * {% embed_file drag-and-drop/app.module.ts %}
6614
- * {% embed_file shared/main.ts %}
6615
6603
  */
6616
6604
  slotByPosition(x, y) {
6617
6605
  return this.viewContext.executeMethod('slotByPosition', { x, y });
@@ -6638,17 +6626,9 @@ class SchedulerComponent {
6638
6626
  /**
6639
6627
  * Focuses the next event or an event at a specified relative position.
6640
6628
  * The `options` parameter can be used to set a positive or negative offset
6641
- * that is relative to the currently focused event.
6629
+ * that is relative to the currently focused event ([see example](slug:keyboard_navigation_scheduler#toc-event-navigation-with-the-tab-key)).
6642
6630
  * A `nowrap` flag toggles the wrapping to the first or to the last item.
6643
6631
  *
6644
- * @example
6645
- * ```ts-no-run
6646
- * scheduler.focusNext(); // Focuses the next event.
6647
- * scheduler.focusNext({ offset: 1 }); // Focuses the next event.
6648
- * scheduler.focusNext({ offset: -1 }); // Focuses the previous event.
6649
- * scheduler.focusNext({ nowrap: true }); // If the focus is on the last event, does not move the focus to the first event.
6650
- * ```
6651
- *
6652
6632
  * @param position The relative position of the event to focus.
6653
6633
  * @returns `true` if the focused event changed. Otherwise, returns `false`.
6654
6634
  */
@@ -6660,15 +6640,9 @@ class SchedulerComponent {
6660
6640
  /**
6661
6641
  * Focuses the previous event or an event at a specified relative position.
6662
6642
  * The `options` parameter can be used to set a positive or negative offset
6663
- * that is relative to the currently focused event.
6643
+ * that is relative to the currently focused event ([see example](slug:keyboard_navigation_scheduler#toc-event-navigation-with-the-tab-key)).
6664
6644
  * A `nowrap` flag toggles the wrapping to the first or to the last item.
6665
6645
  *
6666
- * @example
6667
- * ```ts-no-run
6668
- * scheduler.focusPrev(); // Focuses the previous event
6669
- * scheduler.focusPrev({ nowrap: true }); // Does not move the focus to the last event, if focus is on the first one.
6670
- * ```
6671
- *
6672
6646
  * @param position The relative position of the event to focus.
6673
6647
  * @returns `true` if the focused event changed. Otherwise, returns `false`.
6674
6648
  */
@@ -6855,7 +6829,7 @@ class SchedulerComponent {
6855
6829
  }
6856
6830
  }
6857
6831
  SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token: i1$4.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: DomEventsService }, { token: i0.Renderer2 }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
6858
- SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SchedulerComponent, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport", schedulerResize: "schedulerResize" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-scheduler": "this.hostClasses", "class.k-floatwrap": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
6832
+ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SchedulerComponent, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport", schedulerResize: "schedulerResize" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-scheduler": "this.hostClasses", "class.k-floatwrap": "this.hostClasses", "class.k-pos-relative": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
6859
6833
  EditService,
6860
6834
  DialogsService,
6861
6835
  DomEventsService,
@@ -7142,7 +7116,9 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
7142
7116
 
7143
7117
  <div [loading]="loading" kendoSchedulerLoading>
7144
7118
  </div>
7145
- `, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate", "toolbarWidthChange"] }, { type: EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7119
+
7120
+ <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
7121
+ `, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate", "toolbarWidthChange"] }, { type: EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }, { type: i7.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7146
7122
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SchedulerComponent, decorators: [{
7147
7123
  type: Component,
7148
7124
  args: [{
@@ -7436,6 +7412,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7436
7412
 
7437
7413
  <div [loading]="loading" kendoSchedulerLoading>
7438
7414
  </div>
7415
+
7416
+ <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
7439
7417
  `
7440
7418
  }]
7441
7419
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type: i1$4.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: DomEventsService }, { type: i0.Renderer2 }, { type: FocusService }]; }, propDecorators: { hostClasses: [{
@@ -7447,6 +7425,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7447
7425
  }, {
7448
7426
  type: HostBinding,
7449
7427
  args: ['class.k-floatwrap']
7428
+ }, {
7429
+ type: HostBinding,
7430
+ args: ['class.k-pos-relative']
7450
7431
  }], ariaRole: [{
7451
7432
  type: HostBinding,
7452
7433
  args: ['attr.role']
@@ -9031,15 +9012,17 @@ class AgendaViewComponent extends ConfigurationViewBase {
9031
9012
  * Defaults to `{0:d} - {1:d}`,
9032
9013
  * where `0` is the start and `1` is the end date
9033
9014
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
9015
+ * @default '{0:d} - {1:d}'
9034
9016
  */
9035
9017
  this.selectedShortDateFormat = '{0:d} - {1:d}';
9036
9018
  /**
9037
9019
  * Specifies the number of days that the view will render.
9038
- * Defaults to `7`.
9020
+ * @default 7
9039
9021
  */
9040
9022
  this.numberOfDays = 7;
9041
9023
  /**
9042
9024
  * The invariant name for this view (`agenda`).
9025
+ * @default 'agenda'
9043
9026
  */
9044
9027
  this.name = 'agenda';
9045
9028
  }
@@ -11746,19 +11729,20 @@ class MonthViewComponent extends ConfigurationViewBase {
11746
11729
  /**
11747
11730
  * The long-date format for displaying the
11748
11731
  * selected date in the Scheduler toolbar.
11749
- * Defaults to `{0:Y}`
11750
11732
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
11733
+ * @default '{0:Y}'
11751
11734
  */
11752
11735
  this.selectedDateFormat = '{0:Y}';
11753
11736
  /**
11754
11737
  * The short-date format for displaying the
11755
11738
  * selected date in the Scheduler toolbar.
11756
- * Defaults to `{0:y}`
11757
11739
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting.
11740
+ * @default '{0:y}'
11758
11741
  */
11759
11742
  this.selectedShortDateFormat = '{0:y}';
11760
11743
  /**
11761
- * The invariant name for this view (`month`).
11744
+ * The invariant name for this view.
11745
+ * @default 'month'
11762
11746
  */
11763
11747
  this.name = 'month';
11764
11748
  }
@@ -11863,21 +11847,21 @@ class MultiWeekViewComponent extends ConfigurationViewBase {
11863
11847
  this.intl = intl;
11864
11848
  /**
11865
11849
  * The number of weeks to be rendered.
11866
- * Defaults to `6`.
11850
+ * @default 6
11867
11851
  */
11868
11852
  this.numberOfWeeks = WEEKS_COUNT;
11869
11853
  /**
11870
11854
  * The long-date format for displaying the
11871
11855
  * selected date in the Scheduler toolbar.
11872
- * Defaults to `{0:D} - {1:D}`
11873
11856
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
11857
+ * @default '{0:D} - {1:D}'
11874
11858
  */
11875
11859
  this.selectedDateFormat = '{0:D} - {1:D}';
11876
11860
  /**
11877
11861
  * The short-date format for displaying the
11878
11862
  * selected date in the Scheduler toolbar.
11879
- * Defaults to `{0:d} - {1:d}`
11880
11863
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting.
11864
+ * @default '{0:d} - {1:d}'
11881
11865
  */
11882
11866
  this.selectedShortDateFormat = '{0:d} - {1:d}';
11883
11867
  /**
@@ -14422,7 +14406,8 @@ class DayViewComponent extends MultiDayViewBase {
14422
14406
  constructor(localization, changeDetector, viewContext, viewState) {
14423
14407
  super(localization, changeDetector, viewContext, viewState);
14424
14408
  /**
14425
- * The invariant name for this view (`day`).
14409
+ * The invariant name for this view.
14410
+ * @default 'day'
14426
14411
  */
14427
14412
  this.name = 'day';
14428
14413
  this._selectedDateFormat = '{0:D}';
@@ -14437,8 +14422,8 @@ class DayViewComponent extends MultiDayViewBase {
14437
14422
  /**
14438
14423
  * The long-date format for displaying the
14439
14424
  * selected date in the Scheduler toolbar.
14440
- * Defaults to `{0:D}`
14441
14425
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
14426
+ * @default '{0:D}'
14442
14427
  */
14443
14428
  set selectedDateFormat(value) {
14444
14429
  this._selectedDateFormat = value;
@@ -14450,8 +14435,8 @@ class DayViewComponent extends MultiDayViewBase {
14450
14435
  /**
14451
14436
  * The short-date format for displaying the
14452
14437
  * selected date in the Scheduler toolbar.
14453
- * Defaults to `{0:D}`
14454
14438
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
14439
+ * @default '{0:d}'
14455
14440
  */
14456
14441
  set selectedShortDateFormat(value) {
14457
14442
  this._selectedShortDateFormat = value;
@@ -14571,11 +14556,12 @@ class MultiDayViewComponent extends DayViewComponent {
14571
14556
  super(localization, changeDetector, viewContext, viewState);
14572
14557
  /**
14573
14558
  * Specifies the number of days that the view will render.
14574
- * Defaults to `1`.
14559
+ * @default 1
14575
14560
  */
14576
14561
  this.numberOfDays = 1;
14577
14562
  /**
14578
- * The invariant name for this view (`multi-day`).
14563
+ * The invariant name for this view.
14564
+ * @default 'multi-day'
14579
14565
  */
14580
14566
  this.name = 'multiDay';
14581
14567
  }
@@ -14584,6 +14570,7 @@ class MultiDayViewComponent extends DayViewComponent {
14584
14570
  * selected date in the Scheduler toolbar.
14585
14571
  * Defaults to `{0:D} - {1:D}` for multiple days and `{0:D}` for a single day
14586
14572
  * ([more information](slug:parsingandformatting_intl#toc-date-formatting)).
14573
+ * @default '{0:D} - {1:D}'
14587
14574
  */
14588
14575
  set selectedDateFormat(value) {
14589
14576
  this.dateFormat = value;
@@ -14596,6 +14583,7 @@ class MultiDayViewComponent extends DayViewComponent {
14596
14583
  * selected date in the Scheduler toolbar.
14597
14584
  * Defaults to `{0:d} - {1:d}` for multiple days and `{0:d}` for a single day
14598
14585
  * ([more information](slug:parsingandformatting_intl#toc-date-formatting)).
14586
+ * @default '{0:d} - {1:d}'
14599
14587
  */
14600
14588
  set selectedShortDateFormat(value) {
14601
14589
  this.shortDateFormat = value;
@@ -14725,6 +14713,7 @@ class WeekViewComponent extends MultiDayViewBase {
14725
14713
  * Defaults to `{0:D} - {1:D}`,
14726
14714
  * where `0` is the start and `1` is the end date
14727
14715
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting).
14716
+ * @default '{0:D} - {1:D}'
14728
14717
  */
14729
14718
  this.selectedDateFormat = '{0:D} - {1:D}';
14730
14719
  /**
@@ -14733,10 +14722,12 @@ class WeekViewComponent extends MultiDayViewBase {
14733
14722
  * Defaults to `{0:d} - {1:d}`,
14734
14723
  * where `0` is the start and `1` is the end date
14735
14724
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting).
14725
+ * @default '{0:d} - {1:d}'
14736
14726
  */
14737
14727
  this.selectedShortDateFormat = '{0:d} - {1:d}';
14738
14728
  /**
14739
- * The invariant name for this view (`week`).
14729
+ * The invariant name for this view.
14730
+ * @default 'week'
14740
14731
  */
14741
14732
  this.name = 'week';
14742
14733
  this.getStartDate = this.getStartDate.bind(this);
@@ -14870,7 +14861,8 @@ class WorkWeekViewComponent extends WeekViewComponent {
14870
14861
  constructor(intl, localization, changeDetector, viewContext, viewState) {
14871
14862
  super(intl, localization, changeDetector, viewContext, viewState);
14872
14863
  /**
14873
- * The invariant name for this view (`week`).
14864
+ * The invariant name for this view.
14865
+ * @default 'workWeek'
14874
14866
  */
14875
14867
  this.name = 'workWeek';
14876
14868
  this.getNextDate = this.getNextDate.bind(this);
@@ -15580,19 +15572,20 @@ class TimelineViewComponent extends TimelineBase {
15580
15572
  /**
15581
15573
  * The long-date format for displaying the
15582
15574
  * selected date in the Scheduler toolbar.
15583
- * Defaults to `{0:D}`
15584
15575
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
15576
+ * @default '{0:D}'
15585
15577
  */
15586
15578
  this.selectedDateFormat = '{0:D}';
15587
15579
  /**
15588
15580
  * The short-date format for displaying the
15589
15581
  * selected date in the Scheduler toolbar.
15590
- * Defaults to `{0:D}`
15591
15582
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
15583
+ * @default '{0:d}'
15592
15584
  */
15593
15585
  this.selectedShortDateFormat = '{0:d}';
15594
15586
  /**
15595
- * The invariant name for this view (`timeline`).
15587
+ * The invariant name for this view.
15588
+ * @default 'timeline'
15596
15589
  */
15597
15590
  this.name = 'timeline';
15598
15591
  }
@@ -15697,6 +15690,7 @@ class TimelineWeekViewComponent extends TimelineBase {
15697
15690
  * Defaults to `{0:D} - {1:D}`
15698
15691
  * where `0` is the start and `1` is the end date
15699
15692
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
15693
+ * @default '{0:D} - {1:D}'
15700
15694
  */
15701
15695
  this.selectedDateFormat = '{0:D} - {1:D}';
15702
15696
  /**
@@ -15705,10 +15699,12 @@ class TimelineWeekViewComponent extends TimelineBase {
15705
15699
  * Defaults to `{0:d} - {1:d}`
15706
15700
  * where `0` is the start and `1` is the end date
15707
15701
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
15702
+ * @default '{0:d} - {1:d}'
15708
15703
  */
15709
15704
  this.selectedShortDateFormat = '{0:d} - {1:d}';
15710
15705
  /**
15711
- * The invariant name for this view (`timelineWeek`).
15706
+ * The invariant name for this view.
15707
+ * @default 'timelineWeek'
15712
15708
  */
15713
15709
  this.name = 'timelineWeek';
15714
15710
  /**
@@ -15824,19 +15820,20 @@ class TimelineMonthViewComponent extends TimelineBase {
15824
15820
  /**
15825
15821
  * The long-date format for displaying the
15826
15822
  * selected date in the Scheduler toolbar.
15827
- * Defaults to `{0:Y}`
15828
15823
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
15824
+ * @default '{0:Y}'
15829
15825
  */
15830
15826
  this.selectedDateFormat = '{0:Y}';
15831
15827
  /**
15832
15828
  * The short-date format for displaying the
15833
15829
  * selected date in the Scheduler toolbar.
15834
- * Defaults to `{0:y}`
15835
15830
  * ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
15831
+ * @default '{0:y}'
15836
15832
  */
15837
15833
  this.selectedShortDateFormat = '{0:y}';
15838
15834
  /**
15839
- * The invariant name for this view (`timelineMonth`).
15835
+ * The invariant name for this view.
15836
+ * @default 'timelineMonth'
15840
15837
  */
15841
15838
  this.name = 'timelineMonth';
15842
15839
  /**
@@ -16898,7 +16895,8 @@ SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
16898
16895
  MultiDayViewModule,
16899
16896
  ResizeSensorModule,
16900
16897
  MonthViewModule,
16901
- TimelineViewModule, ButtonsModule,
16898
+ TimelineViewModule,
16899
+ WatermarkModule, ButtonsModule,
16902
16900
  CheckBoxModule,
16903
16901
  TextAreaModule,
16904
16902
  DateInputsModule,
@@ -16960,6 +16958,7 @@ SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
16960
16958
  ResizeSensorModule,
16961
16959
  MonthViewModule,
16962
16960
  TimelineViewModule,
16961
+ WatermarkModule,
16963
16962
  ...importedKendoModules
16964
16963
  ], MonthViewModule,
16965
16964
  MultiDayViewModule,
@@ -16975,6 +16974,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16975
16974
  ResizeSensorModule,
16976
16975
  MonthViewModule,
16977
16976
  TimelineViewModule,
16977
+ WatermarkModule,
16978
16978
  ...importedKendoModules
16979
16979
  ],
16980
16980
  declarations: declarations$1,
@@ -17300,7 +17300,7 @@ class PDFComponent {
17300
17300
  this.ngZone = ngZone;
17301
17301
  /**
17302
17302
  * The creator of the PDF document.
17303
- * Defaults to `Kendo UI PDF Generator`.
17303
+ * @default 'Kendo UI PDF Generator'
17304
17304
  */
17305
17305
  this.creator = 'Kendo UI PDF Generator';
17306
17306
  this.subscriptions = this.pdfService.elementReady.subscribe(this.createElement.bind(this));
@@ -317,7 +317,7 @@ export declare class Messages extends ComponentMessages {
317
317
  */
318
318
  editRecurringDialogTitle: string;
319
319
  /**
320
- * The value of the aria-label attribute of the <select> element used for switching the Scheduler views.
320
+ * The value of the aria-label attribute of the `<select>` element used for switching the Scheduler views.
321
321
  */
322
322
  selectView: string;
323
323
  static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-scheduler",
3
- "version": "13.4.1-develop.3",
3
+ "version": "13.5.0-develop.1",
4
4
  "description": "Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -25,21 +25,21 @@
25
25
  "@progress/kendo-data-query": "^1.0.0",
26
26
  "@progress/kendo-drawing": "^1.17.2",
27
27
  "@progress/kendo-licensing": "^1.0.2",
28
- "@progress/kendo-angular-buttons": "13.4.1-develop.3",
29
- "@progress/kendo-angular-common": "13.4.1-develop.3",
30
- "@progress/kendo-angular-dateinputs": "13.4.1-develop.3",
31
- "@progress/kendo-angular-dialog": "13.4.1-develop.3",
32
- "@progress/kendo-angular-dropdowns": "13.4.1-develop.3",
33
- "@progress/kendo-angular-icons": "13.4.1-develop.3",
34
- "@progress/kendo-angular-inputs": "13.4.1-develop.3",
35
- "@progress/kendo-angular-intl": "13.4.1-develop.3",
36
- "@progress/kendo-angular-l10n": "13.4.1-develop.3",
37
- "@progress/kendo-angular-popup": "13.4.1-develop.3",
28
+ "@progress/kendo-angular-buttons": "13.5.0-develop.1",
29
+ "@progress/kendo-angular-common": "13.5.0-develop.1",
30
+ "@progress/kendo-angular-dateinputs": "13.5.0-develop.1",
31
+ "@progress/kendo-angular-dialog": "13.5.0-develop.1",
32
+ "@progress/kendo-angular-dropdowns": "13.5.0-develop.1",
33
+ "@progress/kendo-angular-icons": "13.5.0-develop.1",
34
+ "@progress/kendo-angular-inputs": "13.5.0-develop.1",
35
+ "@progress/kendo-angular-intl": "13.5.0-develop.1",
36
+ "@progress/kendo-angular-l10n": "13.5.0-develop.1",
37
+ "@progress/kendo-angular-popup": "13.5.0-develop.1",
38
38
  "rxjs": "^6.5.3 || ^7.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "tslib": "^2.3.1",
42
- "@progress/kendo-angular-schematics": "13.4.1-develop.3",
42
+ "@progress/kendo-angular-schematics": "13.5.0-develop.1",
43
43
  "@progress/kendo-date-math": "^1.3.2",
44
44
  "@progress/kendo-draggable": "^3.0.2",
45
45
  "@progress/kendo-file-saver": "^1.0.7",