@syncfusion/ej2-gantt 20.1.47 → 20.1.48
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 +10 -0
- package/dist/ej2-gantt.umd.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +9 -5
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +9 -5
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +2 -2
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -11
- package/src/gantt/actions/filter.js +4 -2
- package/src/gantt/actions/rowdragdrop.js +4 -2
- package/src/gantt/base/gantt-chart.js +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.1.
|
|
3
|
+
* version : 20.1.48
|
|
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-gantt@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-gantt@
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@20.1.47",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-60lkObo1sLVOuUOCasgszwBvryKWbHtCish7JIz4IlZ7aEOVHaZMzu84p839ay02/uIw5IKLnxcFY+SE5WW/pA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-gantt",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-gantt",
|
|
24
24
|
"/@syncfusion/ej2-vue-gantt"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.1.47.tgz",
|
|
27
|
+
"_shasum": "d0d50fd8f2502745938a6e16bfae7b01e97dbfa6",
|
|
28
28
|
"_spec": "@syncfusion/ej2-gantt@*",
|
|
29
29
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~20.1.
|
|
38
|
+
"@syncfusion/ej2-base": "~20.1.48",
|
|
39
39
|
"@syncfusion/ej2-buttons": "~20.1.47",
|
|
40
40
|
"@syncfusion/ej2-calendars": "~20.1.47",
|
|
41
41
|
"@syncfusion/ej2-data": "~20.1.47",
|
|
42
42
|
"@syncfusion/ej2-dropdowns": "~20.1.47",
|
|
43
|
-
"@syncfusion/ej2-grids": "~20.1.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~20.1.
|
|
43
|
+
"@syncfusion/ej2-grids": "~20.1.48",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~20.1.48",
|
|
45
45
|
"@syncfusion/ej2-layouts": "~20.1.47",
|
|
46
46
|
"@syncfusion/ej2-lists": "~20.1.47",
|
|
47
|
-
"@syncfusion/ej2-navigations": "~20.1.
|
|
47
|
+
"@syncfusion/ej2-navigations": "~20.1.48",
|
|
48
48
|
"@syncfusion/ej2-popups": "~20.1.47",
|
|
49
|
-
"@syncfusion/ej2-richtexteditor": "~20.1.
|
|
50
|
-
"@syncfusion/ej2-treegrid": "~20.1.
|
|
49
|
+
"@syncfusion/ej2-richtexteditor": "~20.1.48",
|
|
50
|
+
"@syncfusion/ej2-treegrid": "~20.1.48"
|
|
51
51
|
},
|
|
52
52
|
"deprecated": false,
|
|
53
53
|
"description": "Essential JS 2 Gantt Component",
|
|
@@ -75,6 +75,6 @@
|
|
|
75
75
|
"url": "git+https://github.com/syncfusion/ej2-gantt.git"
|
|
76
76
|
},
|
|
77
77
|
"typings": "index.d.ts",
|
|
78
|
-
"version": "20.1.
|
|
78
|
+
"version": "20.1.48",
|
|
79
79
|
"sideEffects": false
|
|
80
80
|
}
|
|
@@ -185,11 +185,13 @@ var Filter = /** @class */ (function () {
|
|
|
185
185
|
// ...
|
|
186
186
|
};
|
|
187
187
|
Filter.prototype.closeFilterOnContextClick = function (element) {
|
|
188
|
+
var datePickerElement = document.querySelector('body > div.e-datepicker');
|
|
189
|
+
var dateTimePickerElement = document.querySelector('body > div.e-datetimepicker');
|
|
188
190
|
if (this.filterMenuElement && document.body.contains(this.filterMenuElement)) {
|
|
189
191
|
var ganttElement = closest(element, '#' + this.parent.element.id)
|
|
190
192
|
|| element.querySelector('#' + this.parent.element.id);
|
|
191
|
-
if ((!(this.filterMenuElement.contains(element)) && !isNullOrUndefined(ganttElement)) || element
|
|
192
|
-
|
|
193
|
+
if ((!(this.filterMenuElement.contains(element)) && !isNullOrUndefined(ganttElement)) || (!(this.filterMenuElement.contains(element)) && (isNullOrUndefined(datePickerElement))
|
|
194
|
+
&& (isNullOrUndefined(dateTimePickerElement)) && ((element.nodeName === 'DIV') || (element.nodeName === 'HTML')))) {
|
|
193
195
|
remove(this.filterMenuElement);
|
|
194
196
|
this.parent.treeGrid.grid.notify('filter-menu-close', { isOpen: false });
|
|
195
197
|
this.filterMenuElement = null;
|
|
@@ -149,10 +149,12 @@ var RowDD = /** @class */ (function () {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
if (!args.cancel) {
|
|
152
|
-
args.cancel = true;
|
|
153
152
|
args.requestType = 'beforeDrop';
|
|
154
153
|
this.parent.trigger('actionBegin', args);
|
|
155
|
-
|
|
154
|
+
if (!args.cancel) {
|
|
155
|
+
this.dropRows(args, true); // method to update the data collections based on drop action
|
|
156
|
+
args.cancel = true;
|
|
157
|
+
}
|
|
156
158
|
}
|
|
157
159
|
};
|
|
158
160
|
RowDD.prototype.dropRows = function (args, isByMethod) {
|
|
@@ -212,7 +212,7 @@ var GanttChart = /** @class */ (function () {
|
|
|
212
212
|
var emptydivHeight = 36;
|
|
213
213
|
var emptyHeight = this.parent.contentHeight === 0 ? this.parent.flatData.length > 1 ? emptydivHeight : 0 : this.parent.contentHeight;
|
|
214
214
|
var contentElement = this.parent.element.getElementsByClassName('e-chart-scroll-container e-content')[0];
|
|
215
|
-
if (emptyHeight >= contentElement['offsetHeight']) {
|
|
215
|
+
if (emptyHeight >= contentElement['offsetHeight'] || this.parent.height === 'auto') {
|
|
216
216
|
this.chartBodyContent.style.height = formatUnit(emptyHeight);
|
|
217
217
|
}
|
|
218
218
|
else {
|