@syncfusion/ej2-gantt 23.1.39 → 23.1.41
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.min.js +2 -2
- 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 +16 -5
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +16 -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 +14 -14
- package/src/gantt/actions/critical-path.js +9 -5
- package/src/gantt/actions/edit.js +7 -0
- package/styles/bootstrap4.css +32 -2
- package/styles/gantt/bootstrap4.css +32 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 23.1.
|
|
3
|
+
* version : 23.1.41
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@23.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@23.1.39",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-qmaxSxoGo8FGSqkz9vwQ5ZwJUzq/09DO/DKLY7frot25EBgT1cF3xUvWpi/9qrgyqAz7vjy4gUfHSTu09XSplQ==",
|
|
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": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-23.1.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-23.1.39.tgz",
|
|
27
|
+
"_shasum": "d505c2c3910ba7b673aff9c4a980f87c3e4af30d",
|
|
28
28
|
"_spec": "@syncfusion/ej2-gantt@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~23.1.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~23.1.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~23.1.
|
|
38
|
+
"@syncfusion/ej2-base": "~23.1.41",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~23.1.41",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~23.1.41",
|
|
41
41
|
"@syncfusion/ej2-data": "~23.1.36",
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~23.1.
|
|
43
|
-
"@syncfusion/ej2-grids": "~23.1.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~23.1.
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~23.1.41",
|
|
43
|
+
"@syncfusion/ej2-grids": "~23.1.41",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~23.1.40",
|
|
45
45
|
"@syncfusion/ej2-layouts": "~23.1.36",
|
|
46
46
|
"@syncfusion/ej2-lists": "~23.1.36",
|
|
47
|
-
"@syncfusion/ej2-navigations": "~23.1.
|
|
48
|
-
"@syncfusion/ej2-notifications": "~23.1.
|
|
47
|
+
"@syncfusion/ej2-navigations": "~23.1.41",
|
|
48
|
+
"@syncfusion/ej2-notifications": "~23.1.40",
|
|
49
49
|
"@syncfusion/ej2-popups": "~23.1.38",
|
|
50
|
-
"@syncfusion/ej2-richtexteditor": "~23.1.
|
|
50
|
+
"@syncfusion/ej2-richtexteditor": "~23.1.41",
|
|
51
51
|
"@syncfusion/ej2-svg-base": "~23.1.36",
|
|
52
52
|
"@syncfusion/ej2-treegrid": "~23.1.39"
|
|
53
53
|
},
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"url": "git+https://github.com/syncfusion/ej2-gantt.git"
|
|
75
75
|
},
|
|
76
76
|
"typings": "index.d.ts",
|
|
77
|
-
"version": "23.1.
|
|
77
|
+
"version": "23.1.41",
|
|
78
78
|
"sideEffects": false
|
|
79
79
|
}
|
|
@@ -624,8 +624,8 @@ var CriticalPath = /** @class */ (function () {
|
|
|
624
624
|
if (record.ganttProperties.progress < 100) {
|
|
625
625
|
record.isCritical = true;
|
|
626
626
|
record.ganttProperties.isCritical = true;
|
|
627
|
-
if (criticalPathIds.indexOf(
|
|
628
|
-
criticalPathIds.push(
|
|
627
|
+
if (criticalPathIds.indexOf(record.ganttProperties.taskId) == -1) {
|
|
628
|
+
criticalPathIds.push(record.ganttProperties.taskId);
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
631
|
}
|
|
@@ -647,9 +647,11 @@ var CriticalPath = /** @class */ (function () {
|
|
|
647
647
|
fromRecord.slack = record.slack;
|
|
648
648
|
fromRecord.isCritical = record.ganttProperties.isCritical;
|
|
649
649
|
fromRecord.ganttProperties.isCritical = record.ganttProperties.isCritical;
|
|
650
|
-
if (criticalPathIds.indexOf(
|
|
650
|
+
if (criticalPathIds.indexOf(fromRecord.ganttProperties.taskId) === -1 && fromRecord.ganttProperties.isCritical && fromRecord.ganttProperties.progress < 100) {
|
|
651
651
|
this.validatedids.push(parseInt(fromRecord.ganttProperties.taskId));
|
|
652
|
-
|
|
652
|
+
if (this.criticalTasks.indexOf(fromRecord) === -1) {
|
|
653
|
+
this.criticalTasks.push(fromRecord);
|
|
654
|
+
}
|
|
653
655
|
}
|
|
654
656
|
if (fromRecord.ganttProperties.predecessorsName) {
|
|
655
657
|
this.updateCriticalTasks(fromRecord, criticalPathIds);
|
|
@@ -734,7 +736,9 @@ var CriticalPath = /** @class */ (function () {
|
|
|
734
736
|
if (flatRecords[index].ganttProperties.progress < 100) {
|
|
735
737
|
flatRecords[index].isCritical = true;
|
|
736
738
|
flatRecords[index].ganttProperties.isCritical = true;
|
|
737
|
-
this.criticalTasks.
|
|
739
|
+
if (this.criticalTasks.indexOf(flatRecords[index]) == -1) {
|
|
740
|
+
this.criticalTasks.push(flatRecords[index]);
|
|
741
|
+
}
|
|
738
742
|
if (criticalPathIds.indexOf(collection[x]['taskid']) === -1) {
|
|
739
743
|
criticalPathIds.push(collection[x]['taskid']);
|
|
740
744
|
}
|
|
@@ -507,6 +507,13 @@ var Edit = /** @class */ (function () {
|
|
|
507
507
|
if (ganttData.ganttProperties.baselineEndDate && ganttData.ganttProperties.baselineEndDate.getHours() === 0 && this.parent.defaultEndTime !== 86400) {
|
|
508
508
|
ganttObj.dataOperation.setTime(this.parent.defaultEndTime, ganttData.ganttProperties.baselineEndDate);
|
|
509
509
|
}
|
|
510
|
+
if ((ganttData.ganttProperties.baselineStartDate && ganttData.ganttProperties.baselineEndDate &&
|
|
511
|
+
(ganttData.ganttProperties.baselineStartDate.getTime() > ganttData.ganttProperties.baselineEndDate.getTime())) ||
|
|
512
|
+
((!isNullOrUndefined(ganttData.ganttProperties.baselineStartDate) && !isNullOrUndefined(ganttData.ganttProperties.startDate) && (ganttData.ganttProperties.baselineStartDate.getTime() === ganttData.ganttProperties.startDate.getTime()))
|
|
513
|
+
&& (!isNullOrUndefined(ganttData.ganttProperties.baselineEndDate) && !isNullOrUndefined(ganttData.ganttProperties.endDate) && (ganttData.ganttProperties.baselineEndDate.toLocaleDateString() === ganttData.ganttProperties.endDate.toLocaleDateString())) &&
|
|
514
|
+
ganttData.ganttProperties.isMilestone)) {
|
|
515
|
+
ganttData.ganttProperties.baselineEndDate = ganttData.ganttProperties.baselineStartDate;
|
|
516
|
+
}
|
|
510
517
|
ganttObj.setRecordValue('baselineEndDate', ganttObj.dataOperation.checkBaselineEndDate(ganttData.ganttProperties.baselineEndDate), ganttData.ganttProperties, true);
|
|
511
518
|
ganttObj.setRecordValue('baselineLeft', ganttObj.dataOperation.calculateBaselineLeft(ganttData.ganttProperties), ganttData.ganttProperties, true);
|
|
512
519
|
ganttObj.setRecordValue('baselineWidth', ganttObj.dataOperation.calculateBaselineWidth(ganttData.ganttProperties), ganttData.ganttProperties, true);
|
package/styles/bootstrap4.css
CHANGED
|
@@ -354,13 +354,24 @@
|
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
|
|
357
|
-
font-size:
|
|
357
|
+
font-size: 12px;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
|
|
361
|
+
.e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
|
|
362
|
+
font-size: 14px;
|
|
358
363
|
}
|
|
359
364
|
|
|
360
|
-
.e-
|
|
365
|
+
.e-small .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
|
|
366
|
+
.e-small.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
|
|
361
367
|
font-size: 10px;
|
|
362
368
|
}
|
|
363
369
|
|
|
370
|
+
.e-small.e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
|
|
371
|
+
.e-small.e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
|
|
372
|
+
font-size: 12px;
|
|
373
|
+
}
|
|
374
|
+
|
|
364
375
|
.e-bigger.e-small .e-ddl.e-popup .e-list-item, .e-bigger.e-small .e-ddl.e-popup .e-list-group-item, .e-bigger.e-small .e-ddl.e-popup .e-fixed-head {
|
|
365
376
|
font-size: 14px;
|
|
366
377
|
line-height: 34px;
|
|
@@ -402,6 +413,25 @@
|
|
|
402
413
|
border-right-width: 0;
|
|
403
414
|
}
|
|
404
415
|
|
|
416
|
+
.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
|
|
417
|
+
font-size: 12px;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.e-bigger .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
|
|
421
|
+
.e-bigger.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
|
|
422
|
+
font-size: 14px;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.e-small .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
|
|
426
|
+
.e-small.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
|
|
427
|
+
font-size: 10px;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.e-small.e-bigger .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
|
|
431
|
+
.e-small.e-bigger.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
|
|
432
|
+
font-size: 12px;
|
|
433
|
+
}
|
|
434
|
+
|
|
405
435
|
.e-multiselect.e-rtl .e-input-group-icon.e-ddl-icon {
|
|
406
436
|
border-left-width: 0;
|
|
407
437
|
border-radius: 4px 0 0 4px;
|
|
@@ -354,13 +354,24 @@
|
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
|
|
357
|
-
font-size:
|
|
357
|
+
font-size: 12px;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
|
|
361
|
+
.e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
|
|
362
|
+
font-size: 14px;
|
|
358
363
|
}
|
|
359
364
|
|
|
360
|
-
.e-
|
|
365
|
+
.e-small .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
|
|
366
|
+
.e-small.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
|
|
361
367
|
font-size: 10px;
|
|
362
368
|
}
|
|
363
369
|
|
|
370
|
+
.e-small.e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
|
|
371
|
+
.e-small.e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
|
|
372
|
+
font-size: 12px;
|
|
373
|
+
}
|
|
374
|
+
|
|
364
375
|
.e-bigger.e-small .e-ddl.e-popup .e-list-item, .e-bigger.e-small .e-ddl.e-popup .e-list-group-item, .e-bigger.e-small .e-ddl.e-popup .e-fixed-head {
|
|
365
376
|
font-size: 14px;
|
|
366
377
|
line-height: 34px;
|
|
@@ -402,6 +413,25 @@
|
|
|
402
413
|
border-right-width: 0;
|
|
403
414
|
}
|
|
404
415
|
|
|
416
|
+
.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
|
|
417
|
+
font-size: 12px;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.e-bigger .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
|
|
421
|
+
.e-bigger.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
|
|
422
|
+
font-size: 14px;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.e-small .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
|
|
426
|
+
.e-small.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
|
|
427
|
+
font-size: 10px;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.e-small.e-bigger .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
|
|
431
|
+
.e-small.e-bigger.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
|
|
432
|
+
font-size: 12px;
|
|
433
|
+
}
|
|
434
|
+
|
|
405
435
|
.e-multiselect.e-rtl .e-input-group-icon.e-ddl-icon {
|
|
406
436
|
border-left-width: 0;
|
|
407
437
|
border-radius: 4px 0 0 4px;
|