@syncfusion/ej2-pdf-export 25.1.35 → 25.1.38

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 : 25.1.35
3
+ * version : 25.1.38
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@25.1.35",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-5BHZBo2BqowXVMzv2XBYF/+uE5NfGB8qPIxrK8ggSh5xfNi/s2LqZOGI5IKQSZVvKL85nfZ2RY8dCBKBsk81Bw==",
5
+ "_integrity": "sha512-zArJ6x1T1ZNJhiuDSpfgFFj5M4a4NJZBDS+JsRucWO9RlWZyfRTcuwcYJzIyoihHa24qNS0zNs6EWIDjqTmDpg==",
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": "18c36ba03bd6801752c8b8a43c632bea356f8938",
30
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-25.1.35.tgz",
31
+ "_shasum": "017b25e685f29246fb30a32482fb3b4cd5c8ddd6",
32
32
  "_spec": "@syncfusion/ej2-pdf-export@*",
33
33
  "_where": "/jenkins/workspace/elease-automation_release_25.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": "25.1.35",
50
+ "version": "25.1.38",
51
51
  "sideEffects": false,
52
52
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
53
53
  }
@@ -745,11 +745,11 @@ var PdfGridLayouter = /** @class */ (function (_super) {
745
745
  this.currentBounds.y = recalHeight;
746
746
  //this.currentBounds.y = row.NestedGridLayoutResult.bounds.height;
747
747
  if (startPage != this.currentPage) {
748
- var secion = this.currentPage.section;
749
- var startIndex = secion.indexOf(startPage) + 1;
750
- var endIndex = secion.indexOf(this.currentPage);
748
+ var section = this.currentPage.section;
749
+ var startIndex = section.indexOf(startPage) + 1;
750
+ var endIndex = section.indexOf(this.currentPage);
751
751
  for (var page = startIndex; page < endIndex + 1; page++) {
752
- var pageGraphics = this.currentPage.graphics;
752
+ var pageGraphics = section.getPages()[page].graphics;
753
753
  var location_2 = new PointF(format.paginateBounds.x, format.paginateBounds.y);
754
754
  var height = page == endIndex ? (row.NestedGridLayoutResult.bounds.height - param.bounds.y) :
755
755
  (this.currentBounds.height - location_2.y);
@@ -771,14 +771,14 @@ var PdfGridLayouter = /** @class */ (function (_super) {
771
771
  else {
772
772
  totalwidth = cell.width;
773
773
  }
774
- // if (cell.columnSpan > 1)
775
- // {
776
- // for (; c < cell.columnSpan; c++)
777
- // cellWidth += row.grid.columns.getColumn(c).width;
778
- // }
779
- // else
780
- cellWidth = Math.max(totalwidth, row.grid.columns.getColumn(c).width);
774
+ if (cell.columnSpan > 1) {
775
+ for (; c < cell.columnSpan; c++)
776
+ cellWidth += row.grid.columns.getColumn(c).width;
777
+ }
778
+ else
779
+ cellWidth = Math.max(totalwidth, row.grid.columns.getColumn(c).width);
781
780
  cell.drawCellBorders(pageGraphics, new RectangleF(location_2, new SizeF(cellWidth, height)));
781
+ cell.drawCellBorders(pageGraphics, new RectangleF(location_2, new SizeF(this.Grid.rows.getRow(this.Grid.rows.count - 1).width, height)));
782
782
  location_2.x += cellWidth;
783
783
  c += (cell.columnSpan - 1);
784
784
  }