@progress/kendo-angular-scheduler 13.4.1-develop.3 → 13.4.1-develop.4
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 +16 -39
- 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 +73 -88
- package/fesm2020/progress-kendo-angular-scheduler.mjs +73 -88
- 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 +20 -149
- 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
|
@@ -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.4.1-develop.
|
|
51
|
+
publishDate: 1694174973,
|
|
52
|
+
version: '13.4.1-develop.4',
|
|
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
|
/**
|
|
@@ -6317,7 +6305,7 @@ class SchedulerComponent {
|
|
|
6317
6305
|
/**
|
|
6318
6306
|
* Specifies the id of the timezone that will be displayed in the Scheduler.
|
|
6319
6307
|
* For example, `Europe/Sofia`.
|
|
6320
|
-
*
|
|
6308
|
+
* @default 'Etc/UTC'
|
|
6321
6309
|
*/
|
|
6322
6310
|
set timezone(value) {
|
|
6323
6311
|
this._timezone = value;
|
|
@@ -6645,11 +6633,6 @@ class SchedulerComponent {
|
|
|
6645
6633
|
* @param y - The y document position.
|
|
6646
6634
|
*
|
|
6647
6635
|
* @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
6636
|
*/
|
|
6654
6637
|
slotByPosition(x, y) {
|
|
6655
6638
|
return this.viewContext.executeMethod('slotByPosition', { x, y });
|
|
@@ -6676,17 +6659,9 @@ class SchedulerComponent {
|
|
|
6676
6659
|
/**
|
|
6677
6660
|
* Focuses the next event or an event at a specified relative position.
|
|
6678
6661
|
* The `options` parameter can be used to set a positive or negative offset
|
|
6679
|
-
* that is relative to the currently focused event.
|
|
6662
|
+
* that is relative to the currently focused event ([see example](slug:keyboard_navigation_scheduler#toc-event-navigation-with-the-tab-key)).
|
|
6680
6663
|
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
6681
6664
|
*
|
|
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
6665
|
* @param position The relative position of the event to focus.
|
|
6691
6666
|
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
6692
6667
|
*/
|
|
@@ -6698,15 +6673,9 @@ class SchedulerComponent {
|
|
|
6698
6673
|
/**
|
|
6699
6674
|
* Focuses the previous event or an event at a specified relative position.
|
|
6700
6675
|
* The `options` parameter can be used to set a positive or negative offset
|
|
6701
|
-
* that is relative to the currently focused event.
|
|
6676
|
+
* that is relative to the currently focused event ([see example](slug:keyboard_navigation_scheduler#toc-event-navigation-with-the-tab-key)).
|
|
6702
6677
|
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
6703
6678
|
*
|
|
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
6679
|
* @param position The relative position of the event to focus.
|
|
6711
6680
|
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
6712
6681
|
*/
|
|
@@ -9066,15 +9035,17 @@ class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
9066
9035
|
* Defaults to `{0:d} - {1:d}`,
|
|
9067
9036
|
* where `0` is the start and `1` is the end date
|
|
9068
9037
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
9038
|
+
* @default '{0:d} - {1:d}'
|
|
9069
9039
|
*/
|
|
9070
9040
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
9071
9041
|
/**
|
|
9072
9042
|
* Specifies the number of days that the view will render.
|
|
9073
|
-
*
|
|
9043
|
+
* @default 7
|
|
9074
9044
|
*/
|
|
9075
9045
|
this.numberOfDays = 7;
|
|
9076
9046
|
/**
|
|
9077
9047
|
* The invariant name for this view (`agenda`).
|
|
9048
|
+
* @default 'agenda'
|
|
9078
9049
|
*/
|
|
9079
9050
|
this.name = 'agenda';
|
|
9080
9051
|
}
|
|
@@ -11783,19 +11754,20 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
11783
11754
|
/**
|
|
11784
11755
|
* The long-date format for displaying the
|
|
11785
11756
|
* selected date in the Scheduler toolbar.
|
|
11786
|
-
* Defaults to `{0:Y}`
|
|
11787
11757
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
11758
|
+
* @default '{0:Y}'
|
|
11788
11759
|
*/
|
|
11789
11760
|
this.selectedDateFormat = '{0:Y}';
|
|
11790
11761
|
/**
|
|
11791
11762
|
* The short-date format for displaying the
|
|
11792
11763
|
* selected date in the Scheduler toolbar.
|
|
11793
|
-
* Defaults to `{0:y}`
|
|
11794
11764
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting.
|
|
11765
|
+
* @default '{0:y}'
|
|
11795
11766
|
*/
|
|
11796
11767
|
this.selectedShortDateFormat = '{0:y}';
|
|
11797
11768
|
/**
|
|
11798
|
-
* The invariant name for this view
|
|
11769
|
+
* The invariant name for this view.
|
|
11770
|
+
* @default 'month'
|
|
11799
11771
|
*/
|
|
11800
11772
|
this.name = 'month';
|
|
11801
11773
|
}
|
|
@@ -11900,21 +11872,21 @@ class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
|
11900
11872
|
this.intl = intl;
|
|
11901
11873
|
/**
|
|
11902
11874
|
* The number of weeks to be rendered.
|
|
11903
|
-
*
|
|
11875
|
+
* @default 6
|
|
11904
11876
|
*/
|
|
11905
11877
|
this.numberOfWeeks = WEEKS_COUNT;
|
|
11906
11878
|
/**
|
|
11907
11879
|
* The long-date format for displaying the
|
|
11908
11880
|
* selected date in the Scheduler toolbar.
|
|
11909
|
-
* Defaults to `{0:D} - {1:D}`
|
|
11910
11881
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
11882
|
+
* @default '{0:D} - {1:D}'
|
|
11911
11883
|
*/
|
|
11912
11884
|
this.selectedDateFormat = '{0:D} - {1:D}';
|
|
11913
11885
|
/**
|
|
11914
11886
|
* The short-date format for displaying the
|
|
11915
11887
|
* selected date in the Scheduler toolbar.
|
|
11916
|
-
* Defaults to `{0:d} - {1:d}`
|
|
11917
11888
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting.
|
|
11889
|
+
* @default '{0:d} - {1:d}'
|
|
11918
11890
|
*/
|
|
11919
11891
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
11920
11892
|
/**
|
|
@@ -14468,7 +14440,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
14468
14440
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
14469
14441
|
super(localization, changeDetector, viewContext, viewState);
|
|
14470
14442
|
/**
|
|
14471
|
-
* The invariant name for this view
|
|
14443
|
+
* The invariant name for this view.
|
|
14444
|
+
* @default 'day'
|
|
14472
14445
|
*/
|
|
14473
14446
|
this.name = 'day';
|
|
14474
14447
|
this._selectedDateFormat = '{0:D}';
|
|
@@ -14483,8 +14456,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
14483
14456
|
/**
|
|
14484
14457
|
* The long-date format for displaying the
|
|
14485
14458
|
* selected date in the Scheduler toolbar.
|
|
14486
|
-
* Defaults to `{0:D}`
|
|
14487
14459
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
14460
|
+
* @default '{0:D}'
|
|
14488
14461
|
*/
|
|
14489
14462
|
set selectedDateFormat(value) {
|
|
14490
14463
|
this._selectedDateFormat = value;
|
|
@@ -14496,8 +14469,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
14496
14469
|
/**
|
|
14497
14470
|
* The short-date format for displaying the
|
|
14498
14471
|
* selected date in the Scheduler toolbar.
|
|
14499
|
-
* Defaults to `{0:D}`
|
|
14500
14472
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
14473
|
+
* @default '{0:d}'
|
|
14501
14474
|
*/
|
|
14502
14475
|
set selectedShortDateFormat(value) {
|
|
14503
14476
|
this._selectedShortDateFormat = value;
|
|
@@ -14617,11 +14590,12 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
14617
14590
|
super(localization, changeDetector, viewContext, viewState);
|
|
14618
14591
|
/**
|
|
14619
14592
|
* Specifies the number of days that the view will render.
|
|
14620
|
-
*
|
|
14593
|
+
* @default 1
|
|
14621
14594
|
*/
|
|
14622
14595
|
this.numberOfDays = 1;
|
|
14623
14596
|
/**
|
|
14624
|
-
* The invariant name for this view
|
|
14597
|
+
* The invariant name for this view.
|
|
14598
|
+
* @default 'multi-day'
|
|
14625
14599
|
*/
|
|
14626
14600
|
this.name = 'multiDay';
|
|
14627
14601
|
}
|
|
@@ -14630,6 +14604,7 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
14630
14604
|
* selected date in the Scheduler toolbar.
|
|
14631
14605
|
* Defaults to `{0:D} - {1:D}` for multiple days and `{0:D}` for a single day
|
|
14632
14606
|
* ([more information](slug:parsingandformatting_intl#toc-date-formatting)).
|
|
14607
|
+
* @default '{0:D} - {1:D}'
|
|
14633
14608
|
*/
|
|
14634
14609
|
set selectedDateFormat(value) {
|
|
14635
14610
|
this.dateFormat = value;
|
|
@@ -14642,6 +14617,7 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
14642
14617
|
* selected date in the Scheduler toolbar.
|
|
14643
14618
|
* Defaults to `{0:d} - {1:d}` for multiple days and `{0:d}` for a single day
|
|
14644
14619
|
* ([more information](slug:parsingandformatting_intl#toc-date-formatting)).
|
|
14620
|
+
* @default '{0:d} - {1:d}'
|
|
14645
14621
|
*/
|
|
14646
14622
|
set selectedShortDateFormat(value) {
|
|
14647
14623
|
this.shortDateFormat = value;
|
|
@@ -14771,6 +14747,7 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
14771
14747
|
* Defaults to `{0:D} - {1:D}`,
|
|
14772
14748
|
* where `0` is the start and `1` is the end date
|
|
14773
14749
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting).
|
|
14750
|
+
* @default '{0:D} - {1:D}'
|
|
14774
14751
|
*/
|
|
14775
14752
|
this.selectedDateFormat = '{0:D} - {1:D}';
|
|
14776
14753
|
/**
|
|
@@ -14779,10 +14756,12 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
14779
14756
|
* Defaults to `{0:d} - {1:d}`,
|
|
14780
14757
|
* where `0` is the start and `1` is the end date
|
|
14781
14758
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting).
|
|
14759
|
+
* @default '{0:d} - {1:d}'
|
|
14782
14760
|
*/
|
|
14783
14761
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
14784
14762
|
/**
|
|
14785
|
-
* The invariant name for this view
|
|
14763
|
+
* The invariant name for this view.
|
|
14764
|
+
* @default 'week'
|
|
14786
14765
|
*/
|
|
14787
14766
|
this.name = 'week';
|
|
14788
14767
|
this.getStartDate = this.getStartDate.bind(this);
|
|
@@ -14916,7 +14895,8 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
14916
14895
|
constructor(intl, localization, changeDetector, viewContext, viewState) {
|
|
14917
14896
|
super(intl, localization, changeDetector, viewContext, viewState);
|
|
14918
14897
|
/**
|
|
14919
|
-
* The invariant name for this view
|
|
14898
|
+
* The invariant name for this view.
|
|
14899
|
+
* @default 'workWeek'
|
|
14920
14900
|
*/
|
|
14921
14901
|
this.name = 'workWeek';
|
|
14922
14902
|
this.getNextDate = this.getNextDate.bind(this);
|
|
@@ -15626,19 +15606,20 @@ class TimelineViewComponent extends TimelineBase {
|
|
|
15626
15606
|
/**
|
|
15627
15607
|
* The long-date format for displaying the
|
|
15628
15608
|
* selected date in the Scheduler toolbar.
|
|
15629
|
-
* Defaults to `{0:D}`
|
|
15630
15609
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15610
|
+
* @default '{0:D}'
|
|
15631
15611
|
*/
|
|
15632
15612
|
this.selectedDateFormat = '{0:D}';
|
|
15633
15613
|
/**
|
|
15634
15614
|
* The short-date format for displaying the
|
|
15635
15615
|
* selected date in the Scheduler toolbar.
|
|
15636
|
-
* Defaults to `{0:D}`
|
|
15637
15616
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15617
|
+
* @default '{0:d}'
|
|
15638
15618
|
*/
|
|
15639
15619
|
this.selectedShortDateFormat = '{0:d}';
|
|
15640
15620
|
/**
|
|
15641
|
-
* The invariant name for this view
|
|
15621
|
+
* The invariant name for this view.
|
|
15622
|
+
* @default 'timeline'
|
|
15642
15623
|
*/
|
|
15643
15624
|
this.name = 'timeline';
|
|
15644
15625
|
}
|
|
@@ -15743,6 +15724,7 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
15743
15724
|
* Defaults to `{0:D} - {1:D}`
|
|
15744
15725
|
* where `0` is the start and `1` is the end date
|
|
15745
15726
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15727
|
+
* @default '{0:D} - {1:D}'
|
|
15746
15728
|
*/
|
|
15747
15729
|
this.selectedDateFormat = '{0:D} - {1:D}';
|
|
15748
15730
|
/**
|
|
@@ -15751,10 +15733,12 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
15751
15733
|
* Defaults to `{0:d} - {1:d}`
|
|
15752
15734
|
* where `0` is the start and `1` is the end date
|
|
15753
15735
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15736
|
+
* @default '{0:d} - {1:d}'
|
|
15754
15737
|
*/
|
|
15755
15738
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
15756
15739
|
/**
|
|
15757
|
-
* The invariant name for this view
|
|
15740
|
+
* The invariant name for this view.
|
|
15741
|
+
* @default 'timelineWeek'
|
|
15758
15742
|
*/
|
|
15759
15743
|
this.name = 'timelineWeek';
|
|
15760
15744
|
/**
|
|
@@ -15870,19 +15854,20 @@ class TimelineMonthViewComponent extends TimelineBase {
|
|
|
15870
15854
|
/**
|
|
15871
15855
|
* The long-date format for displaying the
|
|
15872
15856
|
* selected date in the Scheduler toolbar.
|
|
15873
|
-
* Defaults to `{0:Y}`
|
|
15874
15857
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15858
|
+
* @default '{0:Y}'
|
|
15875
15859
|
*/
|
|
15876
15860
|
this.selectedDateFormat = '{0:Y}';
|
|
15877
15861
|
/**
|
|
15878
15862
|
* The short-date format for displaying the
|
|
15879
15863
|
* selected date in the Scheduler toolbar.
|
|
15880
|
-
* Defaults to `{0:y}`
|
|
15881
15864
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15865
|
+
* @default '{0:y}'
|
|
15882
15866
|
*/
|
|
15883
15867
|
this.selectedShortDateFormat = '{0:y}';
|
|
15884
15868
|
/**
|
|
15885
|
-
* The invariant name for this view
|
|
15869
|
+
* The invariant name for this view.
|
|
15870
|
+
* @default 'timelineMonth'
|
|
15886
15871
|
*/
|
|
15887
15872
|
this.name = 'timelineMonth';
|
|
15888
15873
|
/**
|
|
@@ -17346,7 +17331,7 @@ class PDFComponent {
|
|
|
17346
17331
|
this.ngZone = ngZone;
|
|
17347
17332
|
/**
|
|
17348
17333
|
* The creator of the PDF document.
|
|
17349
|
-
*
|
|
17334
|
+
* @default 'Kendo UI PDF Generator'
|
|
17350
17335
|
*/
|
|
17351
17336
|
this.creator = 'Kendo UI PDF Generator';
|
|
17352
17337
|
this.subscriptions = this.pdfService.elementReady.subscribe(this.createElement.bind(this));
|