survey-pdf 1.9.88 → 1.9.89
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 -6
- package/survey.pdf.fonts.js +1 -1
- package/survey.pdf.fonts.min.js +1 -1
- package/survey.pdf.js +54 -33
- package/survey.pdf.min.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-pdf",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.89",
|
|
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.89"
|
|
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.89
|
|
2
2
|
Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
3
3
|
Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/>
|
|
4
4
|
*/
|
|
@@ -245,11 +245,8 @@ export declare class SurveyHelper {
|
|
|
245
245
|
static getQuestionOrCommentValue(question: Question, isQuestion?: boolean): string;
|
|
246
246
|
static getQuestionOrCommentDisplayValue(question: Question, isQuestion?: boolean): string;
|
|
247
247
|
static inBrowser: boolean;
|
|
248
|
-
/**
|
|
249
|
-
* allows to convert any image in acceptable format for jspdf, default: true
|
|
250
|
-
*/
|
|
251
|
-
static convertImageToJPEG: boolean;
|
|
252
248
|
static getImageBase64(imageLink: string): Promise<string>;
|
|
249
|
+
static shouldConvertImageToPng: boolean;
|
|
253
250
|
static getImageLink(controller: DocController, originalImageLink: string, width: number, height: number, fitType: string): Promise<string>;
|
|
254
251
|
static createImageFlat(point: IPoint, question: any, controller: DocController, imagelink: string, width: number, height: number, imageFit?: string): Promise<IPdfBrick>;
|
|
255
252
|
static canPreviewImage(question: QuestionFileModel, item: {
|
|
@@ -772,7 +769,7 @@ export declare class FlatMatrixRow extends FlatRadiogroup {
|
|
|
772
769
|
protected isFirst: boolean;
|
|
773
770
|
protected isVertical: boolean;
|
|
774
771
|
protected questionMatrix: QuestionMatrixModel;
|
|
775
|
-
constructor(survey: SurveyPDF, question: IQuestion, controller: DocController, row: MatrixRowModel, rowIndex: number, key: string, isFirst
|
|
772
|
+
constructor(survey: SurveyPDF, question: IQuestion, controller: DocController, row: MatrixRowModel, rowIndex: number, key: string, isFirst: boolean, isVertical: boolean, rowTitleWidth: number, columnWidth: number);
|
|
776
773
|
generateFlatsContent(point: IPoint): Promise<IPdfBrick[]>;
|
|
777
774
|
protected generateTextComposite(point: IPoint, column: ItemValue, index: number): Promise<IPdfBrick>;
|
|
778
775
|
protected generateItemCompoiste(point: IPoint, column: ItemValue, index: number): Promise<IPdfBrick>;
|
package/survey.pdf.fonts.js
CHANGED
package/survey.pdf.fonts.min.js
CHANGED