@syncfusion/ej2-pdf-export 21.1.37 → 21.2.8

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 : 21.1.37
3
+ * version : 21.2.8
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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@21.1.35",
3
+ "_id": "@syncfusion/ej2-pdf-export@21.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-dBB24Wq/0ynNnmNGRZjPG5eHAjqlbul0ntqUkCvUIHspxQqLW7gVQNrcc897+Kf1BwPaPmvozGxTldiIFT3TiA==",
5
+ "_integrity": "sha512-2UpACPsgjf/9XpTZyHF6dxW9nNhns82AusEGmzS21HP/6AvCCvT9v07x+NsneNJA82F2r4R1fXYSLD2eZwyi3Q==",
6
6
  "_location": "/@syncfusion/ej2-pdf-export",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -28,8 +28,8 @@
28
28
  "/@syncfusion/ej2-pivotview",
29
29
  "/@syncfusion/ej2-treemap"
30
30
  ],
31
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-21.1.35.tgz",
32
- "_shasum": "d3dac47335b2ad9f48ed0c4de86404cd955928b7",
31
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-21.2.3.tgz",
32
+ "_shasum": "e46178bb8a17a76b6875153db5319fc591a40da2",
33
33
  "_spec": "@syncfusion/ej2-pdf-export@*",
34
34
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
35
35
  "author": {
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "bundleDependencies": false,
39
39
  "dependencies": {
40
- "@syncfusion/ej2-compression": "~21.1.37"
40
+ "@syncfusion/ej2-compression": "~21.2.3"
41
41
  },
42
42
  "deprecated": false,
43
43
  "description": "Syncfusion TypeScript Component",
@@ -48,7 +48,7 @@
48
48
  "module": "./index.js",
49
49
  "name": "@syncfusion/ej2-pdf-export",
50
50
  "typings": "index.d.ts",
51
- "version": "21.1.37",
51
+ "version": "21.2.8",
52
52
  "sideEffects": false,
53
53
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
54
54
  }
@@ -1397,6 +1397,7 @@ var PdfGridLayouter = /** @class */ (function (_super) {
1397
1397
  var skipcell = false;
1398
1398
  var stringResult = null;
1399
1399
  if (!skipcell) {
1400
+ row.cells.getCell(i)._rowHeight = row.height;
1400
1401
  stringResult = row.cells.getCell(i).draw(this.currentGraphics, new RectangleF(location, size), cancelSpans);
1401
1402
  }
1402
1403
  //If still row is to be drawn, set cell finished drawing cell as false and update the text to be drawn.
@@ -11,6 +11,7 @@ import { PdfGraphics } from './../../graphics/pdf-graphics';
11
11
  * `PdfGridCell` class represents the schema of a cell in a 'PdfGrid'.
12
12
  */
13
13
  export declare class PdfGridCell {
14
+ _rowHeight: number;
14
15
  /**
15
16
  * The `row span`.
16
17
  * @private
@@ -496,6 +496,9 @@ var PdfGridCell = /** @class */ (function () {
496
496
  // If to break row to next page.
497
497
  if (this.row.grid.allowRowBreakAcrossPages) {
498
498
  innerLayoutArea.height -= innerLayoutArea.y;
499
+ if (typeof this._rowHeight !== 'undefined' && this._rowHeight !== null && innerLayoutArea.height > this._rowHeight) {
500
+ innerLayoutArea.height = this._rowHeight;
501
+ }
499
502
  //bounds.height -= bounds.y;
500
503
  // if(this.row.grid.isChildGrid)
501
504
  // {