@syncfusion/ej2-gantt 19.4.38 → 19.4.40
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 +8 -0
- package/README.md +1 -1
- 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 +7 -4
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +7 -4
- 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 +10 -10
- package/src/gantt/actions/dialog-edit.js +1 -1
- package/src/gantt/actions/edit.js +1 -1
- package/src/gantt/actions/keyboard.js +2 -2
- package/src/gantt/base/tree-grid.js +3 -0
- package/styles/bootstrap5-dark.css +1 -0
- package/styles/bootstrap5.css +1 -0
- package/styles/fabric-dark.css +1 -1
- package/styles/gantt/_fabric-dark-definition.scss +2 -1
- package/styles/gantt/_layout.scss +6 -1
- package/styles/gantt/_material-dark-definition.scss +2 -1
- package/styles/gantt/bootstrap5-dark.css +1 -0
- package/styles/gantt/bootstrap5.css +1 -0
- package/styles/gantt/fabric-dark.css +1 -1
- package/styles/gantt/material-dark.css +1 -1
- package/styles/material-dark.css +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.4.
|
|
3
|
+
* version : 19.4.40
|
|
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@19.
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@19.4.38",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-I4mKtas9zkKCjTiN5d4oVMdJMWsRrGuf7CaKPBU26Amdl+EIu0CVXKma+XQ/pBnWN3AatdP8vuaoDKkV51zkOw==",
|
|
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-19.4.38.tgz",
|
|
27
|
+
"_shasum": "3370b7a2ca464a19f79d45e1e20d853f97694af6",
|
|
28
28
|
"_spec": "@syncfusion/ej2-gantt@*",
|
|
29
29
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
"@syncfusion/ej2-buttons": "~19.4.38",
|
|
40
40
|
"@syncfusion/ej2-calendars": "~19.4.38",
|
|
41
41
|
"@syncfusion/ej2-data": "~19.4.38",
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~19.4.
|
|
43
|
-
"@syncfusion/ej2-grids": "~19.4.
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~19.4.40",
|
|
43
|
+
"@syncfusion/ej2-grids": "~19.4.40",
|
|
44
44
|
"@syncfusion/ej2-inputs": "~19.4.38",
|
|
45
45
|
"@syncfusion/ej2-layouts": "~19.4.38",
|
|
46
46
|
"@syncfusion/ej2-lists": "~19.4.38",
|
|
47
|
-
"@syncfusion/ej2-navigations": "~19.4.
|
|
47
|
+
"@syncfusion/ej2-navigations": "~19.4.40",
|
|
48
48
|
"@syncfusion/ej2-popups": "~19.4.38",
|
|
49
|
-
"@syncfusion/ej2-richtexteditor": "~19.4.
|
|
50
|
-
"@syncfusion/ej2-treegrid": "~19.4.
|
|
49
|
+
"@syncfusion/ej2-richtexteditor": "~19.4.40",
|
|
50
|
+
"@syncfusion/ej2-treegrid": "~19.4.40"
|
|
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": "19.4.
|
|
78
|
+
"version": "19.4.40",
|
|
79
79
|
"sideEffects": false
|
|
80
80
|
}
|
|
@@ -1181,7 +1181,7 @@ var DialogEdit = /** @class */ (function () {
|
|
|
1181
1181
|
inputValue = dialog.querySelector('#' + ganttId + 'SegmentsTabContainer' + columnName)
|
|
1182
1182
|
.ej2_instances[0];
|
|
1183
1183
|
}
|
|
1184
|
-
if (inputValue.value !== tempValue.toString()) {
|
|
1184
|
+
if (inputValue.value.toString() !== tempValue.toString()) {
|
|
1185
1185
|
inputValue.value = tempValue;
|
|
1186
1186
|
inputValue.dataBind();
|
|
1187
1187
|
}
|
|
@@ -799,7 +799,7 @@ var Edit = /** @class */ (function () {
|
|
|
799
799
|
this.updateParentItemOnEditing();
|
|
800
800
|
}
|
|
801
801
|
/** Update parent up-to zeroth level */
|
|
802
|
-
if (ganttRecord.parentItem
|
|
802
|
+
if (ganttRecord.parentItem) {
|
|
803
803
|
this.parent.dataOperation.updateParentItems(ganttRecord, true);
|
|
804
804
|
}
|
|
805
805
|
this.initiateSaveAction(args);
|
|
@@ -137,9 +137,9 @@ var FocusModule = /** @class */ (function () {
|
|
|
137
137
|
{
|
|
138
138
|
if (isNullOrUndefined(document.getElementById(this.parent.element.id + '_dialog'))) {
|
|
139
139
|
e.preventDefault();
|
|
140
|
-
var focussedElement = ganttObj.element.querySelector('.e-gantt-chart');
|
|
141
|
-
focussedElement.focus();
|
|
142
140
|
ganttObj.addRecord();
|
|
141
|
+
var focussedElement = ganttObj.element;
|
|
142
|
+
focussedElement.focus();
|
|
143
143
|
}
|
|
144
144
|
break;
|
|
145
145
|
}
|
|
@@ -297,6 +297,9 @@ var GanttTreeGrid = /** @class */ (function () {
|
|
|
297
297
|
if (getValue('requestType', args) === 'refresh' && isNullOrUndefined(getValue('type', args)) && this.parent.addDeleteRecord) {
|
|
298
298
|
if (this.parent.selectedRowIndex != -1) {
|
|
299
299
|
this.parent.selectRow(this.parent.selectedRowIndex);
|
|
300
|
+
if (this.parent.selectedRowIndex > this.parent.currentViewData.length - 1) {
|
|
301
|
+
this.parent.selectedRowIndex = -1;
|
|
302
|
+
}
|
|
300
303
|
}
|
|
301
304
|
else {
|
|
302
305
|
this.parent.selectRow(0);
|
package/styles/bootstrap5.css
CHANGED
package/styles/fabric-dark.css
CHANGED
|
@@ -154,4 +154,5 @@ $gantt-active-container-border: $neutral-secondary !default;
|
|
|
154
154
|
$grid-active-container-border: 0 0 0 1px $neutral-secondary inset !default;
|
|
155
155
|
$gantt-collapse-progress-width: 0px !important;
|
|
156
156
|
$rangecontainer-border-color: #FC7A05;
|
|
157
|
-
$gantt-range-container-arc-radius: 0px !default;
|
|
157
|
+
$gantt-range-container-arc-radius: 0px !default;
|
|
158
|
+
$gantt-active-background-color: #a9a9a9;
|
|
@@ -402,7 +402,12 @@
|
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
.e-gantt-split-container-line {
|
|
405
|
-
|
|
405
|
+
@if ($theme-name == 'material-dark' or $theme-name == 'fabric-dark') {
|
|
406
|
+
border-color: $gantt-active-background-color;
|
|
407
|
+
}
|
|
408
|
+
@else {
|
|
409
|
+
border-color: inherit;
|
|
410
|
+
}
|
|
406
411
|
border-top-style: dotted;
|
|
407
412
|
border-top-width: 2px;
|
|
408
413
|
height: 0;
|
|
@@ -154,4 +154,5 @@ $gantt-active-container-border: rgba($grey-white, .5) !default;
|
|
|
154
154
|
$grid-active-container-border: 0 0 0 1px rgba($grey-white, .5) inset !default;
|
|
155
155
|
$gantt-collapse-progress-width: 0px !important;
|
|
156
156
|
$rangecontainer-border-color: #FC7A05;
|
|
157
|
-
$gantt-range-container-arc-radius: 2px !default;
|
|
157
|
+
$gantt-range-container-arc-radius: 2px !default;
|
|
158
|
+
$gantt-active-background-color: #a9a9a9;
|