@progress/kendo-angular-scheduler 11.0.1-develop.5 → 11.1.0-develop.10
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/esm2020/editing/dialogs.service.mjs +7 -6
- package/esm2020/editing/edit-dialog.component.mjs +4 -3
- package/esm2020/editing/edit.service.mjs +3 -2
- package/esm2020/editing-directives/editing-directive-base.mjs +10 -9
- package/esm2020/editing-directives/reactive-editing.directive.mjs +5 -3
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/types/crud-operation.enum.mjs +12 -1
- package/esm2020/types/edit-mode.enum.mjs +15 -1
- package/esm2020/types.mjs +2 -0
- package/fesm2015/progress-kendo-angular-scheduler.mjs +55 -26
- package/fesm2020/progress-kendo-angular-scheduler.mjs +55 -26
- package/package.json +12 -12
- package/schematics/ngAdd/index.js +2 -2
- package/types/crud-operation.enum.d.ts +1 -1
- package/types/edit-mode.enum.d.ts +1 -1
|
@@ -7,6 +7,7 @@ import { DialogCloseResult, DialogService } from '@progress/kendo-angular-dialog
|
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { map, take } from 'rxjs/operators';
|
|
9
9
|
import { FocusService } from '../navigation/focus.service';
|
|
10
|
+
import { CrudOperation, EditMode } from '../types';
|
|
10
11
|
import { ViewStateService } from '../views/view-state.service';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
import * as i1 from "@progress/kendo-angular-dialog";
|
|
@@ -53,18 +54,18 @@ export class DialogsService {
|
|
|
53
54
|
const dialog = this.dialogService.open({
|
|
54
55
|
actions: [
|
|
55
56
|
{
|
|
56
|
-
text: operation ===
|
|
57
|
-
value:
|
|
57
|
+
text: operation === CrudOperation.Edit ? this.textFor('editOccurrence') : this.textFor('deleteOccurrence'),
|
|
58
|
+
value: EditMode.Occurrence
|
|
58
59
|
},
|
|
59
60
|
{
|
|
60
|
-
text: operation ===
|
|
61
|
-
value:
|
|
61
|
+
text: operation === CrudOperation.Edit ? this.textFor('editSeries') : this.textFor('deleteSeries'),
|
|
62
|
+
value: EditMode.Series
|
|
62
63
|
}
|
|
63
64
|
],
|
|
64
65
|
appendTo: this.container,
|
|
65
66
|
autoFocusedElement: 'button:nth-child(1)',
|
|
66
|
-
content: operation ===
|
|
67
|
-
title: operation ===
|
|
67
|
+
content: operation === CrudOperation.Edit ? this.textFor('editRecurringConfirmation') : this.textFor('deleteRecurringConfirmation'),
|
|
68
|
+
title: operation === CrudOperation.Edit ? this.textFor('editRecurringDialogTitle') : this.textFor('deleteRecurringDialogTitle')
|
|
68
69
|
});
|
|
69
70
|
this.isOpen = true;
|
|
70
71
|
this.changeDetector.markForCheck();
|
|
@@ -8,6 +8,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
8
8
|
import { EditService } from './edit.service';
|
|
9
9
|
import { fromEvent } from 'rxjs';
|
|
10
10
|
import { isPresent } from '../common/util';
|
|
11
|
+
import { EditMode } from '../types';
|
|
11
12
|
import { EditDialogTemplateDirective } from './edit-dialog-template.directive';
|
|
12
13
|
import { MultipleResourceEditorComponent } from './resource-multiple-editor.component';
|
|
13
14
|
import { SingleResourceEditorComponent } from './resource-single-editor.component';
|
|
@@ -68,7 +69,7 @@ export class EditDialogComponent {
|
|
|
68
69
|
return '.k-form-field-wrap input';
|
|
69
70
|
}
|
|
70
71
|
get isEditingSeries() {
|
|
71
|
-
return this.editMode ===
|
|
72
|
+
return this.editMode === EditMode.Series && Boolean(this.formGroup.get(this.fields.recurrenceRule));
|
|
72
73
|
}
|
|
73
74
|
get eventTimezone() {
|
|
74
75
|
return formValueOrDefault(this.formGroup, this.fields.startTimezone, this.timezone);
|
|
@@ -79,7 +80,7 @@ export class EditDialogComponent {
|
|
|
79
80
|
onChange() {
|
|
80
81
|
this.changeDetector.markForCheck();
|
|
81
82
|
if (this.editService.hasNewEvent) {
|
|
82
|
-
this.editMode =
|
|
83
|
+
this.editMode = EditMode.Series;
|
|
83
84
|
this.formGroup = this.editService.context.formGroup;
|
|
84
85
|
this.isNew = true;
|
|
85
86
|
this.applyLocalTimezone();
|
|
@@ -89,7 +90,7 @@ export class EditDialogComponent {
|
|
|
89
90
|
this.formGroup = this.editService.context.formGroup;
|
|
90
91
|
this.isNew = false;
|
|
91
92
|
this.editedEvent = dataItem;
|
|
92
|
-
this.editMode = isPresent(mode) ? mode :
|
|
93
|
+
this.editMode = isPresent(mode) ? mode : EditMode.Series;
|
|
93
94
|
this.applyLocalTimezone();
|
|
94
95
|
}
|
|
95
96
|
else {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { Injectable, EventEmitter, NgZone } from '@angular/core';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import { debounceTime } from 'rxjs/operators';
|
|
8
|
+
import { EditMode } from '../types';
|
|
8
9
|
import { isPresent } from '../common/util';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
// const toSimilarDate = (date: ZonedDate): Date => new Date(
|
|
@@ -65,10 +66,10 @@ export class EditService {
|
|
|
65
66
|
}
|
|
66
67
|
get occurrenceEditMode() {
|
|
67
68
|
if (this.hasNewEvent) {
|
|
68
|
-
return
|
|
69
|
+
return EditMode.Series;
|
|
69
70
|
}
|
|
70
71
|
else {
|
|
71
|
-
return this.editedEvent.mode ||
|
|
72
|
+
return this.editedEvent.mode || EditMode.Event;
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
75
|
get hasNewEvent() {
|
|
@@ -8,6 +8,7 @@ import { merge } from 'rxjs';
|
|
|
8
8
|
import { LocalDataChangesService } from '../editing/local-data-changes.service';
|
|
9
9
|
import { LocalEditService } from './local-edit.service';
|
|
10
10
|
import { DialogsService } from '../editing/dialogs.service';
|
|
11
|
+
import { EditMode, CrudOperation } from '../types';
|
|
11
12
|
import { AddEvent } from '../events';
|
|
12
13
|
import { groupResources, assignValues, clone, setField, getField } from '../common/util';
|
|
13
14
|
import { diff, areEqual, seriesDate } from './utils';
|
|
@@ -99,7 +100,7 @@ export class EditingDirectiveBase {
|
|
|
99
100
|
return;
|
|
100
101
|
}
|
|
101
102
|
if (this.editService.isRecurring(dataItem)) {
|
|
102
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
103
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Remove)
|
|
103
104
|
.subscribe((editMode) => {
|
|
104
105
|
if (editMode !== undefined) {
|
|
105
106
|
this.handleRemove(dataItem, editMode);
|
|
@@ -111,7 +112,7 @@ export class EditingDirectiveBase {
|
|
|
111
112
|
this.dialogsService.openRemoveConfirmationDialog()
|
|
112
113
|
.subscribe((shouldRemove) => {
|
|
113
114
|
if (shouldRemove) {
|
|
114
|
-
this.handleRemove(dataItem,
|
|
115
|
+
this.handleRemove(dataItem, EditMode.Event);
|
|
115
116
|
this.focusService.focusContent();
|
|
116
117
|
}
|
|
117
118
|
});
|
|
@@ -125,7 +126,7 @@ export class EditingDirectiveBase {
|
|
|
125
126
|
}
|
|
126
127
|
handleUpdate(item, value, mode) {
|
|
127
128
|
const svc = this.editService;
|
|
128
|
-
if (mode ===
|
|
129
|
+
if (mode === EditMode.Occurrence) {
|
|
129
130
|
// eslint-disable-next-line no-unused-expressions
|
|
130
131
|
svc.isException(item) ?
|
|
131
132
|
svc.update(item, value) :
|
|
@@ -138,10 +139,10 @@ export class EditingDirectiveBase {
|
|
|
138
139
|
}
|
|
139
140
|
handleRemove(item, mode) {
|
|
140
141
|
const svc = this.editService;
|
|
141
|
-
if (mode ===
|
|
142
|
+
if (mode === EditMode.Series) {
|
|
142
143
|
svc.removeSeries(item);
|
|
143
144
|
}
|
|
144
|
-
else if (mode ===
|
|
145
|
+
else if (mode === EditMode.Occurrence) {
|
|
145
146
|
svc.isException(item) ?
|
|
146
147
|
svc.remove(item) :
|
|
147
148
|
svc.removeOccurrence(item);
|
|
@@ -161,10 +162,10 @@ export class EditingDirectiveBase {
|
|
|
161
162
|
setField(value, fields.start, start);
|
|
162
163
|
setField(value, fields.end, end);
|
|
163
164
|
if (this.editService.isRecurring(dataItem)) {
|
|
164
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
165
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Edit)
|
|
165
166
|
.subscribe((result) => {
|
|
166
167
|
let target = dataItem;
|
|
167
|
-
if (result ===
|
|
168
|
+
if (result === EditMode.Series) {
|
|
168
169
|
target = this.editService.findRecurrenceMaster(dataItem);
|
|
169
170
|
setField(value, fields.start, seriesDate(target, dataItem, value, fields.start));
|
|
170
171
|
setField(value, fields.end, seriesDate(target, dataItem, value, fields.end));
|
|
@@ -191,10 +192,10 @@ export class EditingDirectiveBase {
|
|
|
191
192
|
return;
|
|
192
193
|
}
|
|
193
194
|
if (this.editService.isRecurring(dataItem)) {
|
|
194
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
195
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Edit)
|
|
195
196
|
.subscribe((result) => {
|
|
196
197
|
let target = dataItem;
|
|
197
|
-
if (result ===
|
|
198
|
+
if (result === EditMode.Series) {
|
|
198
199
|
target = this.editService.findRecurrenceMaster(dataItem);
|
|
199
200
|
setField(value, modelFields.start, seriesDate(target, dataItem, value, modelFields.start));
|
|
200
201
|
setField(value, modelFields.end, seriesDate(target, dataItem, value, modelFields.end));
|
|
@@ -8,6 +8,8 @@ import { EditingDirectiveBase } from './editing-directive-base';
|
|
|
8
8
|
import { LocalDataChangesService } from '../editing/local-data-changes.service';
|
|
9
9
|
import { markAllAsTouched } from './utils';
|
|
10
10
|
import { DialogsService } from '../editing/dialogs.service';
|
|
11
|
+
import { CrudOperation } from '../types';
|
|
12
|
+
import { EditMode } from '../types/edit-mode.enum';
|
|
11
13
|
import { EditEvent } from '../events';
|
|
12
14
|
import { filter } from 'rxjs/operators';
|
|
13
15
|
import { FocusService } from "../navigation";
|
|
@@ -43,10 +45,10 @@ export class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
43
45
|
}
|
|
44
46
|
let dataItem = args.event.dataItem;
|
|
45
47
|
if (this.editService.isRecurring(dataItem)) {
|
|
46
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
48
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Edit)
|
|
47
49
|
.pipe(filter(mode => mode !== undefined))
|
|
48
50
|
.subscribe((mode) => {
|
|
49
|
-
if (mode ===
|
|
51
|
+
if (mode === EditMode.Series) {
|
|
50
52
|
dataItem = this.editService.findRecurrenceMaster(dataItem);
|
|
51
53
|
}
|
|
52
54
|
const group = this.createModel({
|
|
@@ -62,7 +64,7 @@ export class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
62
64
|
const group = this.createModel({
|
|
63
65
|
action: 'edit',
|
|
64
66
|
isNew: false,
|
|
65
|
-
mode:
|
|
67
|
+
mode: EditMode.Event,
|
|
66
68
|
dataItem
|
|
67
69
|
});
|
|
68
70
|
this.scheduler.editEvent(dataItem, { group });
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-scheduler',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '11.0
|
|
12
|
+
publishDate: 1675171793,
|
|
13
|
+
version: '11.1.0-develop.10',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -2,4 +2,15 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* The selected CRUD operation when the user edits or removes recurring events.
|
|
7
|
+
*
|
|
8
|
+
* The supported values are:
|
|
9
|
+
* * `Edit`
|
|
10
|
+
* * `Remove`
|
|
11
|
+
*/
|
|
12
|
+
export var CrudOperation;
|
|
13
|
+
(function (CrudOperation) {
|
|
14
|
+
CrudOperation[CrudOperation["Edit"] = 0] = "Edit";
|
|
15
|
+
CrudOperation[CrudOperation["Remove"] = 1] = "Remove";
|
|
16
|
+
})(CrudOperation || (CrudOperation = {}));
|
|
@@ -2,4 +2,18 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* The selected edit mode during the update or removal of events.
|
|
7
|
+
* For non-recurring events, set to `Event`.
|
|
8
|
+
*
|
|
9
|
+
* The supported values are:
|
|
10
|
+
* * `Event`—Edits the selected event.
|
|
11
|
+
* * `Occurrence`—Edits the selected occurrence.
|
|
12
|
+
* * `Series`—Edits all events in the series.
|
|
13
|
+
*/
|
|
14
|
+
export var EditMode;
|
|
15
|
+
(function (EditMode) {
|
|
16
|
+
EditMode[EditMode["Event"] = 0] = "Event";
|
|
17
|
+
EditMode[EditMode["Occurrence"] = 1] = "Occurrence";
|
|
18
|
+
EditMode[EditMode["Series"] = 2] = "Series";
|
|
19
|
+
})(EditMode || (EditMode = {}));
|
package/esm2020/types.mjs
CHANGED
|
@@ -7,4 +7,6 @@ export * from './types/date-range.interface';
|
|
|
7
7
|
export * from './types/scheduler-event';
|
|
8
8
|
export * from './types/scheduler-view';
|
|
9
9
|
export * from './types/view-item.interface';
|
|
10
|
+
export { EditMode } from './types/edit-mode.enum';
|
|
11
|
+
export { CrudOperation } from './types/crud-operation.enum';
|
|
10
12
|
export { IsSlotSelectedArgs } from './types/slot-selection';
|
|
@@ -46,8 +46,8 @@ const packageMetadata = {
|
|
|
46
46
|
name: '@progress/kendo-angular-scheduler',
|
|
47
47
|
productName: 'Kendo UI for Angular',
|
|
48
48
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
49
|
-
publishDate:
|
|
50
|
-
version: '11.0
|
|
49
|
+
publishDate: 1675171793,
|
|
50
|
+
version: '11.1.0-develop.10',
|
|
51
51
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
52
52
|
};
|
|
53
53
|
|
|
@@ -441,6 +441,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
441
441
|
class SchedulerView {
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
+
/**
|
|
445
|
+
* The selected edit mode during the update or removal of events.
|
|
446
|
+
* For non-recurring events, set to `Event`.
|
|
447
|
+
*
|
|
448
|
+
* The supported values are:
|
|
449
|
+
* * `Event`—Edits the selected event.
|
|
450
|
+
* * `Occurrence`—Edits the selected occurrence.
|
|
451
|
+
* * `Series`—Edits all events in the series.
|
|
452
|
+
*/
|
|
453
|
+
var EditMode;
|
|
454
|
+
(function (EditMode) {
|
|
455
|
+
EditMode[EditMode["Event"] = 0] = "Event";
|
|
456
|
+
EditMode[EditMode["Occurrence"] = 1] = "Occurrence";
|
|
457
|
+
EditMode[EditMode["Series"] = 2] = "Series";
|
|
458
|
+
})(EditMode || (EditMode = {}));
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* The selected CRUD operation when the user edits or removes recurring events.
|
|
462
|
+
*
|
|
463
|
+
* The supported values are:
|
|
464
|
+
* * `Edit`
|
|
465
|
+
* * `Remove`
|
|
466
|
+
*/
|
|
467
|
+
var CrudOperation;
|
|
468
|
+
(function (CrudOperation) {
|
|
469
|
+
CrudOperation[CrudOperation["Edit"] = 0] = "Edit";
|
|
470
|
+
CrudOperation[CrudOperation["Remove"] = 1] = "Remove";
|
|
471
|
+
})(CrudOperation || (CrudOperation = {}));
|
|
472
|
+
|
|
444
473
|
/**
|
|
445
474
|
* The arguments for the [`isSlotSelected`]({% slug api_scheduler_schedulercomponent %}#toc-isslotselected) callback.
|
|
446
475
|
*/
|
|
@@ -1365,10 +1394,10 @@ class EditService {
|
|
|
1365
1394
|
}
|
|
1366
1395
|
get occurrenceEditMode() {
|
|
1367
1396
|
if (this.hasNewEvent) {
|
|
1368
|
-
return
|
|
1397
|
+
return EditMode.Series;
|
|
1369
1398
|
}
|
|
1370
1399
|
else {
|
|
1371
|
-
return this.editedEvent.mode ||
|
|
1400
|
+
return this.editedEvent.mode || EditMode.Event;
|
|
1372
1401
|
}
|
|
1373
1402
|
}
|
|
1374
1403
|
get hasNewEvent() {
|
|
@@ -1665,18 +1694,18 @@ class DialogsService {
|
|
|
1665
1694
|
const dialog = this.dialogService.open({
|
|
1666
1695
|
actions: [
|
|
1667
1696
|
{
|
|
1668
|
-
text: operation ===
|
|
1669
|
-
value:
|
|
1697
|
+
text: operation === CrudOperation.Edit ? this.textFor('editOccurrence') : this.textFor('deleteOccurrence'),
|
|
1698
|
+
value: EditMode.Occurrence
|
|
1670
1699
|
},
|
|
1671
1700
|
{
|
|
1672
|
-
text: operation ===
|
|
1673
|
-
value:
|
|
1701
|
+
text: operation === CrudOperation.Edit ? this.textFor('editSeries') : this.textFor('deleteSeries'),
|
|
1702
|
+
value: EditMode.Series
|
|
1674
1703
|
}
|
|
1675
1704
|
],
|
|
1676
1705
|
appendTo: this.container,
|
|
1677
1706
|
autoFocusedElement: 'button:nth-child(1)',
|
|
1678
|
-
content: operation ===
|
|
1679
|
-
title: operation ===
|
|
1707
|
+
content: operation === CrudOperation.Edit ? this.textFor('editRecurringConfirmation') : this.textFor('deleteRecurringConfirmation'),
|
|
1708
|
+
title: operation === CrudOperation.Edit ? this.textFor('editRecurringDialogTitle') : this.textFor('deleteRecurringDialogTitle')
|
|
1680
1709
|
});
|
|
1681
1710
|
this.isOpen = true;
|
|
1682
1711
|
this.changeDetector.markForCheck();
|
|
@@ -5221,7 +5250,7 @@ class EditDialogComponent {
|
|
|
5221
5250
|
return '.k-form-field-wrap input';
|
|
5222
5251
|
}
|
|
5223
5252
|
get isEditingSeries() {
|
|
5224
|
-
return this.editMode ===
|
|
5253
|
+
return this.editMode === EditMode.Series && Boolean(this.formGroup.get(this.fields.recurrenceRule));
|
|
5225
5254
|
}
|
|
5226
5255
|
get eventTimezone() {
|
|
5227
5256
|
return formValueOrDefault(this.formGroup, this.fields.startTimezone, this.timezone);
|
|
@@ -5232,7 +5261,7 @@ class EditDialogComponent {
|
|
|
5232
5261
|
onChange() {
|
|
5233
5262
|
this.changeDetector.markForCheck();
|
|
5234
5263
|
if (this.editService.hasNewEvent) {
|
|
5235
|
-
this.editMode =
|
|
5264
|
+
this.editMode = EditMode.Series;
|
|
5236
5265
|
this.formGroup = this.editService.context.formGroup;
|
|
5237
5266
|
this.isNew = true;
|
|
5238
5267
|
this.applyLocalTimezone();
|
|
@@ -5242,7 +5271,7 @@ class EditDialogComponent {
|
|
|
5242
5271
|
this.formGroup = this.editService.context.formGroup;
|
|
5243
5272
|
this.isNew = false;
|
|
5244
5273
|
this.editedEvent = dataItem;
|
|
5245
|
-
this.editMode = isPresent(mode) ? mode :
|
|
5274
|
+
this.editMode = isPresent(mode) ? mode : EditMode.Series;
|
|
5246
5275
|
this.applyLocalTimezone();
|
|
5247
5276
|
}
|
|
5248
5277
|
else {
|
|
@@ -16073,7 +16102,7 @@ class EditingDirectiveBase {
|
|
|
16073
16102
|
return;
|
|
16074
16103
|
}
|
|
16075
16104
|
if (this.editService.isRecurring(dataItem)) {
|
|
16076
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
16105
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Remove)
|
|
16077
16106
|
.subscribe((editMode) => {
|
|
16078
16107
|
if (editMode !== undefined) {
|
|
16079
16108
|
this.handleRemove(dataItem, editMode);
|
|
@@ -16085,7 +16114,7 @@ class EditingDirectiveBase {
|
|
|
16085
16114
|
this.dialogsService.openRemoveConfirmationDialog()
|
|
16086
16115
|
.subscribe((shouldRemove) => {
|
|
16087
16116
|
if (shouldRemove) {
|
|
16088
|
-
this.handleRemove(dataItem,
|
|
16117
|
+
this.handleRemove(dataItem, EditMode.Event);
|
|
16089
16118
|
this.focusService.focusContent();
|
|
16090
16119
|
}
|
|
16091
16120
|
});
|
|
@@ -16099,7 +16128,7 @@ class EditingDirectiveBase {
|
|
|
16099
16128
|
}
|
|
16100
16129
|
handleUpdate(item, value, mode) {
|
|
16101
16130
|
const svc = this.editService;
|
|
16102
|
-
if (mode ===
|
|
16131
|
+
if (mode === EditMode.Occurrence) {
|
|
16103
16132
|
// eslint-disable-next-line no-unused-expressions
|
|
16104
16133
|
svc.isException(item) ?
|
|
16105
16134
|
svc.update(item, value) :
|
|
@@ -16112,10 +16141,10 @@ class EditingDirectiveBase {
|
|
|
16112
16141
|
}
|
|
16113
16142
|
handleRemove(item, mode) {
|
|
16114
16143
|
const svc = this.editService;
|
|
16115
|
-
if (mode ===
|
|
16144
|
+
if (mode === EditMode.Series) {
|
|
16116
16145
|
svc.removeSeries(item);
|
|
16117
16146
|
}
|
|
16118
|
-
else if (mode ===
|
|
16147
|
+
else if (mode === EditMode.Occurrence) {
|
|
16119
16148
|
svc.isException(item) ?
|
|
16120
16149
|
svc.remove(item) :
|
|
16121
16150
|
svc.removeOccurrence(item);
|
|
@@ -16135,10 +16164,10 @@ class EditingDirectiveBase {
|
|
|
16135
16164
|
setField(value, fields.start, start);
|
|
16136
16165
|
setField(value, fields.end, end);
|
|
16137
16166
|
if (this.editService.isRecurring(dataItem)) {
|
|
16138
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
16167
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Edit)
|
|
16139
16168
|
.subscribe((result) => {
|
|
16140
16169
|
let target = dataItem;
|
|
16141
|
-
if (result ===
|
|
16170
|
+
if (result === EditMode.Series) {
|
|
16142
16171
|
target = this.editService.findRecurrenceMaster(dataItem);
|
|
16143
16172
|
setField(value, fields.start, seriesDate(target, dataItem, value, fields.start));
|
|
16144
16173
|
setField(value, fields.end, seriesDate(target, dataItem, value, fields.end));
|
|
@@ -16165,10 +16194,10 @@ class EditingDirectiveBase {
|
|
|
16165
16194
|
return;
|
|
16166
16195
|
}
|
|
16167
16196
|
if (this.editService.isRecurring(dataItem)) {
|
|
16168
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
16197
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Edit)
|
|
16169
16198
|
.subscribe((result) => {
|
|
16170
16199
|
let target = dataItem;
|
|
16171
|
-
if (result ===
|
|
16200
|
+
if (result === EditMode.Series) {
|
|
16172
16201
|
target = this.editService.findRecurrenceMaster(dataItem);
|
|
16173
16202
|
setField(value, modelFields.start, seriesDate(target, dataItem, value, modelFields.start));
|
|
16174
16203
|
setField(value, modelFields.end, seriesDate(target, dataItem, value, modelFields.end));
|
|
@@ -16227,10 +16256,10 @@ class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
16227
16256
|
}
|
|
16228
16257
|
let dataItem = args.event.dataItem;
|
|
16229
16258
|
if (this.editService.isRecurring(dataItem)) {
|
|
16230
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
16259
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Edit)
|
|
16231
16260
|
.pipe(filter(mode => mode !== undefined))
|
|
16232
16261
|
.subscribe((mode) => {
|
|
16233
|
-
if (mode ===
|
|
16262
|
+
if (mode === EditMode.Series) {
|
|
16234
16263
|
dataItem = this.editService.findRecurrenceMaster(dataItem);
|
|
16235
16264
|
}
|
|
16236
16265
|
const group = this.createModel({
|
|
@@ -16246,7 +16275,7 @@ class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
16246
16275
|
const group = this.createModel({
|
|
16247
16276
|
action: 'edit',
|
|
16248
16277
|
isNew: false,
|
|
16249
|
-
mode:
|
|
16278
|
+
mode: EditMode.Event,
|
|
16250
16279
|
dataItem
|
|
16251
16280
|
});
|
|
16252
16281
|
this.scheduler.editEvent(dataItem, { group });
|
|
@@ -17376,5 +17405,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
17376
17405
|
* Generated bundle index. Do not edit.
|
|
17377
17406
|
*/
|
|
17378
17407
|
|
|
17379
|
-
export { AddEvent, AgendaDateTemplateDirective, AgendaTimeTemplateDirective, AgendaViewComponent, AllDayEventTemplateDirective, AllDaySlotTemplateDirective, BaseEditService, CancelEvent, DataBindingDirective, DateChangeEvent, DateHeaderTemplateDirective, DaySlotDirective, DayTimeModule, DayTimeSlotService, DayTimeViewItemComponent, DayViewComponent, DragEndEvent, DragEvent, DragStartEvent, EditDialogComponent, EditDialogTemplateDirective, EditEvent, EditEventBase, EndRuleRadioButtonDirective, EventClickEvent, EventKeydownEvent, EventTemplateDirective, FocusService, FocusableDirective, GroupHeaderTemplateDirective, HintContainerComponent, IsSlotSelectedArgs, LoadingComponent, LocalizedMessagesDirective, MajorTimeHeaderTemplateDirective, MinorTimeHeaderTemplateDirective, MonthDaySlotTemplateDirective, MonthViewComponent, MonthViewModule, MultiDayViewComponent, MultiDayViewModule, MultiWeekDaySlotTemplateDirective, MultiWeekViewComponent, MultipleResourceEditorComponent, NavigateEvent, PDFCommandDirective, PDFComponent, PDFExportEvent, PDFModule, PDFService, ReactiveEditingDirective, RecurrenceEditorComponent, RecurrenceEditorCustomMessagesComponent, RecurrenceEditorLocalizedMessagesDirective, RecurrenceEndRuleEditorComponent, RecurrenceFrequencyEditorComponent, RecurrenceIntervalEditorComponent, RecurrenceMonthlyYearlyEditorComponent, RecurrenceWeekdayRuleEditorComponent, RemoveEvent, RepeatOnRadioButtonDirective, RepeatPipe, ResizeEndEvent, ResizeEvent, ResizeHintComponent, ResizeStartEvent, ResourceIteratorPipe, SaveEvent, SchedulerComponent, SchedulerCustomMessagesComponent, SchedulerDateTimePickerComponent, SchedulerModule, SchedulerView, SchedulerViewDirective, SharedModule, ShortcutsDirective, SingleResourceEditorComponent, SlotClickEvent, SlotDragEndEvent, SlotDragEvent, SlotDragStartEvent, SlotSelectableDirective, SortPipe, TimeSlotDirective, TimeSlotTemplateDirective, TimeZoneEditorComponent, TimelineBase, TimelineMonthViewComponent, TimelineMultiDayViewComponent, TimelineViewComponent, TimelineViewModule, TimelineWeekViewComponent, ToolbarNavigationComponent, ToolbarService, ToolbarTemplateDirective, ToolbarViewSelectorComponent, VIEW_EVENT_MAP, ViewContextService, ViewFooterComponent, ViewStateService, ViewsSharedModule, WeekViewComponent, WorkHoursFooterDirective, WorkWeekViewComponent };
|
|
17408
|
+
export { AddEvent, AgendaDateTemplateDirective, AgendaTimeTemplateDirective, AgendaViewComponent, AllDayEventTemplateDirective, AllDaySlotTemplateDirective, BaseEditService, CancelEvent, CrudOperation, DataBindingDirective, DateChangeEvent, DateHeaderTemplateDirective, DaySlotDirective, DayTimeModule, DayTimeSlotService, DayTimeViewItemComponent, DayViewComponent, DragEndEvent, DragEvent, DragStartEvent, EditDialogComponent, EditDialogTemplateDirective, EditEvent, EditEventBase, EditMode, EndRuleRadioButtonDirective, EventClickEvent, EventKeydownEvent, EventTemplateDirective, FocusService, FocusableDirective, GroupHeaderTemplateDirective, HintContainerComponent, IsSlotSelectedArgs, LoadingComponent, LocalizedMessagesDirective, MajorTimeHeaderTemplateDirective, MinorTimeHeaderTemplateDirective, MonthDaySlotTemplateDirective, MonthViewComponent, MonthViewModule, MultiDayViewComponent, MultiDayViewModule, MultiWeekDaySlotTemplateDirective, MultiWeekViewComponent, MultipleResourceEditorComponent, NavigateEvent, PDFCommandDirective, PDFComponent, PDFExportEvent, PDFModule, PDFService, ReactiveEditingDirective, RecurrenceEditorComponent, RecurrenceEditorCustomMessagesComponent, RecurrenceEditorLocalizedMessagesDirective, RecurrenceEndRuleEditorComponent, RecurrenceFrequencyEditorComponent, RecurrenceIntervalEditorComponent, RecurrenceMonthlyYearlyEditorComponent, RecurrenceWeekdayRuleEditorComponent, RemoveEvent, RepeatOnRadioButtonDirective, RepeatPipe, ResizeEndEvent, ResizeEvent, ResizeHintComponent, ResizeStartEvent, ResourceIteratorPipe, SaveEvent, SchedulerComponent, SchedulerCustomMessagesComponent, SchedulerDateTimePickerComponent, SchedulerModule, SchedulerView, SchedulerViewDirective, SharedModule, ShortcutsDirective, SingleResourceEditorComponent, SlotClickEvent, SlotDragEndEvent, SlotDragEvent, SlotDragStartEvent, SlotSelectableDirective, SortPipe, TimeSlotDirective, TimeSlotTemplateDirective, TimeZoneEditorComponent, TimelineBase, TimelineMonthViewComponent, TimelineMultiDayViewComponent, TimelineViewComponent, TimelineViewModule, TimelineWeekViewComponent, ToolbarNavigationComponent, ToolbarService, ToolbarTemplateDirective, ToolbarViewSelectorComponent, VIEW_EVENT_MAP, ViewContextService, ViewFooterComponent, ViewStateService, ViewsSharedModule, WeekViewComponent, WorkHoursFooterDirective, WorkWeekViewComponent };
|
|
17380
17409
|
|
|
@@ -46,8 +46,8 @@ const packageMetadata = {
|
|
|
46
46
|
name: '@progress/kendo-angular-scheduler',
|
|
47
47
|
productName: 'Kendo UI for Angular',
|
|
48
48
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
49
|
-
publishDate:
|
|
50
|
-
version: '11.0
|
|
49
|
+
publishDate: 1675171793,
|
|
50
|
+
version: '11.1.0-develop.10',
|
|
51
51
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
52
52
|
};
|
|
53
53
|
|
|
@@ -439,6 +439,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
439
439
|
class SchedulerView {
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
+
/**
|
|
443
|
+
* The selected edit mode during the update or removal of events.
|
|
444
|
+
* For non-recurring events, set to `Event`.
|
|
445
|
+
*
|
|
446
|
+
* The supported values are:
|
|
447
|
+
* * `Event`—Edits the selected event.
|
|
448
|
+
* * `Occurrence`—Edits the selected occurrence.
|
|
449
|
+
* * `Series`—Edits all events in the series.
|
|
450
|
+
*/
|
|
451
|
+
var EditMode;
|
|
452
|
+
(function (EditMode) {
|
|
453
|
+
EditMode[EditMode["Event"] = 0] = "Event";
|
|
454
|
+
EditMode[EditMode["Occurrence"] = 1] = "Occurrence";
|
|
455
|
+
EditMode[EditMode["Series"] = 2] = "Series";
|
|
456
|
+
})(EditMode || (EditMode = {}));
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* The selected CRUD operation when the user edits or removes recurring events.
|
|
460
|
+
*
|
|
461
|
+
* The supported values are:
|
|
462
|
+
* * `Edit`
|
|
463
|
+
* * `Remove`
|
|
464
|
+
*/
|
|
465
|
+
var CrudOperation;
|
|
466
|
+
(function (CrudOperation) {
|
|
467
|
+
CrudOperation[CrudOperation["Edit"] = 0] = "Edit";
|
|
468
|
+
CrudOperation[CrudOperation["Remove"] = 1] = "Remove";
|
|
469
|
+
})(CrudOperation || (CrudOperation = {}));
|
|
470
|
+
|
|
442
471
|
/**
|
|
443
472
|
* The arguments for the [`isSlotSelected`]({% slug api_scheduler_schedulercomponent %}#toc-isslotselected) callback.
|
|
444
473
|
*/
|
|
@@ -1339,10 +1368,10 @@ class EditService {
|
|
|
1339
1368
|
}
|
|
1340
1369
|
get occurrenceEditMode() {
|
|
1341
1370
|
if (this.hasNewEvent) {
|
|
1342
|
-
return
|
|
1371
|
+
return EditMode.Series;
|
|
1343
1372
|
}
|
|
1344
1373
|
else {
|
|
1345
|
-
return this.editedEvent.mode ||
|
|
1374
|
+
return this.editedEvent.mode || EditMode.Event;
|
|
1346
1375
|
}
|
|
1347
1376
|
}
|
|
1348
1377
|
get hasNewEvent() {
|
|
@@ -1633,18 +1662,18 @@ class DialogsService {
|
|
|
1633
1662
|
const dialog = this.dialogService.open({
|
|
1634
1663
|
actions: [
|
|
1635
1664
|
{
|
|
1636
|
-
text: operation ===
|
|
1637
|
-
value:
|
|
1665
|
+
text: operation === CrudOperation.Edit ? this.textFor('editOccurrence') : this.textFor('deleteOccurrence'),
|
|
1666
|
+
value: EditMode.Occurrence
|
|
1638
1667
|
},
|
|
1639
1668
|
{
|
|
1640
|
-
text: operation ===
|
|
1641
|
-
value:
|
|
1669
|
+
text: operation === CrudOperation.Edit ? this.textFor('editSeries') : this.textFor('deleteSeries'),
|
|
1670
|
+
value: EditMode.Series
|
|
1642
1671
|
}
|
|
1643
1672
|
],
|
|
1644
1673
|
appendTo: this.container,
|
|
1645
1674
|
autoFocusedElement: 'button:nth-child(1)',
|
|
1646
|
-
content: operation ===
|
|
1647
|
-
title: operation ===
|
|
1675
|
+
content: operation === CrudOperation.Edit ? this.textFor('editRecurringConfirmation') : this.textFor('deleteRecurringConfirmation'),
|
|
1676
|
+
title: operation === CrudOperation.Edit ? this.textFor('editRecurringDialogTitle') : this.textFor('deleteRecurringDialogTitle')
|
|
1648
1677
|
});
|
|
1649
1678
|
this.isOpen = true;
|
|
1650
1679
|
this.changeDetector.markForCheck();
|
|
@@ -5184,7 +5213,7 @@ class EditDialogComponent {
|
|
|
5184
5213
|
return '.k-form-field-wrap input';
|
|
5185
5214
|
}
|
|
5186
5215
|
get isEditingSeries() {
|
|
5187
|
-
return this.editMode ===
|
|
5216
|
+
return this.editMode === EditMode.Series && Boolean(this.formGroup.get(this.fields.recurrenceRule));
|
|
5188
5217
|
}
|
|
5189
5218
|
get eventTimezone() {
|
|
5190
5219
|
return formValueOrDefault(this.formGroup, this.fields.startTimezone, this.timezone);
|
|
@@ -5195,7 +5224,7 @@ class EditDialogComponent {
|
|
|
5195
5224
|
onChange() {
|
|
5196
5225
|
this.changeDetector.markForCheck();
|
|
5197
5226
|
if (this.editService.hasNewEvent) {
|
|
5198
|
-
this.editMode =
|
|
5227
|
+
this.editMode = EditMode.Series;
|
|
5199
5228
|
this.formGroup = this.editService.context.formGroup;
|
|
5200
5229
|
this.isNew = true;
|
|
5201
5230
|
this.applyLocalTimezone();
|
|
@@ -5205,7 +5234,7 @@ class EditDialogComponent {
|
|
|
5205
5234
|
this.formGroup = this.editService.context.formGroup;
|
|
5206
5235
|
this.isNew = false;
|
|
5207
5236
|
this.editedEvent = dataItem;
|
|
5208
|
-
this.editMode = isPresent(mode) ? mode :
|
|
5237
|
+
this.editMode = isPresent(mode) ? mode : EditMode.Series;
|
|
5209
5238
|
this.applyLocalTimezone();
|
|
5210
5239
|
}
|
|
5211
5240
|
else {
|
|
@@ -16029,7 +16058,7 @@ class EditingDirectiveBase {
|
|
|
16029
16058
|
return;
|
|
16030
16059
|
}
|
|
16031
16060
|
if (this.editService.isRecurring(dataItem)) {
|
|
16032
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
16061
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Remove)
|
|
16033
16062
|
.subscribe((editMode) => {
|
|
16034
16063
|
if (editMode !== undefined) {
|
|
16035
16064
|
this.handleRemove(dataItem, editMode);
|
|
@@ -16041,7 +16070,7 @@ class EditingDirectiveBase {
|
|
|
16041
16070
|
this.dialogsService.openRemoveConfirmationDialog()
|
|
16042
16071
|
.subscribe((shouldRemove) => {
|
|
16043
16072
|
if (shouldRemove) {
|
|
16044
|
-
this.handleRemove(dataItem,
|
|
16073
|
+
this.handleRemove(dataItem, EditMode.Event);
|
|
16045
16074
|
this.focusService.focusContent();
|
|
16046
16075
|
}
|
|
16047
16076
|
});
|
|
@@ -16055,7 +16084,7 @@ class EditingDirectiveBase {
|
|
|
16055
16084
|
}
|
|
16056
16085
|
handleUpdate(item, value, mode) {
|
|
16057
16086
|
const svc = this.editService;
|
|
16058
|
-
if (mode ===
|
|
16087
|
+
if (mode === EditMode.Occurrence) {
|
|
16059
16088
|
// eslint-disable-next-line no-unused-expressions
|
|
16060
16089
|
svc.isException(item) ?
|
|
16061
16090
|
svc.update(item, value) :
|
|
@@ -16068,10 +16097,10 @@ class EditingDirectiveBase {
|
|
|
16068
16097
|
}
|
|
16069
16098
|
handleRemove(item, mode) {
|
|
16070
16099
|
const svc = this.editService;
|
|
16071
|
-
if (mode ===
|
|
16100
|
+
if (mode === EditMode.Series) {
|
|
16072
16101
|
svc.removeSeries(item);
|
|
16073
16102
|
}
|
|
16074
|
-
else if (mode ===
|
|
16103
|
+
else if (mode === EditMode.Occurrence) {
|
|
16075
16104
|
svc.isException(item) ?
|
|
16076
16105
|
svc.remove(item) :
|
|
16077
16106
|
svc.removeOccurrence(item);
|
|
@@ -16091,10 +16120,10 @@ class EditingDirectiveBase {
|
|
|
16091
16120
|
setField(value, fields.start, start);
|
|
16092
16121
|
setField(value, fields.end, end);
|
|
16093
16122
|
if (this.editService.isRecurring(dataItem)) {
|
|
16094
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
16123
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Edit)
|
|
16095
16124
|
.subscribe((result) => {
|
|
16096
16125
|
let target = dataItem;
|
|
16097
|
-
if (result ===
|
|
16126
|
+
if (result === EditMode.Series) {
|
|
16098
16127
|
target = this.editService.findRecurrenceMaster(dataItem);
|
|
16099
16128
|
setField(value, fields.start, seriesDate(target, dataItem, value, fields.start));
|
|
16100
16129
|
setField(value, fields.end, seriesDate(target, dataItem, value, fields.end));
|
|
@@ -16121,10 +16150,10 @@ class EditingDirectiveBase {
|
|
|
16121
16150
|
return;
|
|
16122
16151
|
}
|
|
16123
16152
|
if (this.editService.isRecurring(dataItem)) {
|
|
16124
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
16153
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Edit)
|
|
16125
16154
|
.subscribe((result) => {
|
|
16126
16155
|
let target = dataItem;
|
|
16127
|
-
if (result ===
|
|
16156
|
+
if (result === EditMode.Series) {
|
|
16128
16157
|
target = this.editService.findRecurrenceMaster(dataItem);
|
|
16129
16158
|
setField(value, modelFields.start, seriesDate(target, dataItem, value, modelFields.start));
|
|
16130
16159
|
setField(value, modelFields.end, seriesDate(target, dataItem, value, modelFields.end));
|
|
@@ -16183,10 +16212,10 @@ class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
16183
16212
|
}
|
|
16184
16213
|
let dataItem = args.event.dataItem;
|
|
16185
16214
|
if (this.editService.isRecurring(dataItem)) {
|
|
16186
|
-
this.dialogsService.openRecurringConfirmationDialog(
|
|
16215
|
+
this.dialogsService.openRecurringConfirmationDialog(CrudOperation.Edit)
|
|
16187
16216
|
.pipe(filter(mode => mode !== undefined))
|
|
16188
16217
|
.subscribe((mode) => {
|
|
16189
|
-
if (mode ===
|
|
16218
|
+
if (mode === EditMode.Series) {
|
|
16190
16219
|
dataItem = this.editService.findRecurrenceMaster(dataItem);
|
|
16191
16220
|
}
|
|
16192
16221
|
const group = this.createModel({
|
|
@@ -16202,7 +16231,7 @@ class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
16202
16231
|
const group = this.createModel({
|
|
16203
16232
|
action: 'edit',
|
|
16204
16233
|
isNew: false,
|
|
16205
|
-
mode:
|
|
16234
|
+
mode: EditMode.Event,
|
|
16206
16235
|
dataItem
|
|
16207
16236
|
});
|
|
16208
16237
|
this.scheduler.editEvent(dataItem, { group });
|
|
@@ -17332,5 +17361,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
17332
17361
|
* Generated bundle index. Do not edit.
|
|
17333
17362
|
*/
|
|
17334
17363
|
|
|
17335
|
-
export { AddEvent, AgendaDateTemplateDirective, AgendaTimeTemplateDirective, AgendaViewComponent, AllDayEventTemplateDirective, AllDaySlotTemplateDirective, BaseEditService, CancelEvent, DataBindingDirective, DateChangeEvent, DateHeaderTemplateDirective, DaySlotDirective, DayTimeModule, DayTimeSlotService, DayTimeViewItemComponent, DayViewComponent, DragEndEvent, DragEvent, DragStartEvent, EditDialogComponent, EditDialogTemplateDirective, EditEvent, EditEventBase, EndRuleRadioButtonDirective, EventClickEvent, EventKeydownEvent, EventTemplateDirective, FocusService, FocusableDirective, GroupHeaderTemplateDirective, HintContainerComponent, IsSlotSelectedArgs, LoadingComponent, LocalizedMessagesDirective, MajorTimeHeaderTemplateDirective, MinorTimeHeaderTemplateDirective, MonthDaySlotTemplateDirective, MonthViewComponent, MonthViewModule, MultiDayViewComponent, MultiDayViewModule, MultiWeekDaySlotTemplateDirective, MultiWeekViewComponent, MultipleResourceEditorComponent, NavigateEvent, PDFCommandDirective, PDFComponent, PDFExportEvent, PDFModule, PDFService, ReactiveEditingDirective, RecurrenceEditorComponent, RecurrenceEditorCustomMessagesComponent, RecurrenceEditorLocalizedMessagesDirective, RecurrenceEndRuleEditorComponent, RecurrenceFrequencyEditorComponent, RecurrenceIntervalEditorComponent, RecurrenceMonthlyYearlyEditorComponent, RecurrenceWeekdayRuleEditorComponent, RemoveEvent, RepeatOnRadioButtonDirective, RepeatPipe, ResizeEndEvent, ResizeEvent, ResizeHintComponent, ResizeStartEvent, ResourceIteratorPipe, SaveEvent, SchedulerComponent, SchedulerCustomMessagesComponent, SchedulerDateTimePickerComponent, SchedulerModule, SchedulerView, SchedulerViewDirective, SharedModule, ShortcutsDirective, SingleResourceEditorComponent, SlotClickEvent, SlotDragEndEvent, SlotDragEvent, SlotDragStartEvent, SlotSelectableDirective, SortPipe, TimeSlotDirective, TimeSlotTemplateDirective, TimeZoneEditorComponent, TimelineBase, TimelineMonthViewComponent, TimelineMultiDayViewComponent, TimelineViewComponent, TimelineViewModule, TimelineWeekViewComponent, ToolbarNavigationComponent, ToolbarService, ToolbarTemplateDirective, ToolbarViewSelectorComponent, VIEW_EVENT_MAP, ViewContextService, ViewFooterComponent, ViewStateService, ViewsSharedModule, WeekViewComponent, WorkHoursFooterDirective, WorkWeekViewComponent };
|
|
17364
|
+
export { AddEvent, AgendaDateTemplateDirective, AgendaTimeTemplateDirective, AgendaViewComponent, AllDayEventTemplateDirective, AllDaySlotTemplateDirective, BaseEditService, CancelEvent, CrudOperation, DataBindingDirective, DateChangeEvent, DateHeaderTemplateDirective, DaySlotDirective, DayTimeModule, DayTimeSlotService, DayTimeViewItemComponent, DayViewComponent, DragEndEvent, DragEvent, DragStartEvent, EditDialogComponent, EditDialogTemplateDirective, EditEvent, EditEventBase, EditMode, EndRuleRadioButtonDirective, EventClickEvent, EventKeydownEvent, EventTemplateDirective, FocusService, FocusableDirective, GroupHeaderTemplateDirective, HintContainerComponent, IsSlotSelectedArgs, LoadingComponent, LocalizedMessagesDirective, MajorTimeHeaderTemplateDirective, MinorTimeHeaderTemplateDirective, MonthDaySlotTemplateDirective, MonthViewComponent, MonthViewModule, MultiDayViewComponent, MultiDayViewModule, MultiWeekDaySlotTemplateDirective, MultiWeekViewComponent, MultipleResourceEditorComponent, NavigateEvent, PDFCommandDirective, PDFComponent, PDFExportEvent, PDFModule, PDFService, ReactiveEditingDirective, RecurrenceEditorComponent, RecurrenceEditorCustomMessagesComponent, RecurrenceEditorLocalizedMessagesDirective, RecurrenceEndRuleEditorComponent, RecurrenceFrequencyEditorComponent, RecurrenceIntervalEditorComponent, RecurrenceMonthlyYearlyEditorComponent, RecurrenceWeekdayRuleEditorComponent, RemoveEvent, RepeatOnRadioButtonDirective, RepeatPipe, ResizeEndEvent, ResizeEvent, ResizeHintComponent, ResizeStartEvent, ResourceIteratorPipe, SaveEvent, SchedulerComponent, SchedulerCustomMessagesComponent, SchedulerDateTimePickerComponent, SchedulerModule, SchedulerView, SchedulerViewDirective, SharedModule, ShortcutsDirective, SingleResourceEditorComponent, SlotClickEvent, SlotDragEndEvent, SlotDragEvent, SlotDragStartEvent, SlotSelectableDirective, SortPipe, TimeSlotDirective, TimeSlotTemplateDirective, TimeZoneEditorComponent, TimelineBase, TimelineMonthViewComponent, TimelineMultiDayViewComponent, TimelineViewComponent, TimelineViewModule, TimelineWeekViewComponent, ToolbarNavigationComponent, ToolbarService, ToolbarTemplateDirective, ToolbarViewSelectorComponent, VIEW_EVENT_MAP, ViewContextService, ViewFooterComponent, ViewStateService, ViewsSharedModule, WeekViewComponent, WorkHoursFooterDirective, WorkWeekViewComponent };
|
|
17336
17365
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0-develop.10",
|
|
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": "11.0
|
|
29
|
-
"@progress/kendo-angular-common": "11.0
|
|
30
|
-
"@progress/kendo-angular-dateinputs": "11.0
|
|
31
|
-
"@progress/kendo-angular-dialog": "11.0
|
|
32
|
-
"@progress/kendo-angular-dropdowns": "11.0
|
|
33
|
-
"@progress/kendo-angular-icons": "11.0
|
|
34
|
-
"@progress/kendo-angular-inputs": "11.0
|
|
35
|
-
"@progress/kendo-angular-intl": "11.0
|
|
36
|
-
"@progress/kendo-angular-l10n": "11.0
|
|
37
|
-
"@progress/kendo-angular-popup": "11.0
|
|
28
|
+
"@progress/kendo-angular-buttons": "11.1.0-develop.10",
|
|
29
|
+
"@progress/kendo-angular-common": "11.1.0-develop.10",
|
|
30
|
+
"@progress/kendo-angular-dateinputs": "11.1.0-develop.10",
|
|
31
|
+
"@progress/kendo-angular-dialog": "11.1.0-develop.10",
|
|
32
|
+
"@progress/kendo-angular-dropdowns": "11.1.0-develop.10",
|
|
33
|
+
"@progress/kendo-angular-icons": "11.1.0-develop.10",
|
|
34
|
+
"@progress/kendo-angular-inputs": "11.1.0-develop.10",
|
|
35
|
+
"@progress/kendo-angular-intl": "11.1.0-develop.10",
|
|
36
|
+
"@progress/kendo-angular-l10n": "11.1.0-develop.10",
|
|
37
|
+
"@progress/kendo-angular-popup": "11.1.0-develop.10",
|
|
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": "11.0
|
|
42
|
+
"@progress/kendo-angular-schematics": "11.1.0-develop.10",
|
|
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",
|
|
@@ -4,9 +4,9 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'SchedulerModule', package: 'scheduler', peerDependencies: {
|
|
6
6
|
// peer dep of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '11.0
|
|
7
|
+
'@progress/kendo-angular-treeview': '11.1.0-develop.10',
|
|
8
8
|
// peer dependency of kendo-angular-inputs
|
|
9
|
-
'@progress/kendo-angular-dialog': '11.0
|
|
9
|
+
'@progress/kendo-angular-dialog': '11.1.0-develop.10',
|
|
10
10
|
// peer dependency of kendo-angular-icons
|
|
11
11
|
'@progress/kendo-svg-icons': '^1.0.0'
|
|
12
12
|
} });
|