@syncfusion/ej2-pdf-export 27.1.48 → 27.1.51
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 +19 -7
- package/dist/es6/ej2-pdf-export.es2015.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es5.js +19 -7
- 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 +6 -7
- package/src/implementation/structured-elements/grid/pdf-grid-cell.js +19 -7
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 27.1.
|
|
3
|
+
* version : 27.1.51
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-pdf-export@27.1.50",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-Pj0GRZZUgERUxCJxCmok/GOQtYlIeYHXs5/HQ9ufJS/Nao/qCpuDBrEX1V0k2f4QYKhxVGejqUJ7tBDI8eT2uQ==",
|
|
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-
|
|
31
|
-
"_shasum": "
|
|
30
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-27.1.50.tgz",
|
|
31
|
+
"_shasum": "4bf75c8d54ba7e30ed495e3d466de79be2196d3e",
|
|
32
32
|
"_spec": "@syncfusion/ej2-pdf-export@*",
|
|
33
33
|
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
|
|
34
34
|
"author": {
|
|
@@ -36,8 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"bundleDependencies": false,
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@syncfusion/ej2-compression": "~27.1.
|
|
40
|
-
"markdown-spellcheck": "^1.3.1"
|
|
39
|
+
"@syncfusion/ej2-compression": "~27.1.50"
|
|
41
40
|
},
|
|
42
41
|
"deprecated": false,
|
|
43
42
|
"description": "Syncfusion TypeScript Component",
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
"module": "./index.js",
|
|
49
48
|
"name": "@syncfusion/ej2-pdf-export",
|
|
50
49
|
"typings": "index.d.ts",
|
|
51
|
-
"version": "27.1.
|
|
50
|
+
"version": "27.1.51",
|
|
52
51
|
"sideEffects": false,
|
|
53
52
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
54
53
|
}
|
|
@@ -375,19 +375,31 @@ var PdfGridCell = /** @class */ (function () {
|
|
|
375
375
|
var returnBounds = new RectangleF(bounds.x, bounds.y, bounds.width, bounds.height);
|
|
376
376
|
if (!(this.objectValue instanceof PdfGrid)) {
|
|
377
377
|
if (typeof this.style.cellPadding === 'undefined' || this.style.cellPadding == null) {
|
|
378
|
-
returnBounds.x += this.gridRow.grid.style.cellPadding.left
|
|
379
|
-
returnBounds.y += this.gridRow.grid.style.cellPadding.top
|
|
378
|
+
returnBounds.x += this.gridRow.grid.style.cellPadding.left;
|
|
379
|
+
returnBounds.y += this.gridRow.grid.style.cellPadding.top;
|
|
380
380
|
returnBounds.width -= (this.gridRow.grid.style.cellPadding.right + this.gridRow.grid.style.cellPadding.left);
|
|
381
381
|
returnBounds.height -= (this.gridRow.grid.style.cellPadding.bottom + this.gridRow.grid.style.cellPadding.top);
|
|
382
|
-
returnBounds.height -= (this.cellStyle.borders.top.width + this.cellStyle.borders.bottom.width);
|
|
383
382
|
}
|
|
384
383
|
else {
|
|
385
|
-
returnBounds.x += this.style.cellPadding.left
|
|
386
|
-
returnBounds.y += this.style.cellPadding.top
|
|
384
|
+
returnBounds.x += this.style.cellPadding.left;
|
|
385
|
+
returnBounds.y += this.style.cellPadding.top;
|
|
387
386
|
returnBounds.width -= (this.style.cellPadding.right + this.style.cellPadding.left);
|
|
388
|
-
returnBounds.width -= (this.cellStyle.borders.left.width + this.cellStyle.borders.right.width);
|
|
389
387
|
returnBounds.height -= (this.style.cellPadding.bottom + this.style.cellPadding.top);
|
|
390
|
-
|
|
388
|
+
if (this.rowSpan === 1) {
|
|
389
|
+
returnBounds.width -= (this.style.borders.left.width);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
if (typeof this.style.borders === 'undefined' || this.style.borders == null) {
|
|
393
|
+
returnBounds.x += this.gridRow.style.border.left.width;
|
|
394
|
+
returnBounds.y += this.gridRow.style.border.top.width;
|
|
395
|
+
returnBounds.width -= (this.gridRow.style.border.left.width + this.gridRow.style.border.right.width);
|
|
396
|
+
returnBounds.height -= (this.gridRow.style.border.top.width + this.gridRow.style.border.bottom.width);
|
|
397
|
+
}
|
|
398
|
+
else {
|
|
399
|
+
returnBounds.x += this.style.borders.left.width;
|
|
400
|
+
returnBounds.y += this.style.borders.top.width;
|
|
401
|
+
returnBounds.width -= (this.style.borders.left.width + this.style.borders.right.width);
|
|
402
|
+
returnBounds.height -= (this.style.borders.top.width + this.style.borders.bottom.width);
|
|
391
403
|
if (this.rowSpan === 1) {
|
|
392
404
|
returnBounds.width -= (this.style.borders.left.width);
|
|
393
405
|
}
|