survey-pdf 1.9.64 → 1.9.65

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.9.64",
3
+ "version": "1.9.65",
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",
@@ -26,6 +26,6 @@
26
26
  "typings": "survey.pdf.d.ts",
27
27
  "dependencies": {
28
28
  "jspdf": "^2.3.0",
29
- "survey-core": "1.9.64"
29
+ "survey-core": "1.9.65"
30
30
  }
31
31
  }
package/survey.pdf.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*Type definitions for SurveyJS PDF library v1.9.64
1
+ /*Type definitions for SurveyJS PDF library v1.9.65
2
2
  Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
3
3
  Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/>
4
4
  */
@@ -162,7 +162,7 @@ export declare class SurveyHelper {
162
162
  static getQuestionOrCommentValue(question: Question, isQuestion?: boolean): string;
163
163
  static getQuestionOrCommentDisplayValue(question: Question, isQuestion?: boolean): string;
164
164
  static inBrowser: boolean;
165
- static createImageFlat(point: IPoint, question: any, controller: DocController, imagelink: string, width: number, height: number): Promise<IPdfBrick>;
165
+ static createImageFlat(point: IPoint, question: any, controller: DocController, imagelink: string, width: number, height: number, imageFit?: string): Promise<IPdfBrick>;
166
166
  static canPreviewImage(question: QuestionFileModel, item: {
167
167
  name: string;
168
168
  type: string;
@@ -489,6 +489,7 @@ export declare class FlatFile extends FlatQuestion {
489
489
  protected survey: SurveyPDF;
490
490
  static readonly IMAGE_GAP_SCALE: number;
491
491
  static readonly TEXT_MIN_SCALE: number;
492
+ static DEFAULT_IMAGE_FIT: string;
492
493
  protected question: QuestionFileModel;
493
494
  constructor(survey: SurveyPDF, question: IQuestion, controller: DocController);
494
495
  generateFlatsContent(point: IPoint): Promise<IPdfBrick[]>;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS PDF library v1.9.64
2
+ * surveyjs - SurveyJS PDF library v1.9.65
3
3
  * Copyright (c) 2015-2022 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.9.64
2
+ * surveyjs - SurveyJS PDF library v1.9.65
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */