@syncfusion/ej2-schedule 21.1.41 → 21.2.3
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/CHANGELOG.md +3 -0
- package/dist/ej2-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +13 -5
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +14 -6
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +16 -19
- package/src/schedule/actions/action-base.js +7 -1
- package/src/schedule/actions/drag.js +6 -4
- package/src/schedule/renderer/renderer.js +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.
|
|
3
|
+
* version : 21.2.3
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-schedule@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-schedule@21.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-schedule@21.1.41",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-3TzRE+vjuSqMo3rnt+t+iu5n2GtQPJ5H40YcVuZInxT3NkV7CmlY4wyIxw1oTF/bWCqiG9SQc9ShPxy9RkgkPg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-schedule",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -18,13 +18,10 @@
|
|
|
18
18
|
},
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
|
-
"/@syncfusion/ej2"
|
|
22
|
-
"/@syncfusion/ej2-angular-schedule",
|
|
23
|
-
"/@syncfusion/ej2-react-schedule",
|
|
24
|
-
"/@syncfusion/ej2-vue-schedule"
|
|
21
|
+
"/@syncfusion/ej2"
|
|
25
22
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-21.1.
|
|
27
|
-
"_shasum": "
|
|
23
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-21.1.41.tgz",
|
|
24
|
+
"_shasum": "50faf8c7a5144da5b93b743315134014912cc5d4",
|
|
28
25
|
"_spec": "@syncfusion/ej2-schedule@*",
|
|
29
26
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
30
27
|
"author": {
|
|
@@ -35,16 +32,16 @@
|
|
|
35
32
|
},
|
|
36
33
|
"bundleDependencies": false,
|
|
37
34
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~21.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~21.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~21.
|
|
41
|
-
"@syncfusion/ej2-data": "~21.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~21.
|
|
43
|
-
"@syncfusion/ej2-excel-export": "~21.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~21.
|
|
45
|
-
"@syncfusion/ej2-lists": "~21.
|
|
46
|
-
"@syncfusion/ej2-navigations": "~21.
|
|
47
|
-
"@syncfusion/ej2-popups": "~21.
|
|
35
|
+
"@syncfusion/ej2-base": "~21.2.3",
|
|
36
|
+
"@syncfusion/ej2-buttons": "~21.2.3",
|
|
37
|
+
"@syncfusion/ej2-calendars": "~21.2.3",
|
|
38
|
+
"@syncfusion/ej2-data": "~21.2.3",
|
|
39
|
+
"@syncfusion/ej2-dropdowns": "~21.2.3",
|
|
40
|
+
"@syncfusion/ej2-excel-export": "~21.2.3",
|
|
41
|
+
"@syncfusion/ej2-inputs": "~21.2.3",
|
|
42
|
+
"@syncfusion/ej2-lists": "~21.2.3",
|
|
43
|
+
"@syncfusion/ej2-navigations": "~21.2.3",
|
|
44
|
+
"@syncfusion/ej2-popups": "~21.2.3"
|
|
48
45
|
},
|
|
49
46
|
"deprecated": false,
|
|
50
47
|
"description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.",
|
|
@@ -73,6 +70,6 @@
|
|
|
73
70
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
74
71
|
},
|
|
75
72
|
"typings": "index.d.ts",
|
|
76
|
-
"version": "21.
|
|
73
|
+
"version": "21.2.3",
|
|
77
74
|
"sideEffects": false
|
|
78
75
|
}
|
|
@@ -333,6 +333,9 @@ var ActionBase = /** @class */ (function () {
|
|
|
333
333
|
};
|
|
334
334
|
ActionBase.prototype.dynamicYearlyEventsRendering = function (event, isResize) {
|
|
335
335
|
if (isResize === void 0) { isResize = false; }
|
|
336
|
+
if (!isNullOrUndefined(this.parent.eventDragArea)) {
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
336
339
|
var appWidth = this.actionObj.cellWidth - 7;
|
|
337
340
|
if (isResize && (this.resizeEdges.left || this.resizeEdges.right)) {
|
|
338
341
|
appWidth = this.actionObj.cellWidth * event.count;
|
|
@@ -404,6 +407,9 @@ var ActionBase = /** @class */ (function () {
|
|
|
404
407
|
};
|
|
405
408
|
ActionBase.prototype.dynamicEventsRendering = function (event) {
|
|
406
409
|
var _this = this;
|
|
410
|
+
if (!isNullOrUndefined(this.parent.eventDragArea)) {
|
|
411
|
+
return;
|
|
412
|
+
}
|
|
407
413
|
var dateRender = this.parent.activeView.renderDates;
|
|
408
414
|
var workCells = [].slice.call(this.parent.element.querySelectorAll('.' + cls.WORK_CELLS_CLASS));
|
|
409
415
|
var workDays = this.parent.activeViewOptions.workDays;
|
|
@@ -440,7 +446,7 @@ var ActionBase = /** @class */ (function () {
|
|
|
440
446
|
this.monthEvent.applyResourceColor(appointmentElement, event_1, 'backgroundColor', groupOrder);
|
|
441
447
|
setStyleAttribute(appointmentElement, { 'width': appWidth + 'px', 'border': '0px', 'pointer-events': 'none' });
|
|
442
448
|
var cellTd = workCells[parseInt(day.toString(), 10)];
|
|
443
|
-
if (cellTd
|
|
449
|
+
if (cellTd) {
|
|
444
450
|
this.monthEvent.renderElement(cellTd, appointmentElement, true);
|
|
445
451
|
this.actionObj.cloneElement.push(appointmentElement);
|
|
446
452
|
}
|
|
@@ -965,10 +965,12 @@ var DragAndDrop = /** @class */ (function (_super) {
|
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
967
|
var event = this.getUpdatedEvent(this.actionObj.start, this.actionObj.end, this.actionObj.event);
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
var
|
|
971
|
-
|
|
968
|
+
if (isNullOrUndefined(this.parent.eventDragArea)) {
|
|
969
|
+
var eventWrappers = [].slice.call(this.parent.element.querySelectorAll('.' + cls.CLONE_ELEMENT_CLASS));
|
|
970
|
+
for (var _i = 0, eventWrappers_1 = eventWrappers; _i < eventWrappers_1.length; _i++) {
|
|
971
|
+
var wrapper = eventWrappers_1[_i];
|
|
972
|
+
remove(wrapper);
|
|
973
|
+
}
|
|
972
974
|
}
|
|
973
975
|
if (this.multiData && this.multiData.length > 0) {
|
|
974
976
|
var startTime = util.resetTime(new Date(event[this.parent.eventFields.startTime]));
|
|
@@ -91,7 +91,7 @@ var Render = /** @class */ (function () {
|
|
|
91
91
|
this.parent.virtualScrollModule.destroy();
|
|
92
92
|
this.parent.virtualScrollModule = null;
|
|
93
93
|
}
|
|
94
|
-
if ((['Agenda', 'Year'].indexOf(this.parent.currentView) === -1 ||
|
|
94
|
+
if ((['Agenda', 'MonthAgenda', 'Year', 'TimelineYear'].indexOf(this.parent.currentView) === -1 ||
|
|
95
95
|
(this.parent.currentView === 'TimelineYear' && this.parent.activeViewOptions.orientation === 'Vertical'))
|
|
96
96
|
&& this.parent.activeViewOptions.allowVirtualScrolling
|
|
97
97
|
&& this.parent.activeViewOptions.group.resources.length > 0 && !this.parent.uiStateValues.isGroupAdaptive) {
|