@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.
- package/editing/recurrence/recurrence-editor.component.d.ts +1 -0
- package/editing/timezone-editor.component.d.ts +1 -0
- package/editing-directives/edit-service.interface.d.ts +1 -2
- package/esm2020/editing/recurrence/recurrence-editor.component.mjs +1 -0
- package/esm2020/editing/timezone-editor.component.mjs +1 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pdf/pdf.component.mjs +1 -1
- package/esm2020/scheduler.component.mjs +32 -43
- package/esm2020/scheduler.module.mjs +5 -2
- package/esm2020/toolbar/navigation.component.mjs +0 -8
- package/esm2020/toolbar/view-selector.component.mjs +0 -8
- package/esm2020/types/crud-operation.enum.mjs +6 -4
- package/esm2020/types/edit-mode.enum.mjs +9 -5
- package/esm2020/views/agenda/agenda-view.component.mjs +3 -1
- package/esm2020/views/month/month-view.component.mjs +4 -3
- package/esm2020/views/month/multi-week-view.component.mjs +3 -3
- package/esm2020/views/multi-day/day-view.component.mjs +4 -3
- package/esm2020/views/multi-day/multi-day-view.component.mjs +5 -2
- package/esm2020/views/multi-day/week-view.component.mjs +4 -1
- package/esm2020/views/multi-day/work-week-view.component.mjs +2 -1
- package/esm2020/views/timeline/timeline-month-view.component.mjs +4 -3
- package/esm2020/views/timeline/timeline-view.component.mjs +4 -3
- package/esm2020/views/timeline/timeline-week-view.component.mjs +4 -1
- package/fesm2015/progress-kendo-angular-scheduler.mjs +93 -93
- package/fesm2020/progress-kendo-angular-scheduler.mjs +93 -93
- package/localization/messages.d.ts +1 -1
- package/package.json +12 -12
- package/pdf/pdf.component.d.ts +5 -12
- package/scheduler.component.d.ts +24 -149
- package/scheduler.module.d.ts +1 -1
- package/schematics/ngAdd/index.js +2 -2
- package/toolbar/navigation.component.d.ts +0 -8
- package/toolbar/view-selector.component.d.ts +0 -8
- package/types/crud-operation.enum.d.ts +6 -4
- package/types/datepicker-options.interface.d.ts +26 -27
- package/types/edit-mode.enum.d.ts +9 -5
- package/types/editable-settings.interface.d.ts +2 -2
- package/types/view-item.interface.d.ts +12 -0
- package/views/agenda/agenda-view.component.d.ts +3 -1
- package/views/day-time/day-time-view-base.d.ts +1 -0
- package/views/month/month-view.component.d.ts +4 -3
- package/views/month/multi-week-view.component.d.ts +3 -3
- package/views/multi-day/day-view.component.d.ts +4 -3
- package/views/multi-day/multi-day-view-base.d.ts +1 -1
- package/views/multi-day/multi-day-view.component.d.ts +5 -2
- package/views/multi-day/week-view.component.d.ts +4 -1
- package/views/multi-day/work-week-view.component.d.ts +2 -1
- package/views/timeline/timeline-month-view.component.d.ts +4 -3
- package/views/timeline/timeline-view.component.d.ts +4 -3
- 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:
|
|
52
|
-
version: '13.
|
|
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
|
|
|
@@ -438,29 +438,35 @@ class SchedulerView {
|
|
|
438
438
|
/**
|
|
439
439
|
* The selected edit mode during the update or removal of events.
|
|
440
440
|
* For non-recurring events, set to `Event`.
|
|
441
|
-
*
|
|
442
|
-
* The supported values are:
|
|
443
|
-
* * `Event`—Edits the selected event.
|
|
444
|
-
* * `Occurrence`—Edits the selected occurrence.
|
|
445
|
-
* * `Series`—Edits all events in the series.
|
|
446
441
|
*/
|
|
447
442
|
var EditMode;
|
|
448
443
|
(function (EditMode) {
|
|
444
|
+
/**
|
|
445
|
+
* Edits the selected event.
|
|
446
|
+
*/
|
|
449
447
|
EditMode[EditMode["Event"] = 0] = "Event";
|
|
448
|
+
/**
|
|
449
|
+
* Edits the selected occurrence.
|
|
450
|
+
*/
|
|
450
451
|
EditMode[EditMode["Occurrence"] = 1] = "Occurrence";
|
|
452
|
+
/**
|
|
453
|
+
* Edits all events in the series.
|
|
454
|
+
*/
|
|
451
455
|
EditMode[EditMode["Series"] = 2] = "Series";
|
|
452
456
|
})(EditMode || (EditMode = {}));
|
|
453
457
|
|
|
454
458
|
/**
|
|
455
459
|
* The selected CRUD operation when the user edits or removes recurring events.
|
|
456
|
-
*
|
|
457
|
-
* The supported values are:
|
|
458
|
-
* * `Edit`
|
|
459
|
-
* * `Remove`
|
|
460
460
|
*/
|
|
461
461
|
var CrudOperation;
|
|
462
462
|
(function (CrudOperation) {
|
|
463
|
+
/**
|
|
464
|
+
* The user edits the selected recurring event.
|
|
465
|
+
*/
|
|
463
466
|
CrudOperation[CrudOperation["Edit"] = 0] = "Edit";
|
|
467
|
+
/**
|
|
468
|
+
* The user removes the selected recurring event.
|
|
469
|
+
*/
|
|
464
470
|
CrudOperation[CrudOperation["Remove"] = 1] = "Remove";
|
|
465
471
|
})(CrudOperation || (CrudOperation = {}));
|
|
466
472
|
|
|
@@ -2279,14 +2285,6 @@ const iconsMap = { caretAltLeftIcon, caretAltRightIcon, calendarIcon };
|
|
|
2279
2285
|
* To render the **Previous**, **Today**, **Next**, and **Date picker**
|
|
2280
2286
|
* buttons, include the component in the
|
|
2281
2287
|
* [toolbar template]({% slug api_scheduler_toolbartemplatedirective %}).
|
|
2282
|
-
*
|
|
2283
|
-
* {% meta height:700 %}
|
|
2284
|
-
* {% embed_file toolbar/template/app.component.ts preview %}
|
|
2285
|
-
* {% embed_file toolbar/template/my-navigation.component.ts %}
|
|
2286
|
-
* {% embed_file toolbar/template/app.module.ts %}
|
|
2287
|
-
* {% embed_file shared/events-utc.ts %}
|
|
2288
|
-
* {% embed_file shared/main.ts %}
|
|
2289
|
-
* {% endmeta %}
|
|
2290
2288
|
*/
|
|
2291
2289
|
class ToolbarNavigationComponent {
|
|
2292
2290
|
constructor(popupService, toolbarService, localization, cd, viewContext) {
|
|
@@ -2609,14 +2607,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2609
2607
|
*
|
|
2610
2608
|
* To render the view-selection buttons, include the component in the
|
|
2611
2609
|
* [toolbar template]({% slug api_scheduler_toolbartemplatedirective %}).
|
|
2612
|
-
*
|
|
2613
|
-
* {% meta height:700 %}
|
|
2614
|
-
* {% embed_file toolbar/template/app.component.ts preview %}
|
|
2615
|
-
* {% embed_file toolbar/template/my-navigation.component.ts %}
|
|
2616
|
-
* {% embed_file toolbar/template/app.module.ts %}
|
|
2617
|
-
* {% embed_file shared/events-utc.ts %}
|
|
2618
|
-
* {% embed_file shared/main.ts %}
|
|
2619
|
-
* {% endmeta %}
|
|
2620
2610
|
*/
|
|
2621
2611
|
class ToolbarViewSelectorComponent {
|
|
2622
2612
|
constructor(service, localization) {
|
|
@@ -3220,6 +3210,7 @@ class TimeZoneEditorComponent {
|
|
|
3220
3210
|
constructor() {
|
|
3221
3211
|
/**
|
|
3222
3212
|
* Specifies the width of the ComboBox which contains the names of the timezones.
|
|
3213
|
+
* @default 260
|
|
3223
3214
|
*/
|
|
3224
3215
|
this.width = 260;
|
|
3225
3216
|
/**
|
|
@@ -4885,6 +4876,7 @@ class RecurrenceEditorComponent {
|
|
|
4885
4876
|
this.cssClass = true;
|
|
4886
4877
|
/**
|
|
4887
4878
|
* Specifies the id of the timezone that will be used.
|
|
4879
|
+
* @default 'Etc/UTC'
|
|
4888
4880
|
*/
|
|
4889
4881
|
this.timezone = 'Etc/UTC';
|
|
4890
4882
|
/**
|
|
@@ -6067,22 +6059,6 @@ const todayDate = () => getDate(new Date());
|
|
|
6067
6059
|
const DAYS_IN_WEEK$1 = 7;
|
|
6068
6060
|
/**
|
|
6069
6061
|
* Represents the [Kendo UI Scheduler component for Angular]({% slug overview_scheduler %}).
|
|
6070
|
-
*
|
|
6071
|
-
* @example
|
|
6072
|
-
* ```ts-preview
|
|
6073
|
-
* _@Component({
|
|
6074
|
-
* selector: 'my-app',
|
|
6075
|
-
* template: `
|
|
6076
|
-
* <kendo-scheduler style="height: 600px">
|
|
6077
|
-
* <kendo-scheduler-day-view>
|
|
6078
|
-
* </kendo-scheduler-day-view>
|
|
6079
|
-
* <kendo-scheduler-week-view>
|
|
6080
|
-
* </kendo-scheduler-week-view>
|
|
6081
|
-
* </kendo-scheduler>
|
|
6082
|
-
* `
|
|
6083
|
-
* })
|
|
6084
|
-
* class AppComponent {}
|
|
6085
|
-
* ```
|
|
6086
6062
|
*/
|
|
6087
6063
|
class SchedulerComponent {
|
|
6088
6064
|
constructor(wrapper, viewContext, viewState, editService, dialogsService, intlService, changeDetector, zone, pdfService, localization, domEvents, renderer, focusService) {
|
|
@@ -6114,62 +6090,74 @@ class SchedulerComponent {
|
|
|
6114
6090
|
this.selectable = false;
|
|
6115
6091
|
/**
|
|
6116
6092
|
* 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.
|
|
6093
|
+
* @default 25
|
|
6117
6094
|
*/
|
|
6118
6095
|
this.eventHeight = 25;
|
|
6119
6096
|
/**
|
|
6120
6097
|
* Specifies the columns width. Applicable for the **Timeline** views.
|
|
6098
|
+
* @default 100
|
|
6121
6099
|
*/
|
|
6122
6100
|
this.columnWidth = 100;
|
|
6123
6101
|
/**
|
|
6124
6102
|
* The start time of the view. The Scheduler displays events which start after the start time.
|
|
6125
6103
|
* Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
6104
|
+
* @default '00:00'
|
|
6126
6105
|
*/
|
|
6127
6106
|
this.startTime = '00:00';
|
|
6128
6107
|
/**
|
|
6129
6108
|
* The end time of the view. The Scheduler displays events which end before the end time.
|
|
6130
6109
|
* Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
6110
|
+
* @default '00:00'
|
|
6131
6111
|
*/
|
|
6132
6112
|
this.endTime = '00:00';
|
|
6133
6113
|
/**
|
|
6134
6114
|
* The start time of the view when `showWorkHours` is set to `true`.
|
|
6135
6115
|
* Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
6116
|
+
* @default '08:00'
|
|
6136
6117
|
*/
|
|
6137
6118
|
this.workDayStart = '08:00';
|
|
6138
6119
|
/**
|
|
6139
6120
|
* The end time of the view when `showWorkHours` is set to `true`.
|
|
6140
6121
|
* Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
6122
|
+
* @default '17:00'
|
|
6141
6123
|
*/
|
|
6142
6124
|
this.workDayEnd = '17:00';
|
|
6143
6125
|
/**
|
|
6144
6126
|
* The duration (in minutes) of the time slots. Applicable for the day, week and timeline views.
|
|
6127
|
+
* @default 60
|
|
6145
6128
|
*/
|
|
6146
6129
|
this.slotDuration = 60;
|
|
6147
6130
|
/**
|
|
6148
6131
|
* The number of divisions of the time slots. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
6132
|
+
* @default 2
|
|
6149
6133
|
*/
|
|
6150
6134
|
this.slotDivisions = 2;
|
|
6151
6135
|
/**
|
|
6152
6136
|
* A numeric value between 0 and 1 that specifies what percentage of the slot will be filled by the events.
|
|
6153
6137
|
* Applicable for the **Day** and **Week** views.
|
|
6154
|
-
*
|
|
6138
|
+
* @default 0.9
|
|
6155
6139
|
*/
|
|
6156
6140
|
this.slotFill = 0.9;
|
|
6157
6141
|
/**
|
|
6158
6142
|
* The time to which the view will initially be scrolled.
|
|
6159
6143
|
* Accepts string values in the `HH:mm` format or a JavaScript `Date`. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
6144
|
+
* @default '08:00'
|
|
6160
6145
|
*/
|
|
6161
6146
|
this.scrollTime = this.workDayStart;
|
|
6162
6147
|
/**
|
|
6163
6148
|
* Specifies the Scheduler current time marker settings.
|
|
6149
|
+
* @default true
|
|
6164
6150
|
*/
|
|
6165
6151
|
this.currentTimeMarker = true;
|
|
6166
6152
|
/**
|
|
6167
6153
|
* Specifies the settings for the ongoing events highlight of the Scheduler.
|
|
6154
|
+
* @default true
|
|
6168
6155
|
*/
|
|
6169
6156
|
this.highlightOngoingEvents = true;
|
|
6170
6157
|
/**
|
|
6171
6158
|
* A callback that executes for each slot of the Scheduler view.
|
|
6172
6159
|
* If it returns `true`, the `k-selected` CSS class will be added to the cell, making it visibly selected.
|
|
6160
|
+
* @default () => false
|
|
6173
6161
|
*/
|
|
6174
6162
|
this.isSlotSelected = alwaysFalse;
|
|
6175
6163
|
/**
|
|
@@ -6278,10 +6266,15 @@ class SchedulerComponent {
|
|
|
6278
6266
|
* @hidden
|
|
6279
6267
|
*/
|
|
6280
6268
|
this.removeConfirmed = new EventEmitter();
|
|
6269
|
+
/**
|
|
6270
|
+
* @hidden
|
|
6271
|
+
*/
|
|
6272
|
+
this.showLicenseWatermark = false;
|
|
6281
6273
|
this.viewIndex = 0;
|
|
6282
6274
|
this._timezone = '';
|
|
6283
6275
|
this._modelFields = defaultModelFields;
|
|
6284
|
-
validatePackage(packageMetadata);
|
|
6276
|
+
const isValid = validatePackage(packageMetadata);
|
|
6277
|
+
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
6285
6278
|
this.dateRangeStream = viewState.dateRange;
|
|
6286
6279
|
this.selectedDateStream = viewContext.selectedDate;
|
|
6287
6280
|
}
|
|
@@ -6317,7 +6310,7 @@ class SchedulerComponent {
|
|
|
6317
6310
|
/**
|
|
6318
6311
|
* Specifies the id of the timezone that will be displayed in the Scheduler.
|
|
6319
6312
|
* For example, `Europe/Sofia`.
|
|
6320
|
-
*
|
|
6313
|
+
* @default 'Etc/UTC'
|
|
6321
6314
|
*/
|
|
6322
6315
|
set timezone(value) {
|
|
6323
6316
|
this._timezone = value;
|
|
@@ -6645,11 +6638,6 @@ class SchedulerComponent {
|
|
|
6645
6638
|
* @param y - The y document position.
|
|
6646
6639
|
*
|
|
6647
6640
|
* @return {SchedulerSlot} - The slot.
|
|
6648
|
-
*
|
|
6649
|
-
* {% embed_file drag-and-drop/app.component.ts %}
|
|
6650
|
-
* {% embed_file drag-and-drop/draggable.directive.ts %}
|
|
6651
|
-
* {% embed_file drag-and-drop/app.module.ts %}
|
|
6652
|
-
* {% embed_file shared/main.ts %}
|
|
6653
6641
|
*/
|
|
6654
6642
|
slotByPosition(x, y) {
|
|
6655
6643
|
return this.viewContext.executeMethod('slotByPosition', { x, y });
|
|
@@ -6676,17 +6664,9 @@ class SchedulerComponent {
|
|
|
6676
6664
|
/**
|
|
6677
6665
|
* Focuses the next event or an event at a specified relative position.
|
|
6678
6666
|
* The `options` parameter can be used to set a positive or negative offset
|
|
6679
|
-
* that is relative to the currently focused event.
|
|
6667
|
+
* that is relative to the currently focused event ([see example](slug:keyboard_navigation_scheduler#toc-event-navigation-with-the-tab-key)).
|
|
6680
6668
|
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
6681
6669
|
*
|
|
6682
|
-
* @example
|
|
6683
|
-
* ```ts-no-run
|
|
6684
|
-
* scheduler.focusNext(); // Focuses the next event.
|
|
6685
|
-
* scheduler.focusNext({ offset: 1 }); // Focuses the next event.
|
|
6686
|
-
* scheduler.focusNext({ offset: -1 }); // Focuses the previous event.
|
|
6687
|
-
* scheduler.focusNext({ nowrap: true }); // If the focus is on the last event, does not move the focus to the first event.
|
|
6688
|
-
* ```
|
|
6689
|
-
*
|
|
6690
6670
|
* @param position The relative position of the event to focus.
|
|
6691
6671
|
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
6692
6672
|
*/
|
|
@@ -6698,15 +6678,9 @@ class SchedulerComponent {
|
|
|
6698
6678
|
/**
|
|
6699
6679
|
* Focuses the previous event or an event at a specified relative position.
|
|
6700
6680
|
* The `options` parameter can be used to set a positive or negative offset
|
|
6701
|
-
* that is relative to the currently focused event.
|
|
6681
|
+
* that is relative to the currently focused event ([see example](slug:keyboard_navigation_scheduler#toc-event-navigation-with-the-tab-key)).
|
|
6702
6682
|
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
6703
6683
|
*
|
|
6704
|
-
* @example
|
|
6705
|
-
* ```ts-no-run
|
|
6706
|
-
* scheduler.focusPrev(); // Focuses the previous event
|
|
6707
|
-
* scheduler.focusPrev({ nowrap: true }); // Does not move the focus to the last event, if focus is on the first one.
|
|
6708
|
-
* ```
|
|
6709
|
-
*
|
|
6710
6684
|
* @param position The relative position of the event to focus.
|
|
6711
6685
|
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
6712
6686
|
*/
|
|
@@ -6893,7 +6867,7 @@ class SchedulerComponent {
|
|
|
6893
6867
|
}
|
|
6894
6868
|
}
|
|
6895
6869
|
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 });
|
|
6896
|
-
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: [
|
|
6870
|
+
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: [
|
|
6897
6871
|
EditService,
|
|
6898
6872
|
DialogsService,
|
|
6899
6873
|
DomEventsService,
|
|
@@ -7180,7 +7154,9 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
7180
7154
|
|
|
7181
7155
|
<div [loading]="loading" kendoSchedulerLoading>
|
|
7182
7156
|
</div>
|
|
7183
|
-
|
|
7157
|
+
|
|
7158
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
7159
|
+
`, 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 });
|
|
7184
7160
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SchedulerComponent, decorators: [{
|
|
7185
7161
|
type: Component,
|
|
7186
7162
|
args: [{
|
|
@@ -7474,6 +7450,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
7474
7450
|
|
|
7475
7451
|
<div [loading]="loading" kendoSchedulerLoading>
|
|
7476
7452
|
</div>
|
|
7453
|
+
|
|
7454
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
7477
7455
|
`
|
|
7478
7456
|
}]
|
|
7479
7457
|
}], 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: [{
|
|
@@ -7485,6 +7463,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
7485
7463
|
}, {
|
|
7486
7464
|
type: HostBinding,
|
|
7487
7465
|
args: ['class.k-floatwrap']
|
|
7466
|
+
}, {
|
|
7467
|
+
type: HostBinding,
|
|
7468
|
+
args: ['class.k-pos-relative']
|
|
7488
7469
|
}], ariaRole: [{
|
|
7489
7470
|
type: HostBinding,
|
|
7490
7471
|
args: ['attr.role']
|
|
@@ -9066,15 +9047,17 @@ class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
9066
9047
|
* Defaults to `{0:d} - {1:d}`,
|
|
9067
9048
|
* where `0` is the start and `1` is the end date
|
|
9068
9049
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
9050
|
+
* @default '{0:d} - {1:d}'
|
|
9069
9051
|
*/
|
|
9070
9052
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
9071
9053
|
/**
|
|
9072
9054
|
* Specifies the number of days that the view will render.
|
|
9073
|
-
*
|
|
9055
|
+
* @default 7
|
|
9074
9056
|
*/
|
|
9075
9057
|
this.numberOfDays = 7;
|
|
9076
9058
|
/**
|
|
9077
9059
|
* The invariant name for this view (`agenda`).
|
|
9060
|
+
* @default 'agenda'
|
|
9078
9061
|
*/
|
|
9079
9062
|
this.name = 'agenda';
|
|
9080
9063
|
}
|
|
@@ -11783,19 +11766,20 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
11783
11766
|
/**
|
|
11784
11767
|
* The long-date format for displaying the
|
|
11785
11768
|
* selected date in the Scheduler toolbar.
|
|
11786
|
-
* Defaults to `{0:Y}`
|
|
11787
11769
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
11770
|
+
* @default '{0:Y}'
|
|
11788
11771
|
*/
|
|
11789
11772
|
this.selectedDateFormat = '{0:Y}';
|
|
11790
11773
|
/**
|
|
11791
11774
|
* The short-date format for displaying the
|
|
11792
11775
|
* selected date in the Scheduler toolbar.
|
|
11793
|
-
* Defaults to `{0:y}`
|
|
11794
11776
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting.
|
|
11777
|
+
* @default '{0:y}'
|
|
11795
11778
|
*/
|
|
11796
11779
|
this.selectedShortDateFormat = '{0:y}';
|
|
11797
11780
|
/**
|
|
11798
|
-
* The invariant name for this view
|
|
11781
|
+
* The invariant name for this view.
|
|
11782
|
+
* @default 'month'
|
|
11799
11783
|
*/
|
|
11800
11784
|
this.name = 'month';
|
|
11801
11785
|
}
|
|
@@ -11900,21 +11884,21 @@ class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
|
11900
11884
|
this.intl = intl;
|
|
11901
11885
|
/**
|
|
11902
11886
|
* The number of weeks to be rendered.
|
|
11903
|
-
*
|
|
11887
|
+
* @default 6
|
|
11904
11888
|
*/
|
|
11905
11889
|
this.numberOfWeeks = WEEKS_COUNT;
|
|
11906
11890
|
/**
|
|
11907
11891
|
* The long-date format for displaying the
|
|
11908
11892
|
* selected date in the Scheduler toolbar.
|
|
11909
|
-
* Defaults to `{0:D} - {1:D}`
|
|
11910
11893
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
11894
|
+
* @default '{0:D} - {1:D}'
|
|
11911
11895
|
*/
|
|
11912
11896
|
this.selectedDateFormat = '{0:D} - {1:D}';
|
|
11913
11897
|
/**
|
|
11914
11898
|
* The short-date format for displaying the
|
|
11915
11899
|
* selected date in the Scheduler toolbar.
|
|
11916
|
-
* Defaults to `{0:d} - {1:d}`
|
|
11917
11900
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting.
|
|
11901
|
+
* @default '{0:d} - {1:d}'
|
|
11918
11902
|
*/
|
|
11919
11903
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
11920
11904
|
/**
|
|
@@ -14468,7 +14452,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
14468
14452
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
14469
14453
|
super(localization, changeDetector, viewContext, viewState);
|
|
14470
14454
|
/**
|
|
14471
|
-
* The invariant name for this view
|
|
14455
|
+
* The invariant name for this view.
|
|
14456
|
+
* @default 'day'
|
|
14472
14457
|
*/
|
|
14473
14458
|
this.name = 'day';
|
|
14474
14459
|
this._selectedDateFormat = '{0:D}';
|
|
@@ -14483,8 +14468,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
14483
14468
|
/**
|
|
14484
14469
|
* The long-date format for displaying the
|
|
14485
14470
|
* selected date in the Scheduler toolbar.
|
|
14486
|
-
* Defaults to `{0:D}`
|
|
14487
14471
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
14472
|
+
* @default '{0:D}'
|
|
14488
14473
|
*/
|
|
14489
14474
|
set selectedDateFormat(value) {
|
|
14490
14475
|
this._selectedDateFormat = value;
|
|
@@ -14496,8 +14481,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
14496
14481
|
/**
|
|
14497
14482
|
* The short-date format for displaying the
|
|
14498
14483
|
* selected date in the Scheduler toolbar.
|
|
14499
|
-
* Defaults to `{0:D}`
|
|
14500
14484
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
14485
|
+
* @default '{0:d}'
|
|
14501
14486
|
*/
|
|
14502
14487
|
set selectedShortDateFormat(value) {
|
|
14503
14488
|
this._selectedShortDateFormat = value;
|
|
@@ -14617,11 +14602,12 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
14617
14602
|
super(localization, changeDetector, viewContext, viewState);
|
|
14618
14603
|
/**
|
|
14619
14604
|
* Specifies the number of days that the view will render.
|
|
14620
|
-
*
|
|
14605
|
+
* @default 1
|
|
14621
14606
|
*/
|
|
14622
14607
|
this.numberOfDays = 1;
|
|
14623
14608
|
/**
|
|
14624
|
-
* The invariant name for this view
|
|
14609
|
+
* The invariant name for this view.
|
|
14610
|
+
* @default 'multi-day'
|
|
14625
14611
|
*/
|
|
14626
14612
|
this.name = 'multiDay';
|
|
14627
14613
|
}
|
|
@@ -14630,6 +14616,7 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
14630
14616
|
* selected date in the Scheduler toolbar.
|
|
14631
14617
|
* Defaults to `{0:D} - {1:D}` for multiple days and `{0:D}` for a single day
|
|
14632
14618
|
* ([more information](slug:parsingandformatting_intl#toc-date-formatting)).
|
|
14619
|
+
* @default '{0:D} - {1:D}'
|
|
14633
14620
|
*/
|
|
14634
14621
|
set selectedDateFormat(value) {
|
|
14635
14622
|
this.dateFormat = value;
|
|
@@ -14642,6 +14629,7 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
14642
14629
|
* selected date in the Scheduler toolbar.
|
|
14643
14630
|
* Defaults to `{0:d} - {1:d}` for multiple days and `{0:d}` for a single day
|
|
14644
14631
|
* ([more information](slug:parsingandformatting_intl#toc-date-formatting)).
|
|
14632
|
+
* @default '{0:d} - {1:d}'
|
|
14645
14633
|
*/
|
|
14646
14634
|
set selectedShortDateFormat(value) {
|
|
14647
14635
|
this.shortDateFormat = value;
|
|
@@ -14771,6 +14759,7 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
14771
14759
|
* Defaults to `{0:D} - {1:D}`,
|
|
14772
14760
|
* where `0` is the start and `1` is the end date
|
|
14773
14761
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting).
|
|
14762
|
+
* @default '{0:D} - {1:D}'
|
|
14774
14763
|
*/
|
|
14775
14764
|
this.selectedDateFormat = '{0:D} - {1:D}';
|
|
14776
14765
|
/**
|
|
@@ -14779,10 +14768,12 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
14779
14768
|
* Defaults to `{0:d} - {1:d}`,
|
|
14780
14769
|
* where `0` is the start and `1` is the end date
|
|
14781
14770
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting).
|
|
14771
|
+
* @default '{0:d} - {1:d}'
|
|
14782
14772
|
*/
|
|
14783
14773
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
14784
14774
|
/**
|
|
14785
|
-
* The invariant name for this view
|
|
14775
|
+
* The invariant name for this view.
|
|
14776
|
+
* @default 'week'
|
|
14786
14777
|
*/
|
|
14787
14778
|
this.name = 'week';
|
|
14788
14779
|
this.getStartDate = this.getStartDate.bind(this);
|
|
@@ -14916,7 +14907,8 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
14916
14907
|
constructor(intl, localization, changeDetector, viewContext, viewState) {
|
|
14917
14908
|
super(intl, localization, changeDetector, viewContext, viewState);
|
|
14918
14909
|
/**
|
|
14919
|
-
* The invariant name for this view
|
|
14910
|
+
* The invariant name for this view.
|
|
14911
|
+
* @default 'workWeek'
|
|
14920
14912
|
*/
|
|
14921
14913
|
this.name = 'workWeek';
|
|
14922
14914
|
this.getNextDate = this.getNextDate.bind(this);
|
|
@@ -15626,19 +15618,20 @@ class TimelineViewComponent extends TimelineBase {
|
|
|
15626
15618
|
/**
|
|
15627
15619
|
* The long-date format for displaying the
|
|
15628
15620
|
* selected date in the Scheduler toolbar.
|
|
15629
|
-
* Defaults to `{0:D}`
|
|
15630
15621
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15622
|
+
* @default '{0:D}'
|
|
15631
15623
|
*/
|
|
15632
15624
|
this.selectedDateFormat = '{0:D}';
|
|
15633
15625
|
/**
|
|
15634
15626
|
* The short-date format for displaying the
|
|
15635
15627
|
* selected date in the Scheduler toolbar.
|
|
15636
|
-
* Defaults to `{0:D}`
|
|
15637
15628
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15629
|
+
* @default '{0:d}'
|
|
15638
15630
|
*/
|
|
15639
15631
|
this.selectedShortDateFormat = '{0:d}';
|
|
15640
15632
|
/**
|
|
15641
|
-
* The invariant name for this view
|
|
15633
|
+
* The invariant name for this view.
|
|
15634
|
+
* @default 'timeline'
|
|
15642
15635
|
*/
|
|
15643
15636
|
this.name = 'timeline';
|
|
15644
15637
|
}
|
|
@@ -15743,6 +15736,7 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
15743
15736
|
* Defaults to `{0:D} - {1:D}`
|
|
15744
15737
|
* where `0` is the start and `1` is the end date
|
|
15745
15738
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15739
|
+
* @default '{0:D} - {1:D}'
|
|
15746
15740
|
*/
|
|
15747
15741
|
this.selectedDateFormat = '{0:D} - {1:D}';
|
|
15748
15742
|
/**
|
|
@@ -15751,10 +15745,12 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
15751
15745
|
* Defaults to `{0:d} - {1:d}`
|
|
15752
15746
|
* where `0` is the start and `1` is the end date
|
|
15753
15747
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15748
|
+
* @default '{0:d} - {1:d}'
|
|
15754
15749
|
*/
|
|
15755
15750
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
15756
15751
|
/**
|
|
15757
|
-
* The invariant name for this view
|
|
15752
|
+
* The invariant name for this view.
|
|
15753
|
+
* @default 'timelineWeek'
|
|
15758
15754
|
*/
|
|
15759
15755
|
this.name = 'timelineWeek';
|
|
15760
15756
|
/**
|
|
@@ -15870,19 +15866,20 @@ class TimelineMonthViewComponent extends TimelineBase {
|
|
|
15870
15866
|
/**
|
|
15871
15867
|
* The long-date format for displaying the
|
|
15872
15868
|
* selected date in the Scheduler toolbar.
|
|
15873
|
-
* Defaults to `{0:Y}`
|
|
15874
15869
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15870
|
+
* @default '{0:Y}'
|
|
15875
15871
|
*/
|
|
15876
15872
|
this.selectedDateFormat = '{0:Y}';
|
|
15877
15873
|
/**
|
|
15878
15874
|
* The short-date format for displaying the
|
|
15879
15875
|
* selected date in the Scheduler toolbar.
|
|
15880
|
-
* Defaults to `{0:y}`
|
|
15881
15876
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15877
|
+
* @default '{0:y}'
|
|
15882
15878
|
*/
|
|
15883
15879
|
this.selectedShortDateFormat = '{0:y}';
|
|
15884
15880
|
/**
|
|
15885
|
-
* The invariant name for this view
|
|
15881
|
+
* The invariant name for this view.
|
|
15882
|
+
* @default 'timelineMonth'
|
|
15886
15883
|
*/
|
|
15887
15884
|
this.name = 'timelineMonth';
|
|
15888
15885
|
/**
|
|
@@ -16944,7 +16941,8 @@ SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
16944
16941
|
MultiDayViewModule,
|
|
16945
16942
|
ResizeSensorModule,
|
|
16946
16943
|
MonthViewModule,
|
|
16947
|
-
TimelineViewModule,
|
|
16944
|
+
TimelineViewModule,
|
|
16945
|
+
WatermarkModule, ButtonsModule,
|
|
16948
16946
|
CheckBoxModule,
|
|
16949
16947
|
TextAreaModule,
|
|
16950
16948
|
DateInputsModule,
|
|
@@ -17006,6 +17004,7 @@ SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
17006
17004
|
ResizeSensorModule,
|
|
17007
17005
|
MonthViewModule,
|
|
17008
17006
|
TimelineViewModule,
|
|
17007
|
+
WatermarkModule,
|
|
17009
17008
|
...importedKendoModules
|
|
17010
17009
|
], MonthViewModule,
|
|
17011
17010
|
MultiDayViewModule,
|
|
@@ -17021,6 +17020,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17021
17020
|
ResizeSensorModule,
|
|
17022
17021
|
MonthViewModule,
|
|
17023
17022
|
TimelineViewModule,
|
|
17023
|
+
WatermarkModule,
|
|
17024
17024
|
...importedKendoModules
|
|
17025
17025
|
],
|
|
17026
17026
|
declarations: declarations$1,
|
|
@@ -17346,7 +17346,7 @@ class PDFComponent {
|
|
|
17346
17346
|
this.ngZone = ngZone;
|
|
17347
17347
|
/**
|
|
17348
17348
|
* The creator of the PDF document.
|
|
17349
|
-
*
|
|
17349
|
+
* @default 'Kendo UI PDF Generator'
|
|
17350
17350
|
*/
|
|
17351
17351
|
this.creator = 'Kendo UI PDF Generator';
|
|
17352
17352
|
this.subscriptions = this.pdfService.elementReady.subscribe(this.createElement.bind(this));
|