devexpress-gantt 4.1.13 → 4.1.14
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 +10 -8
- package/dist/dx-gantt.min.css +2 -2
- package/dist/dx-gantt.min.js +3 -3
- package/package.json +1 -1
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.14
|
|
4
|
+
* Build date: Tue Feb 22 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 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.14
|
|
4
|
+
* Build date: Tue Feb 22 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|
|
@@ -7445,12 +7445,11 @@ var EllipsisHelper = (function () {
|
|
|
7445
7445
|
return text;
|
|
7446
7446
|
var pdfTextWidth = pdfDoc.getTextWidth(text.toString());
|
|
7447
7447
|
if (pdfTextWidth > size) {
|
|
7448
|
-
var outputText =
|
|
7449
|
-
var pos =
|
|
7450
|
-
while (pdfDoc.getTextWidth(outputText)
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
pos++;
|
|
7448
|
+
var outputText = text;
|
|
7449
|
+
var pos = text.length - 1;
|
|
7450
|
+
while (pdfDoc.getTextWidth(outputText) > size && pos > 0) {
|
|
7451
|
+
outputText = outputText.substring(0, pos) + EllipsisHelper.ellipsis;
|
|
7452
|
+
pos--;
|
|
7454
7453
|
}
|
|
7455
7454
|
return outputText;
|
|
7456
7455
|
}
|
|
@@ -15437,8 +15436,11 @@ var PdfGanttTableDrawer = (function () {
|
|
|
15437
15436
|
this._pdfDoc = pdfDoc;
|
|
15438
15437
|
}
|
|
15439
15438
|
PdfGanttTableDrawer.prototype.drawTable = function (info) {
|
|
15439
|
+
var _a, _b;
|
|
15440
15440
|
if (info) {
|
|
15441
15441
|
var options = this.createTableOptions(info);
|
|
15442
|
+
if ((_a = info.style) === null || _a === void 0 ? void 0 : _a.fontSize)
|
|
15443
|
+
this._pdfDoc.setFontSize((_b = info.style) === null || _b === void 0 ? void 0 : _b.fontSize);
|
|
15442
15444
|
this._pdfDoc.autoTable(options.getValue());
|
|
15443
15445
|
}
|
|
15444
15446
|
};
|
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.14
|
|
4
|
+
* Build date: Tue Feb 22 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|