devexpress-gantt 4.0.10 → 4.0.11
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 +5 -5
- 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.0.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.0.11
|
|
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.0.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.0.11
|
|
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
|
|
@@ -7483,12 +7483,11 @@ var EllipsisHelper = (function () {
|
|
|
7483
7483
|
return text;
|
|
7484
7484
|
var pdfTextWidth = pdfDoc.getTextWidth(text.toString());
|
|
7485
7485
|
if (pdfTextWidth > size) {
|
|
7486
|
-
var outputText =
|
|
7487
|
-
var pos =
|
|
7488
|
-
while (pdfDoc.getTextWidth(outputText)
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
pos++;
|
|
7486
|
+
var outputText = text;
|
|
7487
|
+
var pos = text.length - 1;
|
|
7488
|
+
while (pdfDoc.getTextWidth(outputText) > size && pos > 0) {
|
|
7489
|
+
outputText = outputText.substring(0, pos) + EllipsisHelper.ellipsis;
|
|
7490
|
+
pos--;
|
|
7492
7491
|
}
|
|
7493
7492
|
return outputText;
|
|
7494
7493
|
}
|
|
@@ -15343,8 +15342,11 @@ var PdfGanttTableDrawer = (function () {
|
|
|
15343
15342
|
this._pdfDoc = pdfDoc;
|
|
15344
15343
|
}
|
|
15345
15344
|
PdfGanttTableDrawer.prototype.drawTable = function (info) {
|
|
15345
|
+
var _a, _b;
|
|
15346
15346
|
if (info) {
|
|
15347
15347
|
var options = this.createTableOptions(info);
|
|
15348
|
+
if ((_a = info.style) === null || _a === void 0 ? void 0 : _a.fontSize)
|
|
15349
|
+
this._pdfDoc.setFontSize((_b = info.style) === null || _b === void 0 ? void 0 : _b.fontSize);
|
|
15348
15350
|
this._pdfDoc.autoTable(options.getValue());
|
|
15349
15351
|
}
|
|
15350
15352
|
};
|
package/dist/dx-gantt.min.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Gantt (dx-gantt.min)
|
|
3
|
-
* Version: 4.0.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.0.11
|
|
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
|