@syncfusion/ej2-pdf-export 26.2.11 → 26.2.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/ej2-pdf-export.min.js +2 -2
- package/dist/ej2-pdf-export.umd.min.js +2 -2
- package/dist/ej2-pdf-export.umd.min.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es2015.js +15 -16
- package/dist/es6/ej2-pdf-export.es2015.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es5.js +15 -16
- package/dist/es6/ej2-pdf-export.es5.js.map +1 -1
- package/dist/global/ej2-pdf-export.min.js +2 -2
- package/dist/global/ej2-pdf-export.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/implementation/structured-elements/grid/layout/grid-layouter.js +14 -7
- package/src/implementation/structured-elements/grid/styles/pdf-borders.js +1 -3
- package/src/implementation/structured-elements/grid/styles/style.d.ts +0 -4
- package/src/implementation/structured-elements/grid/styles/style.js +0 -6
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.2.
|
|
3
|
+
* version : 26.2.14
|
|
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-pdf-export@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-pdf-export@26.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-pdf-export@26.2.11",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-2SLRcuu9QJUeMl3P9fl6qN8N5epJQoEMWNrN67oPxGlhTeTmIBXFidePOhCjrLQLahxO7v0vNEVjFQM0BTXXog==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-pdf-export",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"/@syncfusion/ej2-pivotview",
|
|
28
28
|
"/@syncfusion/ej2-treemap"
|
|
29
29
|
],
|
|
30
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-26.2.
|
|
31
|
-
"_shasum": "
|
|
30
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-26.2.11.tgz",
|
|
31
|
+
"_shasum": "a414545d364413377d3edc87567ed51d779a0f0d",
|
|
32
32
|
"_spec": "@syncfusion/ej2-pdf-export@*",
|
|
33
33
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
34
34
|
"author": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"module": "./index.js",
|
|
48
48
|
"name": "@syncfusion/ej2-pdf-export",
|
|
49
49
|
"typings": "index.d.ts",
|
|
50
|
-
"version": "26.2.
|
|
50
|
+
"version": "26.2.14",
|
|
51
51
|
"sideEffects": false,
|
|
52
52
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
53
53
|
}
|
|
@@ -763,7 +763,11 @@ var PdfGridLayouter = /** @class */ (function (_super) {
|
|
|
763
763
|
var cell = row.cells.getCell(c);
|
|
764
764
|
var cellWidth = 0;
|
|
765
765
|
var totalwidth = 0;
|
|
766
|
+
var childGridCell = void 0;
|
|
766
767
|
if (cell.value instanceof PdfGrid) {
|
|
768
|
+
if (!childGridCell) {
|
|
769
|
+
childGridCell = cell;
|
|
770
|
+
}
|
|
767
771
|
for (var i_6 = 0; i_6 < cell.value.columns.count; i_6++) {
|
|
768
772
|
totalwidth += cell.value.columns.getColumn(i_6).columnWidth;
|
|
769
773
|
}
|
|
@@ -777,13 +781,16 @@ var PdfGridLayouter = /** @class */ (function (_super) {
|
|
|
777
781
|
}
|
|
778
782
|
else
|
|
779
783
|
cellWidth = Math.max(totalwidth, row.grid.columns.getColumn(c).width);
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
bottomPadding
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
784
|
+
var bottomPadding = void 0;
|
|
785
|
+
if (childGridCell && childGridCell.style && childGridCell.style.cellPadding) {
|
|
786
|
+
bottomPadding = childGridCell.style.cellPadding.bottom;
|
|
787
|
+
}
|
|
788
|
+
else {
|
|
789
|
+
bottomPadding = this.Grid.style.cellPadding.bottom;
|
|
790
|
+
}
|
|
791
|
+
if (typeof bottomPadding === 'number' && (height + bottomPadding) < pageGraphics.clientSize.height) {
|
|
792
|
+
height += bottomPadding;
|
|
793
|
+
this.currentBounds.y += bottomPadding;
|
|
787
794
|
}
|
|
788
795
|
cell.drawCellBorders(pageGraphics, new RectangleF(location_2, new SizeF(cellWidth, height)));
|
|
789
796
|
var rowWidth = this.Grid.rows.getRow(this.Grid.rows.count - 1).width;
|
|
@@ -143,10 +143,8 @@ var PdfPaddings = /** @class */ (function () {
|
|
|
143
143
|
*/
|
|
144
144
|
this.hasBottomPad = false;
|
|
145
145
|
if (typeof left === 'undefined') {
|
|
146
|
-
//5.76 and 0 are taken from ms-word default table margins.
|
|
147
|
-
this.leftPad = this.rightPad = 5.76;
|
|
148
146
|
//0.5 is set for top and bottom by default.
|
|
149
|
-
this.bottomPad = this.topPad = 0.5;
|
|
147
|
+
this.bottomPad = this.topPad = this.leftPad = this.rightPad = 0.5;
|
|
150
148
|
}
|
|
151
149
|
else {
|
|
152
150
|
this.leftPad = left;
|
|
@@ -105,10 +105,6 @@ var PdfGridStyle = /** @class */ (function (_super) {
|
|
|
105
105
|
*/
|
|
106
106
|
function PdfGridStyle() {
|
|
107
107
|
var _this = _super.call(this) || this;
|
|
108
|
-
/**
|
|
109
|
-
* @private
|
|
110
|
-
*/
|
|
111
|
-
_this._isDefaultPadding = false;
|
|
112
108
|
_this.gridBorderOverlapStyle = PdfBorderOverlapStyle.Overlap;
|
|
113
109
|
_this.bAllowHorizontalOverflow = false;
|
|
114
110
|
_this.gridHorizontalOverflowType = PdfHorizontalOverflowType.LastPage;
|
|
@@ -168,7 +164,6 @@ var PdfGridStyle = /** @class */ (function (_super) {
|
|
|
168
164
|
get: function () {
|
|
169
165
|
if (typeof this.gridCellPadding === 'undefined') {
|
|
170
166
|
this.gridCellPadding = new PdfPaddings();
|
|
171
|
-
this._isDefaultPadding = true;
|
|
172
167
|
}
|
|
173
168
|
return this.gridCellPadding;
|
|
174
169
|
},
|
|
@@ -180,7 +175,6 @@ var PdfGridStyle = /** @class */ (function (_super) {
|
|
|
180
175
|
else {
|
|
181
176
|
this.gridCellPadding = value;
|
|
182
177
|
}
|
|
183
|
-
this._isDefaultPadding = false;
|
|
184
178
|
},
|
|
185
179
|
enumerable: true,
|
|
186
180
|
configurable: true
|