survey-pdf 1.11.4 → 1.11.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-pdf",
3
- "version": "1.11.4",
3
+ "version": "1.11.6",
4
4
  "description": "survey.pdf.js is a SurveyJS PDF Library. It is a easy way to export SurveyJS surveys to PDF. It uses JSON for survey metadata.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -28,6 +28,6 @@
28
28
  "jspdf": "^2.3.0"
29
29
  },
30
30
  "peerDependencies": {
31
- "survey-core": "1.11.4"
31
+ "survey-core": "1.11.6"
32
32
  }
33
33
  }
package/survey.pdf.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*Type definitions for SurveyJS PDF library v1.11.4
1
+ /*Type definitions for SurveyJS PDF library v1.11.6
2
2
  Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
3
3
  Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/>
4
4
  */
@@ -299,9 +299,11 @@ export declare class SurveyHelper {
299
299
  static isSizeEmpty(val: any): boolean;
300
300
  static isHeightEmpty(val: any): boolean;
301
301
  static getCorrectedImageSize(controller: DocController, imageOptions: {
302
- imageWidth: any;
303
- imageHeight: any;
302
+ imageWidth?: any;
303
+ imageHeight?: any;
304
304
  imageLink: string;
305
+ defaultImageWidth?: any;
306
+ defaultImageHeight?: any;
305
307
  }): Promise<ISize>;
306
308
  }
307
309
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS PDF library v1.11.4
2
+ * surveyjs - SurveyJS PDF library v1.11.6
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS PDF library v1.11.4
2
+ * surveyjs - SurveyJS PDF library v1.11.6
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */