@syncfusion/ej2-schedule 20.3.52 → 20.3.56
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 +9 -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 +17 -11
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +16 -10
- 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 +15 -15
- package/src/schedule/base/util.js +0 -3
- package/src/schedule/event-renderer/inline-edit.js +17 -8
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.3.
|
|
3
|
+
* version : 20.3.56
|
|
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@20.3.
|
|
3
|
+
"_id": "@syncfusion/ej2-schedule@20.3.52",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-idn8cMrGvSMNy9ErcTnY9QxLRrqwfJyoHPjNLRHua0QRyuptXM7CWwDVMlivclyIKCf/Kg+YlRDhip0ENKaVVg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-schedule",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-schedule",
|
|
24
24
|
"/@syncfusion/ej2-vue-schedule"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-20.3.52.tgz",
|
|
27
|
+
"_shasum": "cfc82a924af573995a221596f0ad748fd392f0bf",
|
|
28
28
|
"_spec": "@syncfusion/ej2-schedule@*",
|
|
29
29
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~20.3.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~20.3.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~20.3.
|
|
41
|
-
"@syncfusion/ej2-data": "~20.3.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~20.3.
|
|
43
|
-
"@syncfusion/ej2-excel-export": "~20.3.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~20.3.
|
|
45
|
-
"@syncfusion/ej2-lists": "~20.3.
|
|
46
|
-
"@syncfusion/ej2-navigations": "~20.3.
|
|
47
|
-
"@syncfusion/ej2-popups": "~20.3.
|
|
38
|
+
"@syncfusion/ej2-base": "~20.3.56",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~20.3.56",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~20.3.56",
|
|
41
|
+
"@syncfusion/ej2-data": "~20.3.56",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~20.3.56",
|
|
43
|
+
"@syncfusion/ej2-excel-export": "~20.3.56",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~20.3.56",
|
|
45
|
+
"@syncfusion/ej2-lists": "~20.3.56",
|
|
46
|
+
"@syncfusion/ej2-navigations": "~20.3.56",
|
|
47
|
+
"@syncfusion/ej2-popups": "~20.3.56"
|
|
48
48
|
},
|
|
49
49
|
"deprecated": false,
|
|
50
50
|
"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.",
|
|
@@ -81,6 +81,6 @@
|
|
|
81
81
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
82
82
|
},
|
|
83
83
|
"typings": "index.d.ts",
|
|
84
|
-
"version": "20.3.
|
|
84
|
+
"version": "20.3.56",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
|
@@ -278,9 +278,6 @@ var scrollWidth = null;
|
|
|
278
278
|
* @private
|
|
279
279
|
*/
|
|
280
280
|
export function getScrollBarWidth() {
|
|
281
|
-
if (scrollWidth !== null) {
|
|
282
|
-
return scrollWidth;
|
|
283
|
-
}
|
|
284
281
|
var divNode = createElement('div');
|
|
285
282
|
var value = 0;
|
|
286
283
|
divNode.style.cssText = 'width:100px;height: 100px;overflow: scroll;position: absolute;top: -9999px;';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { addClass, createElement, closest, remove, removeClass } from '@syncfusion/ej2-base';
|
|
2
|
+
import { addClass, createElement, closest, remove, removeClass, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
3
3
|
import { VerticalEvent } from '../event-renderer/vertical-view';
|
|
4
4
|
import { MonthEvent } from '../event-renderer/month';
|
|
5
5
|
import { TimelineEvent } from '../event-renderer/timeline-view';
|
|
@@ -69,21 +69,27 @@ var InlineEdit = /** @class */ (function () {
|
|
|
69
69
|
}
|
|
70
70
|
else {
|
|
71
71
|
var subEle = args.element.querySelector('.' + cls.SUBJECT_CLASS);
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
if (!isNullOrUndefined(subEle)) {
|
|
73
|
+
addClass([subEle], cls.DISABLE_CLASS);
|
|
74
|
+
subject = subEle.innerText;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
subject = args.data[this.parent.eventFields.subject];
|
|
78
|
+
}
|
|
74
79
|
inlineSubject = createElement('input', { className: cls.INLINE_SUBJECT_CLASS, attrs: { value: subject } });
|
|
75
|
-
addClass([subEle], cls.DISABLE_CLASS);
|
|
76
80
|
if (closest(args.element, '.' + cls.MORE_POPUP_WRAPPER_CLASS)) {
|
|
77
81
|
args.element.insertBefore(inlineSubject, subEle);
|
|
78
82
|
}
|
|
79
83
|
else if (['Agenda', 'MonthAgenda'].indexOf(this.parent.currentView) > -1) {
|
|
80
84
|
var subjectWrap = args.element.querySelector('.' + cls.SUBJECT_WRAP);
|
|
85
|
+
if (isNullOrUndefined(subjectWrap)) {
|
|
86
|
+
subjectWrap = createElement('div', { className: cls.SUBJECT_WRAP });
|
|
87
|
+
args.element.prepend(subjectWrap);
|
|
88
|
+
}
|
|
81
89
|
subjectWrap.insertBefore(inlineSubject, subjectWrap.firstChild);
|
|
82
90
|
}
|
|
83
91
|
else {
|
|
84
|
-
|
|
85
|
-
'.e-inner-wrap' : '.e-appointment-details';
|
|
86
|
-
args.element.querySelector(elementSelector).insertBefore(inlineSubject, timeEle);
|
|
92
|
+
args.element.querySelector('.e-appointment-details').prepend(inlineSubject);
|
|
87
93
|
}
|
|
88
94
|
inlineSubject.focus();
|
|
89
95
|
}
|
|
@@ -225,7 +231,10 @@ var InlineEdit = /** @class */ (function () {
|
|
|
225
231
|
var inlineSubject = this.parent.element.querySelector('.' + cls.INLINE_SUBJECT_CLASS);
|
|
226
232
|
if (inlineSubject) {
|
|
227
233
|
var appointmentSubject = closest(inlineSubject, '.' + cls.APPOINTMENT_CLASS);
|
|
228
|
-
|
|
234
|
+
var subject = appointmentSubject.querySelector('.' + cls.SUBJECT_CLASS);
|
|
235
|
+
if (!isNullOrUndefined(subject)) {
|
|
236
|
+
removeClass([subject], cls.DISABLE_CLASS);
|
|
237
|
+
}
|
|
229
238
|
remove(inlineSubject);
|
|
230
239
|
}
|
|
231
240
|
};
|