@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 27.1.48
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@0.38.8",
3
+ "_id": "@syncfusion/ej2-pdf-export@27.1.50",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-2toFfcdwkUI7DLyPsa4jN0i5Q5hn4Mtv63T1SNn6N+etxCPKO2giO1j9sdWA7WsU553CGww/pkyCbA9Iyp97cA==",
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-release/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-0.38.8.tgz",
31
- "_shasum": "487195727293596aed4bd2fba56662a0e31b08c6",
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.48",
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.48",
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 + this.cellStyle.borders.left.width;
379
- returnBounds.y += this.gridRow.grid.style.cellPadding.top + this.cellStyle.borders.top.width;
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 + this.cellStyle.borders.left.width;
386
- returnBounds.y += this.style.cellPadding.top + this.cellStyle.borders.top.width;
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
- returnBounds.height -= (this.cellStyle.borders.top.width + this.cellStyle.borders.bottom.width);
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
  }