@progress/kendo-angular-scheduler 13.4.1-develop.2 → 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
|
|
|
@@ -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
|
-
*
|
|
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
|
/**
|
|
@@ -6279,7 +6267,7 @@ class SchedulerComponent {
|
|
|
6279
6267
|
/**
|
|
6280
6268
|
* Specifies the id of the timezone that will be displayed in the Scheduler.
|
|
6281
6269
|
* For example, `Europe/Sofia`.
|
|
6282
|
-
*
|
|
6270
|
+
* @default 'Etc/UTC'
|
|
6283
6271
|
*/
|
|
6284
6272
|
set timezone(value) {
|
|
6285
6273
|
this._timezone = value;
|
|
@@ -6607,11 +6595,6 @@ class SchedulerComponent {
|
|
|
6607
6595
|
* @param y - The y document position.
|
|
6608
6596
|
*
|
|
6609
6597
|
* @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
6598
|
*/
|
|
6616
6599
|
slotByPosition(x, y) {
|
|
6617
6600
|
return this.viewContext.executeMethod('slotByPosition', { x, y });
|
|
@@ -6638,17 +6621,9 @@ class SchedulerComponent {
|
|
|
6638
6621
|
/**
|
|
6639
6622
|
* Focuses the next event or an event at a specified relative position.
|
|
6640
6623
|
* The `options` parameter can be used to set a positive or negative offset
|
|
6641
|
-
* that is relative to the currently focused event.
|
|
6624
|
+
* that is relative to the currently focused event ([see example](slug:keyboard_navigation_scheduler#toc-event-navigation-with-the-tab-key)).
|
|
6642
6625
|
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
6643
6626
|
*
|
|
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
6627
|
* @param position The relative position of the event to focus.
|
|
6653
6628
|
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
6654
6629
|
*/
|
|
@@ -6660,15 +6635,9 @@ class SchedulerComponent {
|
|
|
6660
6635
|
/**
|
|
6661
6636
|
* Focuses the previous event or an event at a specified relative position.
|
|
6662
6637
|
* The `options` parameter can be used to set a positive or negative offset
|
|
6663
|
-
* that is relative to the currently focused event.
|
|
6638
|
+
* that is relative to the currently focused event ([see example](slug:keyboard_navigation_scheduler#toc-event-navigation-with-the-tab-key)).
|
|
6664
6639
|
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
6665
6640
|
*
|
|
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
6641
|
* @param position The relative position of the event to focus.
|
|
6673
6642
|
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
6674
6643
|
*/
|
|
@@ -9031,15 +9000,17 @@ class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
9031
9000
|
* Defaults to `{0:d} - {1:d}`,
|
|
9032
9001
|
* where `0` is the start and `1` is the end date
|
|
9033
9002
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
9003
|
+
* @default '{0:d} - {1:d}'
|
|
9034
9004
|
*/
|
|
9035
9005
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
9036
9006
|
/**
|
|
9037
9007
|
* Specifies the number of days that the view will render.
|
|
9038
|
-
*
|
|
9008
|
+
* @default 7
|
|
9039
9009
|
*/
|
|
9040
9010
|
this.numberOfDays = 7;
|
|
9041
9011
|
/**
|
|
9042
9012
|
* The invariant name for this view (`agenda`).
|
|
9013
|
+
* @default 'agenda'
|
|
9043
9014
|
*/
|
|
9044
9015
|
this.name = 'agenda';
|
|
9045
9016
|
}
|
|
@@ -11746,19 +11717,20 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
11746
11717
|
/**
|
|
11747
11718
|
* The long-date format for displaying the
|
|
11748
11719
|
* selected date in the Scheduler toolbar.
|
|
11749
|
-
* Defaults to `{0:Y}`
|
|
11750
11720
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
11721
|
+
* @default '{0:Y}'
|
|
11751
11722
|
*/
|
|
11752
11723
|
this.selectedDateFormat = '{0:Y}';
|
|
11753
11724
|
/**
|
|
11754
11725
|
* The short-date format for displaying the
|
|
11755
11726
|
* selected date in the Scheduler toolbar.
|
|
11756
|
-
* Defaults to `{0:y}`
|
|
11757
11727
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting.
|
|
11728
|
+
* @default '{0:y}'
|
|
11758
11729
|
*/
|
|
11759
11730
|
this.selectedShortDateFormat = '{0:y}';
|
|
11760
11731
|
/**
|
|
11761
|
-
* The invariant name for this view
|
|
11732
|
+
* The invariant name for this view.
|
|
11733
|
+
* @default 'month'
|
|
11762
11734
|
*/
|
|
11763
11735
|
this.name = 'month';
|
|
11764
11736
|
}
|
|
@@ -11863,21 +11835,21 @@ class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
|
11863
11835
|
this.intl = intl;
|
|
11864
11836
|
/**
|
|
11865
11837
|
* The number of weeks to be rendered.
|
|
11866
|
-
*
|
|
11838
|
+
* @default 6
|
|
11867
11839
|
*/
|
|
11868
11840
|
this.numberOfWeeks = WEEKS_COUNT;
|
|
11869
11841
|
/**
|
|
11870
11842
|
* The long-date format for displaying the
|
|
11871
11843
|
* selected date in the Scheduler toolbar.
|
|
11872
|
-
* Defaults to `{0:D} - {1:D}`
|
|
11873
11844
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
11845
|
+
* @default '{0:D} - {1:D}'
|
|
11874
11846
|
*/
|
|
11875
11847
|
this.selectedDateFormat = '{0:D} - {1:D}';
|
|
11876
11848
|
/**
|
|
11877
11849
|
* The short-date format for displaying the
|
|
11878
11850
|
* selected date in the Scheduler toolbar.
|
|
11879
|
-
* Defaults to `{0:d} - {1:d}`
|
|
11880
11851
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting.
|
|
11852
|
+
* @default '{0:d} - {1:d}'
|
|
11881
11853
|
*/
|
|
11882
11854
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
11883
11855
|
/**
|
|
@@ -14422,7 +14394,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
14422
14394
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
14423
14395
|
super(localization, changeDetector, viewContext, viewState);
|
|
14424
14396
|
/**
|
|
14425
|
-
* The invariant name for this view
|
|
14397
|
+
* The invariant name for this view.
|
|
14398
|
+
* @default 'day'
|
|
14426
14399
|
*/
|
|
14427
14400
|
this.name = 'day';
|
|
14428
14401
|
this._selectedDateFormat = '{0:D}';
|
|
@@ -14437,8 +14410,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
14437
14410
|
/**
|
|
14438
14411
|
* The long-date format for displaying the
|
|
14439
14412
|
* selected date in the Scheduler toolbar.
|
|
14440
|
-
* Defaults to `{0:D}`
|
|
14441
14413
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
14414
|
+
* @default '{0:D}'
|
|
14442
14415
|
*/
|
|
14443
14416
|
set selectedDateFormat(value) {
|
|
14444
14417
|
this._selectedDateFormat = value;
|
|
@@ -14450,8 +14423,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
14450
14423
|
/**
|
|
14451
14424
|
* The short-date format for displaying the
|
|
14452
14425
|
* selected date in the Scheduler toolbar.
|
|
14453
|
-
* Defaults to `{0:D}`
|
|
14454
14426
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
14427
|
+
* @default '{0:d}'
|
|
14455
14428
|
*/
|
|
14456
14429
|
set selectedShortDateFormat(value) {
|
|
14457
14430
|
this._selectedShortDateFormat = value;
|
|
@@ -14571,11 +14544,12 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
14571
14544
|
super(localization, changeDetector, viewContext, viewState);
|
|
14572
14545
|
/**
|
|
14573
14546
|
* Specifies the number of days that the view will render.
|
|
14574
|
-
*
|
|
14547
|
+
* @default 1
|
|
14575
14548
|
*/
|
|
14576
14549
|
this.numberOfDays = 1;
|
|
14577
14550
|
/**
|
|
14578
|
-
* The invariant name for this view
|
|
14551
|
+
* The invariant name for this view.
|
|
14552
|
+
* @default 'multi-day'
|
|
14579
14553
|
*/
|
|
14580
14554
|
this.name = 'multiDay';
|
|
14581
14555
|
}
|
|
@@ -14584,6 +14558,7 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
14584
14558
|
* selected date in the Scheduler toolbar.
|
|
14585
14559
|
* Defaults to `{0:D} - {1:D}` for multiple days and `{0:D}` for a single day
|
|
14586
14560
|
* ([more information](slug:parsingandformatting_intl#toc-date-formatting)).
|
|
14561
|
+
* @default '{0:D} - {1:D}'
|
|
14587
14562
|
*/
|
|
14588
14563
|
set selectedDateFormat(value) {
|
|
14589
14564
|
this.dateFormat = value;
|
|
@@ -14596,6 +14571,7 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
14596
14571
|
* selected date in the Scheduler toolbar.
|
|
14597
14572
|
* Defaults to `{0:d} - {1:d}` for multiple days and `{0:d}` for a single day
|
|
14598
14573
|
* ([more information](slug:parsingandformatting_intl#toc-date-formatting)).
|
|
14574
|
+
* @default '{0:d} - {1:d}'
|
|
14599
14575
|
*/
|
|
14600
14576
|
set selectedShortDateFormat(value) {
|
|
14601
14577
|
this.shortDateFormat = value;
|
|
@@ -14725,6 +14701,7 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
14725
14701
|
* Defaults to `{0:D} - {1:D}`,
|
|
14726
14702
|
* where `0` is the start and `1` is the end date
|
|
14727
14703
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting).
|
|
14704
|
+
* @default '{0:D} - {1:D}'
|
|
14728
14705
|
*/
|
|
14729
14706
|
this.selectedDateFormat = '{0:D} - {1:D}';
|
|
14730
14707
|
/**
|
|
@@ -14733,10 +14710,12 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
14733
14710
|
* Defaults to `{0:d} - {1:d}`,
|
|
14734
14711
|
* where `0` is the start and `1` is the end date
|
|
14735
14712
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting).
|
|
14713
|
+
* @default '{0:d} - {1:d}'
|
|
14736
14714
|
*/
|
|
14737
14715
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
14738
14716
|
/**
|
|
14739
|
-
* The invariant name for this view
|
|
14717
|
+
* The invariant name for this view.
|
|
14718
|
+
* @default 'week'
|
|
14740
14719
|
*/
|
|
14741
14720
|
this.name = 'week';
|
|
14742
14721
|
this.getStartDate = this.getStartDate.bind(this);
|
|
@@ -14870,7 +14849,8 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
14870
14849
|
constructor(intl, localization, changeDetector, viewContext, viewState) {
|
|
14871
14850
|
super(intl, localization, changeDetector, viewContext, viewState);
|
|
14872
14851
|
/**
|
|
14873
|
-
* The invariant name for this view
|
|
14852
|
+
* The invariant name for this view.
|
|
14853
|
+
* @default 'workWeek'
|
|
14874
14854
|
*/
|
|
14875
14855
|
this.name = 'workWeek';
|
|
14876
14856
|
this.getNextDate = this.getNextDate.bind(this);
|
|
@@ -15580,19 +15560,20 @@ class TimelineViewComponent extends TimelineBase {
|
|
|
15580
15560
|
/**
|
|
15581
15561
|
* The long-date format for displaying the
|
|
15582
15562
|
* selected date in the Scheduler toolbar.
|
|
15583
|
-
* Defaults to `{0:D}`
|
|
15584
15563
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15564
|
+
* @default '{0:D}'
|
|
15585
15565
|
*/
|
|
15586
15566
|
this.selectedDateFormat = '{0:D}';
|
|
15587
15567
|
/**
|
|
15588
15568
|
* The short-date format for displaying the
|
|
15589
15569
|
* selected date in the Scheduler toolbar.
|
|
15590
|
-
* Defaults to `{0:D}`
|
|
15591
15570
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15571
|
+
* @default '{0:d}'
|
|
15592
15572
|
*/
|
|
15593
15573
|
this.selectedShortDateFormat = '{0:d}';
|
|
15594
15574
|
/**
|
|
15595
|
-
* The invariant name for this view
|
|
15575
|
+
* The invariant name for this view.
|
|
15576
|
+
* @default 'timeline'
|
|
15596
15577
|
*/
|
|
15597
15578
|
this.name = 'timeline';
|
|
15598
15579
|
}
|
|
@@ -15697,6 +15678,7 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
15697
15678
|
* Defaults to `{0:D} - {1:D}`
|
|
15698
15679
|
* where `0` is the start and `1` is the end date
|
|
15699
15680
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15681
|
+
* @default '{0:D} - {1:D}'
|
|
15700
15682
|
*/
|
|
15701
15683
|
this.selectedDateFormat = '{0:D} - {1:D}';
|
|
15702
15684
|
/**
|
|
@@ -15705,10 +15687,12 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
15705
15687
|
* Defaults to `{0:d} - {1:d}`
|
|
15706
15688
|
* where `0` is the start and `1` is the end date
|
|
15707
15689
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15690
|
+
* @default '{0:d} - {1:d}'
|
|
15708
15691
|
*/
|
|
15709
15692
|
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
15710
15693
|
/**
|
|
15711
|
-
* The invariant name for this view
|
|
15694
|
+
* The invariant name for this view.
|
|
15695
|
+
* @default 'timelineWeek'
|
|
15712
15696
|
*/
|
|
15713
15697
|
this.name = 'timelineWeek';
|
|
15714
15698
|
/**
|
|
@@ -15824,19 +15808,20 @@ class TimelineMonthViewComponent extends TimelineBase {
|
|
|
15824
15808
|
/**
|
|
15825
15809
|
* The long-date format for displaying the
|
|
15826
15810
|
* selected date in the Scheduler toolbar.
|
|
15827
|
-
* Defaults to `{0:Y}`
|
|
15828
15811
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15812
|
+
* @default '{0:Y}'
|
|
15829
15813
|
*/
|
|
15830
15814
|
this.selectedDateFormat = '{0:Y}';
|
|
15831
15815
|
/**
|
|
15832
15816
|
* The short-date format for displaying the
|
|
15833
15817
|
* selected date in the Scheduler toolbar.
|
|
15834
|
-
* Defaults to `{0:y}`
|
|
15835
15818
|
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
15819
|
+
* @default '{0:y}'
|
|
15836
15820
|
*/
|
|
15837
15821
|
this.selectedShortDateFormat = '{0:y}';
|
|
15838
15822
|
/**
|
|
15839
|
-
* The invariant name for this view
|
|
15823
|
+
* The invariant name for this view.
|
|
15824
|
+
* @default 'timelineMonth'
|
|
15840
15825
|
*/
|
|
15841
15826
|
this.name = 'timelineMonth';
|
|
15842
15827
|
/**
|
|
@@ -17300,7 +17285,7 @@ class PDFComponent {
|
|
|
17300
17285
|
this.ngZone = ngZone;
|
|
17301
17286
|
/**
|
|
17302
17287
|
* The creator of the PDF document.
|
|
17303
|
-
*
|
|
17288
|
+
* @default 'Kendo UI PDF Generator'
|
|
17304
17289
|
*/
|
|
17305
17290
|
this.creator = 'Kendo UI PDF Generator';
|
|
17306
17291
|
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
|
|
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
|
+
"version": "13.4.1-develop.4",
|
|
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.
|
|
29
|
-
"@progress/kendo-angular-common": "13.4.1-develop.
|
|
30
|
-
"@progress/kendo-angular-dateinputs": "13.4.1-develop.
|
|
31
|
-
"@progress/kendo-angular-dialog": "13.4.1-develop.
|
|
32
|
-
"@progress/kendo-angular-dropdowns": "13.4.1-develop.
|
|
33
|
-
"@progress/kendo-angular-icons": "13.4.1-develop.
|
|
34
|
-
"@progress/kendo-angular-inputs": "13.4.1-develop.
|
|
35
|
-
"@progress/kendo-angular-intl": "13.4.1-develop.
|
|
36
|
-
"@progress/kendo-angular-l10n": "13.4.1-develop.
|
|
37
|
-
"@progress/kendo-angular-popup": "13.4.1-develop.
|
|
28
|
+
"@progress/kendo-angular-buttons": "13.4.1-develop.4",
|
|
29
|
+
"@progress/kendo-angular-common": "13.4.1-develop.4",
|
|
30
|
+
"@progress/kendo-angular-dateinputs": "13.4.1-develop.4",
|
|
31
|
+
"@progress/kendo-angular-dialog": "13.4.1-develop.4",
|
|
32
|
+
"@progress/kendo-angular-dropdowns": "13.4.1-develop.4",
|
|
33
|
+
"@progress/kendo-angular-icons": "13.4.1-develop.4",
|
|
34
|
+
"@progress/kendo-angular-inputs": "13.4.1-develop.4",
|
|
35
|
+
"@progress/kendo-angular-intl": "13.4.1-develop.4",
|
|
36
|
+
"@progress/kendo-angular-l10n": "13.4.1-develop.4",
|
|
37
|
+
"@progress/kendo-angular-popup": "13.4.1-develop.4",
|
|
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.
|
|
42
|
+
"@progress/kendo-angular-schematics": "13.4.1-develop.4",
|
|
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",
|
package/pdf/pdf.component.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare class PDFComponent implements OnDestroy {
|
|
|
23
23
|
avoidLinks: boolean | string;
|
|
24
24
|
/**
|
|
25
25
|
* The creator of the PDF document.
|
|
26
|
-
*
|
|
26
|
+
* @default 'Kendo UI PDF Generator'
|
|
27
27
|
*/
|
|
28
28
|
creator: string;
|
|
29
29
|
/**
|
|
@@ -50,21 +50,13 @@ export declare class PDFComponent implements OnDestroy {
|
|
|
50
50
|
keywords: string;
|
|
51
51
|
/**
|
|
52
52
|
* Specifies the margins of the page.
|
|
53
|
-
*
|
|
54
|
-
* > Numbers are treated as points (`"pt"`).
|
|
55
|
-
*
|
|
56
|
-
* The supported units are:
|
|
57
|
-
* * `"mm"`
|
|
58
|
-
* * `"cm"`
|
|
59
|
-
* * `"in"`
|
|
60
|
-
* * `"pt"` (default).
|
|
61
|
-
*
|
|
53
|
+
* @default 'pt'
|
|
62
54
|
*/
|
|
63
55
|
margin: string | number | pdf.PageMargin;
|
|
64
56
|
/**
|
|
65
57
|
* A scale factor. The text size on the screen might be too big for printing.
|
|
66
58
|
* To scale down the output in PDF, use this option.
|
|
67
|
-
*
|
|
59
|
+
* @default 1
|
|
68
60
|
*/
|
|
69
61
|
scale: number;
|
|
70
62
|
/**
|
|
@@ -89,10 +81,11 @@ export declare class PDFComponent implements OnDestroy {
|
|
|
89
81
|
proxyURL: string;
|
|
90
82
|
/**
|
|
91
83
|
* A name or keyword which indicates where to display the document that is
|
|
92
|
-
* returned from the proxy.
|
|
84
|
+
* returned from the proxy.
|
|
93
85
|
*
|
|
94
86
|
* To display the document in a new window or iframe, the proxy has to have the
|
|
95
87
|
* `"Content-Disposition"` header set to `inline; filename="<fileName.pdf>"`.
|
|
88
|
+
* @default '_self'
|
|
96
89
|
*/
|
|
97
90
|
proxyTarget: string;
|
|
98
91
|
/**
|