survey-pdf 1.9.63 → 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 +2 -2
- package/survey.pdf.d.ts +3 -2
- package/survey.pdf.fonts.js +1 -1
- package/survey.pdf.fonts.min.js +1 -1
- package/survey.pdf.js +16 -10
- package/survey.pdf.min.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-pdf",
|
|
3
|
-
"version": "1.9.
|
|
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.
|
|
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.
|
|
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[]>;
|
package/survey.pdf.fonts.js
CHANGED
package/survey.pdf.fonts.min.js
CHANGED