devexpress-gantt 4.1.70 → 4.1.72
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/dist/dx-gantt.css +2 -2
- package/dist/dx-gantt.js +50 -32
- package/dist/dx-gantt.min.css +2 -2
- package/dist/dx-gantt.min.js +1 -1
- package/dist/dx-gantt.min.js.LICENSE.txt +2 -2
- package/dist/lib/package.json +3 -5
- package/dist/lib/src/Export/Pdf/Calculator.ts +3 -2
- package/dist/lib/src/View/Edit/TaskEditController.ts +10 -3
- package/dist/lib/src/View/Events/States/StateController.ts +1 -1
- package/dist/lib/src/View/Events/States/TaskAreaStateBase.ts +6 -4
- package/dist/lib/src/View/Events/States/TaskAreaStateEventNames.ts +1 -0
- package/dist/lib/src/View/Events/States/TaskEditState.ts +2 -0
- package/dist/lib/src/View/Events/TaskAreaEventsListener.ts +4 -0
- package/package.json +3 -6
package/dist/dx-gantt.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Gantt (dx-gantt)
|
|
3
|
-
* Version: 4.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.1.72
|
|
4
|
+
* Build date: Tue Oct 27 2026
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|
package/dist/dx-gantt.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Gantt (dx-gantt)
|
|
3
|
-
* Version: 4.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.1.72
|
|
4
|
+
* Build date: Tue Oct 27 2026
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|
|
@@ -683,7 +683,7 @@ var AttrUtils = (function () {
|
|
|
683
683
|
AttrUtils.setStyleAttribute(obj.style, attrName, newValue);
|
|
684
684
|
};
|
|
685
685
|
AttrUtils.restoreElementStyleAttribute = function (obj, attrName) {
|
|
686
|
-
var savedAttrName = "dxwu_saved"
|
|
686
|
+
var savedAttrName = "dxwu_saved".concat(attrName);
|
|
687
687
|
var style = obj.style;
|
|
688
688
|
if (AttrUtils.isExistsAttributeInElement(obj, savedAttrName)) {
|
|
689
689
|
var oldValue = AttrUtils.getElementAttribute(obj, savedAttrName);
|
|
@@ -697,7 +697,7 @@ var AttrUtils = (function () {
|
|
|
697
697
|
return false;
|
|
698
698
|
};
|
|
699
699
|
AttrUtils.saveStyleAttributeInElement = function (obj, attrName) {
|
|
700
|
-
var savedAttrName = "dxwu_saved"
|
|
700
|
+
var savedAttrName = "dxwu_saved".concat(attrName);
|
|
701
701
|
var style = obj.style;
|
|
702
702
|
if (!AttrUtils.isExistsAttributeInElement(obj, savedAttrName)) {
|
|
703
703
|
var oldValue = AttrUtils.getStyleAttribute(style, attrName);
|
|
@@ -971,13 +971,13 @@ var DomUtils = (function () {
|
|
|
971
971
|
DomUtils.addClassName = function (element, className) {
|
|
972
972
|
if (!DomUtils.hasClassName(element, className)) {
|
|
973
973
|
var elementClassName = element.getAttribute && element.getAttribute('class');
|
|
974
|
-
element.setAttribute('class', elementClassName === '' ? className : elementClassName
|
|
974
|
+
element.setAttribute('class', elementClassName === '' ? className : "".concat(elementClassName, " ").concat(className));
|
|
975
975
|
}
|
|
976
976
|
};
|
|
977
977
|
DomUtils.removeClassName = function (element, className) {
|
|
978
978
|
var elementClassName = element.getAttribute && element.getAttribute('class');
|
|
979
|
-
var updClassName = " "
|
|
980
|
-
var newClassName = updClassName.replace(" "
|
|
979
|
+
var updClassName = " ".concat(elementClassName, " ");
|
|
980
|
+
var newClassName = updClassName.replace(" ".concat(className, " "), ' ');
|
|
981
981
|
if (updClassName.length !== newClassName.length)
|
|
982
982
|
element.setAttribute('class', string_1.StringUtils.trim(newClassName));
|
|
983
983
|
};
|
|
@@ -1128,7 +1128,7 @@ var DomUtils = (function () {
|
|
|
1128
1128
|
return DomUtils.pxToInt(currentStyle.paddingTop) + DomUtils.pxToInt(currentStyle.paddingBottom);
|
|
1129
1129
|
};
|
|
1130
1130
|
DomUtils.getVerticalBordersWidth = function (element, style) {
|
|
1131
|
-
if (!common_1.isDefined(style))
|
|
1131
|
+
if (!(0, common_1.isDefined)(style))
|
|
1132
1132
|
style = (browser_1.Browser.IE && browser_1.Browser.MajorVersion !== 9 && window.getComputedStyle) ? window.getComputedStyle(element) : DomUtils.getCurrentStyle(element);
|
|
1133
1133
|
var res = 0;
|
|
1134
1134
|
if (style.borderTopStyle !== 'none')
|
|
@@ -1159,7 +1159,7 @@ var DomUtils = (function () {
|
|
|
1159
1159
|
};
|
|
1160
1160
|
DomUtils.getNodesByClassName = function (parent, className) {
|
|
1161
1161
|
if (parent.querySelectorAll) {
|
|
1162
|
-
var children = parent.querySelectorAll("."
|
|
1162
|
+
var children = parent.querySelectorAll(".".concat(className));
|
|
1163
1163
|
var result_1 = [];
|
|
1164
1164
|
children.forEach(function (element) { return result_1.push(element); });
|
|
1165
1165
|
return result_1;
|
|
@@ -1178,13 +1178,13 @@ var DomUtils = (function () {
|
|
|
1178
1178
|
return result;
|
|
1179
1179
|
}
|
|
1180
1180
|
if (parent.querySelectorAll) {
|
|
1181
|
-
var children = parent.querySelectorAll("."
|
|
1181
|
+
var children = parent.querySelectorAll(".".concat(className));
|
|
1182
1182
|
return nodeListToArray(children, function (element) { return element.parentNode === parent; });
|
|
1183
1183
|
}
|
|
1184
1184
|
else {
|
|
1185
1185
|
return DomUtils.getChildNodes(parent, function (elem) {
|
|
1186
1186
|
if (DomUtils.isElementNode(elem))
|
|
1187
|
-
return common_1.isNonNullString(elem.className) && DomUtils.hasClassName(elem, elem.className);
|
|
1187
|
+
return (0, common_1.isNonNullString)(elem.className) && DomUtils.hasClassName(elem, elem.className);
|
|
1188
1188
|
else
|
|
1189
1189
|
return false;
|
|
1190
1190
|
});
|
|
@@ -1209,7 +1209,7 @@ var DomUtils = (function () {
|
|
|
1209
1209
|
return DomUtils.verticalScrollBarWidth;
|
|
1210
1210
|
};
|
|
1211
1211
|
DomUtils.getHorizontalBordersWidth = function (element, style) {
|
|
1212
|
-
if (!common_1.isDefined(style))
|
|
1212
|
+
if (!(0, common_1.isDefined)(style))
|
|
1213
1213
|
style = (browser_1.Browser.IE && window.getComputedStyle) ? window.getComputedStyle(element) : DomUtils.getCurrentStyle(element);
|
|
1214
1214
|
var res = 0;
|
|
1215
1215
|
if (style.borderLeftStyle !== 'none')
|
|
@@ -1249,7 +1249,7 @@ var DomUtils = (function () {
|
|
|
1249
1249
|
}());
|
|
1250
1250
|
exports.DomUtils = DomUtils;
|
|
1251
1251
|
function cloneObject(srcObject) {
|
|
1252
|
-
if (typeof (srcObject) !== 'object' || !common_1.isDefined(srcObject))
|
|
1252
|
+
if (typeof (srcObject) !== 'object' || !(0, common_1.isDefined)(srcObject))
|
|
1253
1253
|
return srcObject;
|
|
1254
1254
|
var newObject = {};
|
|
1255
1255
|
for (var i in srcObject)
|
|
@@ -1258,7 +1258,7 @@ function cloneObject(srcObject) {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
function pxToNumber(px, parseFunction) {
|
|
1260
1260
|
var result = 0;
|
|
1261
|
-
if (common_1.isDefined(px) && px !== '') {
|
|
1261
|
+
if ((0, common_1.isDefined)(px) && px !== '') {
|
|
1262
1262
|
try {
|
|
1263
1263
|
var indexOfPx = px.indexOf('px');
|
|
1264
1264
|
if (indexOfPx > -1)
|
|
@@ -1359,10 +1359,10 @@ var EvtUtils = (function () {
|
|
|
1359
1359
|
evt.returnValue = false;
|
|
1360
1360
|
};
|
|
1361
1361
|
EvtUtils.getEventSource = function (evt) {
|
|
1362
|
-
return common_1.isDefined(evt) ? EvtUtils.getEventSourceCore(evt) : null;
|
|
1362
|
+
return (0, common_1.isDefined)(evt) ? EvtUtils.getEventSourceCore(evt) : null;
|
|
1363
1363
|
};
|
|
1364
1364
|
EvtUtils.getEventSourceByPosition = function (evt) {
|
|
1365
|
-
if (!common_1.isDefined(evt))
|
|
1365
|
+
if (!(0, common_1.isDefined)(evt))
|
|
1366
1366
|
return null;
|
|
1367
1367
|
if (!document.elementFromPoint)
|
|
1368
1368
|
return EvtUtils.getEventSourceCore(evt);
|
|
@@ -1385,7 +1385,7 @@ var EvtUtils = (function () {
|
|
|
1385
1385
|
EvtUtils.isLeftButtonPressed = function (evt) {
|
|
1386
1386
|
if (touch_1.TouchUtils.isTouchEvent(evt))
|
|
1387
1387
|
return true;
|
|
1388
|
-
evt = (browser_1.Browser.IE && common_1.isDefined(event)) ? event : evt;
|
|
1388
|
+
evt = (browser_1.Browser.IE && (0, common_1.isDefined)(event)) ? event : evt;
|
|
1389
1389
|
if (!evt)
|
|
1390
1390
|
return false;
|
|
1391
1391
|
if (browser_1.Browser.IE && browser_1.Browser.Version < 11)
|
|
@@ -2323,7 +2323,7 @@ var StringUtils = (function () {
|
|
|
2323
2323
|
return StringUtils.trimInternal(str, true, true);
|
|
2324
2324
|
else {
|
|
2325
2325
|
var joinedChars = trimChars.join('');
|
|
2326
|
-
return str.replace(new RegExp("(^["
|
|
2326
|
+
return str.replace(new RegExp("(^[".concat(joinedChars, "]*)|([").concat(joinedChars, "]*$)"), 'g'), '');
|
|
2327
2327
|
}
|
|
2328
2328
|
};
|
|
2329
2329
|
StringUtils.trimStart = function (str, trimChars) {
|
|
@@ -2331,7 +2331,7 @@ var StringUtils = (function () {
|
|
|
2331
2331
|
return StringUtils.trimInternal(str, true, false);
|
|
2332
2332
|
else {
|
|
2333
2333
|
var joinedChars = trimChars.join('');
|
|
2334
|
-
return str.replace(new RegExp("^["
|
|
2334
|
+
return str.replace(new RegExp("^[".concat(joinedChars, "]*"), 'g'), '');
|
|
2335
2335
|
}
|
|
2336
2336
|
};
|
|
2337
2337
|
StringUtils.trimEnd = function (str, trimChars) {
|
|
@@ -2339,7 +2339,7 @@ var StringUtils = (function () {
|
|
|
2339
2339
|
return StringUtils.trimInternal(str, false, true);
|
|
2340
2340
|
else {
|
|
2341
2341
|
var joinedChars = trimChars.join('');
|
|
2342
|
-
return str.replace(new RegExp("["
|
|
2342
|
+
return str.replace(new RegExp("[".concat(joinedChars, "]*$"), 'g'), '');
|
|
2343
2343
|
}
|
|
2344
2344
|
};
|
|
2345
2345
|
StringUtils.getDecimalSeparator = function () {
|
|
@@ -2410,7 +2410,7 @@ var TouchUtils = (function () {
|
|
|
2410
2410
|
return browser_1.Browser.WebKitTouchUI && (eventName.indexOf('touch') > -1 || eventName.indexOf('gesture') > -1);
|
|
2411
2411
|
};
|
|
2412
2412
|
TouchUtils.isTouchEvent = function (evt) {
|
|
2413
|
-
return browser_1.Browser.WebKitTouchUI && common_1.isDefined(evt.changedTouches);
|
|
2413
|
+
return browser_1.Browser.WebKitTouchUI && (0, common_1.isDefined)(evt.changedTouches);
|
|
2414
2414
|
};
|
|
2415
2415
|
TouchUtils.getEventX = function (evt) {
|
|
2416
2416
|
return browser_1.Browser.IE ? evt.pageX : evt.changedTouches[0].pageX;
|
|
@@ -4455,7 +4455,7 @@ var GanttExportCalculator = (function () {
|
|
|
4455
4455
|
});
|
|
4456
4456
|
Object.defineProperty(GanttExportCalculator.prototype, "layoutCalculator", {
|
|
4457
4457
|
get: function () {
|
|
4458
|
-
return this.
|
|
4458
|
+
return this.taskAreaHelper.layoutCalculator;
|
|
4459
4459
|
},
|
|
4460
4460
|
enumerable: false,
|
|
4461
4461
|
configurable: true
|
|
@@ -4805,7 +4805,8 @@ var GanttExportCalculator = (function () {
|
|
|
4805
4805
|
var start = ranges[index][0];
|
|
4806
4806
|
var end = ranges[index][1];
|
|
4807
4807
|
for (var j = start; j <= end; j++) {
|
|
4808
|
-
var
|
|
4808
|
+
var scaleStart = this.layoutCalculator.getScaleItemStart(j, helper.scales[index]);
|
|
4809
|
+
var cell = new CellDef_1.CellDef(this._owner.renderHelper.getScaleItemTextByStart(scaleStart, helper.scales[index]));
|
|
4809
4810
|
cell.styles.cellPadding.assign(0);
|
|
4810
4811
|
cell.styles.minCellHeight = this.taskAreaHelper.headerRowHeight;
|
|
4811
4812
|
var cellWidth = index === 0 ? helper.scaleTopWidths[j] : helper.scaleBottomWidths[j];
|
|
@@ -13206,6 +13207,9 @@ var TaskEditController = (function () {
|
|
|
13206
13207
|
else
|
|
13207
13208
|
showFunc();
|
|
13208
13209
|
};
|
|
13210
|
+
TaskEditController.prototype.beginEditingInteraction = function () {
|
|
13211
|
+
this.isEditingInProgress = true;
|
|
13212
|
+
};
|
|
13209
13213
|
TaskEditController.prototype.endEditing = function () {
|
|
13210
13214
|
this.isEditingInProgress = false;
|
|
13211
13215
|
this.hide();
|
|
@@ -13279,11 +13283,12 @@ var TaskEditController = (function () {
|
|
|
13279
13283
|
return;
|
|
13280
13284
|
this.baseElement.className = this.baseElement.className + " move";
|
|
13281
13285
|
this.isEditingInProgress = true;
|
|
13282
|
-
var
|
|
13286
|
+
var calculator = this.renderHelper.gridLayoutCalculator;
|
|
13287
|
+
var positionX = this.clampResizePosition(position.x, this.wrapInfo.position.x, calculator.getTotalWidth());
|
|
13283
13288
|
var width = positionX - this.wrapInfo.position.x;
|
|
13284
13289
|
this.baseElement.style.width = (width < 1 ? 0 : width) + "px";
|
|
13285
13290
|
var startDate = this.task.start;
|
|
13286
|
-
var date =
|
|
13291
|
+
var date = calculator.getDateByPos(positionX);
|
|
13287
13292
|
date.setSeconds(0);
|
|
13288
13293
|
if (date < startDate || width < 1)
|
|
13289
13294
|
this.taskDateRange.end.setTime(startDate.getTime());
|
|
@@ -13305,7 +13310,7 @@ var TaskEditController = (function () {
|
|
|
13305
13310
|
return;
|
|
13306
13311
|
this.baseElement.className = this.baseElement.className + " move";
|
|
13307
13312
|
this.isEditingInProgress = true;
|
|
13308
|
-
var positionX =
|
|
13313
|
+
var positionX = this.clampResizePosition(position.x, 0, this.wrapInfo.position.x + this.wrapInfo.size.width);
|
|
13309
13314
|
var width = this.wrapInfo.size.width - (positionX - this.wrapInfo.position.x);
|
|
13310
13315
|
this.baseElement.style.left = positionX + "px";
|
|
13311
13316
|
this.baseElement.style.width = (width < 1 ? 0 : width) + "px";
|
|
@@ -13380,6 +13385,9 @@ var TaskEditController = (function () {
|
|
|
13380
13385
|
}
|
|
13381
13386
|
return newDate;
|
|
13382
13387
|
};
|
|
13388
|
+
TaskEditController.prototype.clampResizePosition = function (positionX, minX, maxX) {
|
|
13389
|
+
return Math.min(Math.max(positionX, minX), maxX);
|
|
13390
|
+
};
|
|
13383
13391
|
TaskEditController.prototype.startDependency = function (pos) {
|
|
13384
13392
|
this.dependencyLine = document.createElement("DIV");
|
|
13385
13393
|
this.dependencyLine.className = TaskEditController.CLASSNAMES.TASK_EDIT_DEPENDENCY_LINE;
|
|
@@ -14009,7 +14017,7 @@ var TaskAreaStateController = (function () {
|
|
|
14009
14017
|
var touchCount = this._getActivePointersCount(evt);
|
|
14010
14018
|
var isOutside = !this.isInTaskArea(evt);
|
|
14011
14019
|
var processed = touchCount >= 2 || isOutside;
|
|
14012
|
-
if (touchCount > 2 || isOutside)
|
|
14020
|
+
if (touchCount > 2 || (isOutside && !this._state.stayActiveWhileOutside))
|
|
14013
14021
|
this.switchState(TaskAreaDefaultState_1.TaskAreaDefaultState);
|
|
14014
14022
|
else if (touchCount === 2)
|
|
14015
14023
|
this.switchState(TaskAreaZoomState_1.TaskAreaZoomState);
|
|
@@ -14391,6 +14399,7 @@ var TaskAreaDomHelper_1 = __webpack_require__(9091);
|
|
|
14391
14399
|
var TaskAreaStateEventNames_1 = __webpack_require__(6118);
|
|
14392
14400
|
var TaskAreaStateBase = (function () {
|
|
14393
14401
|
function TaskAreaStateBase(listener, taskArea, cellSize) {
|
|
14402
|
+
this.stayActiveWhileOutside = false;
|
|
14394
14403
|
this.position = new point_1.Point(-1, -1);
|
|
14395
14404
|
this.isCursorInArea = false;
|
|
14396
14405
|
this._listener = listener;
|
|
@@ -14445,7 +14454,8 @@ var TaskAreaStateBase = (function () {
|
|
|
14445
14454
|
var isMouseLeave = this.isPointerEvent(evt) ? TaskAreaDomHelper_1.TaskAreaDomHelper.isMousePointer(evt) : true;
|
|
14446
14455
|
if (isMouseLeave) {
|
|
14447
14456
|
this.isCursorInArea = false;
|
|
14448
|
-
this.
|
|
14457
|
+
if (!this.stayActiveWhileOutside)
|
|
14458
|
+
this.raiseEvent(TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_EDIT_END, evt);
|
|
14449
14459
|
}
|
|
14450
14460
|
this.onTaskAreaLeaveInternal(evt);
|
|
14451
14461
|
};
|
|
@@ -14477,7 +14487,7 @@ var TaskAreaStateBase = (function () {
|
|
|
14477
14487
|
(_a = this.position) !== null && _a !== void 0 ? _a : (this.position = new point_1.Point(evt_1.EvtUtils.getEventX(evt), evt_1.EvtUtils.getEventY(evt)));
|
|
14478
14488
|
var isMove = Math.abs(this.position.x - evt_1.EvtUtils.getEventX(evt)) > 2 || Math.abs(this.position.y - evt_1.EvtUtils.getEventY(evt)) > 2;
|
|
14479
14489
|
var isOutsideTouch = (isTouchEvent || isPointerEvent) && this.checkAndProcessTouchOutsideArea(evt);
|
|
14480
|
-
if (isOutsideTouch || !isMove)
|
|
14490
|
+
if ((isOutsideTouch && !this.stayActiveWhileOutside) || !isMove)
|
|
14481
14491
|
return;
|
|
14482
14492
|
if (isTouchEvent || isPointerEvent)
|
|
14483
14493
|
evt.preventDefault();
|
|
@@ -14491,7 +14501,7 @@ var TaskAreaStateBase = (function () {
|
|
|
14491
14501
|
}
|
|
14492
14502
|
};
|
|
14493
14503
|
TaskAreaStateBase.prototype.processPointerUp = function (evt) {
|
|
14494
|
-
if (!this.checkAndProcessTouchOutsideArea(evt)) {
|
|
14504
|
+
if (this.stayActiveWhileOutside || !this.checkAndProcessTouchOutsideArea(evt)) {
|
|
14495
14505
|
evt.preventDefault();
|
|
14496
14506
|
if (this.isTouchEvent(evt))
|
|
14497
14507
|
this.onTouchEndInternal(evt);
|
|
@@ -14510,7 +14520,7 @@ var TaskAreaStateBase = (function () {
|
|
|
14510
14520
|
TaskAreaStateBase.prototype.onTaskAreaLeaveInternal = function (evt) { };
|
|
14511
14521
|
TaskAreaStateBase.prototype.checkAndProcessTouchOutsideArea = function (evt) {
|
|
14512
14522
|
var isOutside = !this.isInTaskArea(evt);
|
|
14513
|
-
if (isOutside)
|
|
14523
|
+
if (isOutside && !this.stayActiveWhileOutside)
|
|
14514
14524
|
this.raiseEvent(TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_EDIT_END, evt);
|
|
14515
14525
|
this.isCursorInArea = !isOutside;
|
|
14516
14526
|
return isOutside;
|
|
@@ -14587,6 +14597,7 @@ var TaskAreaStateEventNames = (function () {
|
|
|
14587
14597
|
TaskAreaStateEventNames.STATE_EXIT = "stateExit";
|
|
14588
14598
|
TaskAreaStateEventNames.TASK_SELECTION = "taskSelection";
|
|
14589
14599
|
TaskAreaStateEventNames.TASK_EDIT_START = "taskEditStart";
|
|
14600
|
+
TaskAreaStateEventNames.TASK_EDIT_INTERACTION_START = "taskEditInteractionStart";
|
|
14590
14601
|
TaskAreaStateEventNames.TASK_EDIT_END = "taskEditEnd";
|
|
14591
14602
|
TaskAreaStateEventNames.TASK_LEAVE = "taskLeave";
|
|
14592
14603
|
TaskAreaStateEventNames.TASK_PROCESS_MOVE = "taskProcessMove";
|
|
@@ -14789,11 +14800,14 @@ var TaskDragBaseState_1 = __webpack_require__(7484);
|
|
|
14789
14800
|
var TaskEditState = (function (_super) {
|
|
14790
14801
|
tslib_1.__extends(TaskEditState, _super);
|
|
14791
14802
|
function TaskEditState() {
|
|
14792
|
-
|
|
14803
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14804
|
+
_this.stayActiveWhileOutside = true;
|
|
14805
|
+
return _this;
|
|
14793
14806
|
}
|
|
14794
14807
|
TaskEditState.prototype.onStartInternal = function (evt) {
|
|
14795
14808
|
var _a;
|
|
14796
14809
|
(_a = this._source) !== null && _a !== void 0 ? _a : (this._source = TaskAreaDomHelper_1.TaskAreaDomHelper.getEventSource(evt_1.EvtUtils.getEventSource(evt)));
|
|
14810
|
+
this.raiseEvent(TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_EDIT_INTERACTION_START, evt);
|
|
14797
14811
|
};
|
|
14798
14812
|
TaskEditState.prototype.onEndInternal = function (_evt) { this.raiseEvent(this.getEventOnEndKey(), _evt); };
|
|
14799
14813
|
TaskEditState.prototype.onDragInternal = function (position) {
|
|
@@ -14955,6 +14969,7 @@ var TaskAreaEventsListener = (function () {
|
|
|
14955
14969
|
handlers[TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_SELECTION] = this.taskSelectionHandler.bind(this);
|
|
14956
14970
|
handlers[TaskAreaStateEventNames_1.TaskAreaStateEventNames.DEPENDENCY_SELECTION] = this.dependencySelectionHandler.bind(this);
|
|
14957
14971
|
handlers[TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_EDIT_START] = this.taskEditStartHandler.bind(this);
|
|
14972
|
+
handlers[TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_EDIT_INTERACTION_START] = this.taskEditInteractionStartHandler.bind(this);
|
|
14958
14973
|
handlers[TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_EDIT_END] = this.taskEditEndHandler.bind(this);
|
|
14959
14974
|
handlers[TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_LEAVE] = this.taskLeaveHandler.bind(this);
|
|
14960
14975
|
handlers[TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_PROCESS_MOVE] = this.taskProcessMoveHandler.bind(this);
|
|
@@ -15035,6 +15050,9 @@ var TaskAreaEventsListener = (function () {
|
|
|
15035
15050
|
this.taskEditController.show(args.rowIndex);
|
|
15036
15051
|
this.taskEditController.showTaskInfo(evt_1.EvtUtils.getEventX(args.triggerEvent));
|
|
15037
15052
|
};
|
|
15053
|
+
TaskAreaEventsListener.prototype.taskEditInteractionStartHandler = function () {
|
|
15054
|
+
this.taskEditController.beginEditingInteraction();
|
|
15055
|
+
};
|
|
15038
15056
|
TaskAreaEventsListener.prototype.taskLeaveHandler = function (args) {
|
|
15039
15057
|
this.taskEditController.cancel();
|
|
15040
15058
|
};
|
package/dist/dx-gantt.min.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Gantt (dx-gantt.min)
|
|
3
|
-
* Version: 4.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.1.72
|
|
4
|
+
* Build date: Tue Oct 27 2026
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|