@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.4.38
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.7.0",
3
+ "_id": "@syncfusion/ej2-gantt@19.4.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-pCBiP1niGv6kWO+zEiP3M319heaa4WYhbNR9bt+eeEMc848UHgZAAb9PE19YOGcXvIOg2ObmIBx6DVOywyK/lQ==",
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-release/@syncfusion/ej2-gantt/-/ej2-gantt-19.7.0.tgz",
27
- "_shasum": "a19c8392c249d42c5464bef9858792baf7d51b64",
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.38",
43
- "@syncfusion/ej2-grids": "~19.4.38",
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.38",
47
+ "@syncfusion/ej2-navigations": "~19.4.40",
48
48
  "@syncfusion/ej2-popups": "~19.4.38",
49
- "@syncfusion/ej2-richtexteditor": "~19.4.38",
50
- "@syncfusion/ej2-treegrid": "~19.4.38"
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.38",
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 || this.parent.taskMode !== 'Auto') {
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);
@@ -62,6 +62,7 @@
62
62
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
63
63
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
64
64
  background: transparent;
65
+ color: inherit;
65
66
  }
66
67
 
67
68
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -62,6 +62,7 @@
62
62
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
63
63
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
64
64
  background: transparent;
65
+ color: inherit;
65
66
  }
66
67
 
67
68
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -637,7 +637,7 @@
637
637
  }
638
638
 
639
639
  .e-gantt .e-gantt-chart .e-gantt-split-container-line {
640
- border-color: inherit;
640
+ border-color: #a9a9a9;
641
641
  border-top-style: dotted;
642
642
  border-top-width: 2px;
643
643
  height: 0;
@@ -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
- border-color: inherit;
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;
@@ -62,6 +62,7 @@
62
62
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
63
63
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
64
64
  background: transparent;
65
+ color: inherit;
65
66
  }
66
67
 
67
68
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -62,6 +62,7 @@
62
62
  .e-input-group.e-control-wrapper.e-ddl .e-input[readonly],
63
63
  .e-float-input.e-control-wrapper.e-ddl input[readonly] {
64
64
  background: transparent;
65
+ color: inherit;
65
66
  }
66
67
 
67
68
  .e-input-group.e-control-wrapper.e-ddl.e-readonly .e-input[readonly],
@@ -637,7 +637,7 @@
637
637
  }
638
638
 
639
639
  .e-gantt .e-gantt-chart .e-gantt-split-container-line {
640
- border-color: inherit;
640
+ border-color: #a9a9a9;
641
641
  border-top-style: dotted;
642
642
  border-top-width: 2px;
643
643
  height: 0;
@@ -674,7 +674,7 @@
674
674
  }
675
675
 
676
676
  .e-gantt .e-gantt-chart .e-gantt-split-container-line {
677
- border-color: inherit;
677
+ border-color: #a9a9a9;
678
678
  border-top-style: dotted;
679
679
  border-top-width: 2px;
680
680
  height: 0;
@@ -674,7 +674,7 @@
674
674
  }
675
675
 
676
676
  .e-gantt .e-gantt-chart .e-gantt-split-container-line {
677
- border-color: inherit;
677
+ border-color: #a9a9a9;
678
678
  border-top-style: dotted;
679
679
  border-top-width: 2px;
680
680
  height: 0;