devexpress-gantt 4.1.71 → 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 +21 -21
- 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 -3
- package/package.json +3 -3
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;
|
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
|