survey-pdf 1.9.94 → 1.9.96
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 +21 -5
- package/survey.pdf.fonts.js +1 -1
- package/survey.pdf.fonts.min.js +1 -1
- package/survey.pdf.js +98 -4
- 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.96",
|
|
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.96"
|
|
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.96
|
|
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
|
*/
|
|
@@ -967,22 +967,30 @@ export interface IPdfBrick extends IRect, ISize {
|
|
|
967
967
|
export declare class PdfBrick implements IPdfBrick {
|
|
968
968
|
protected question: IQuestion;
|
|
969
969
|
protected controller: DocController;
|
|
970
|
+
protected _xLeft: number;
|
|
971
|
+
protected _xRight: number;
|
|
972
|
+
protected _yTop: number;
|
|
973
|
+
protected _yBot: number;
|
|
970
974
|
/**
|
|
971
975
|
* An X-coordinate for the left brick edge.
|
|
972
976
|
*/
|
|
973
|
-
xLeft: number;
|
|
977
|
+
get xLeft(): number;
|
|
978
|
+
set xLeft(val: number);
|
|
974
979
|
/**
|
|
975
980
|
* An X-coordinate for the right brick edge.
|
|
976
981
|
*/
|
|
977
|
-
xRight: number;
|
|
982
|
+
get xRight(): number;
|
|
983
|
+
set xRight(val: number);
|
|
978
984
|
/**
|
|
979
985
|
* A Y-coordinate for the top brick edge.
|
|
980
986
|
*/
|
|
981
|
-
yTop: number;
|
|
987
|
+
get yTop(): number;
|
|
988
|
+
set yTop(val: number);
|
|
982
989
|
/**
|
|
983
990
|
* A Y-coordinate for the bottom brick edge.
|
|
984
991
|
*/
|
|
985
|
-
yBot: number;
|
|
992
|
+
get yBot(): number;
|
|
993
|
+
set yBot(val: number);
|
|
986
994
|
/**
|
|
987
995
|
* Font size in points.
|
|
988
996
|
*
|
|
@@ -1012,6 +1020,10 @@ export declare class PdfBrick implements IPdfBrick {
|
|
|
1012
1020
|
*/
|
|
1013
1021
|
unfold(): IPdfBrick[];
|
|
1014
1022
|
protected getCorrectedText(val: string): string;
|
|
1023
|
+
protected setXLeft(val: number): void;
|
|
1024
|
+
protected setXRight(val: number): void;
|
|
1025
|
+
protected setYTop(val: number): void;
|
|
1026
|
+
protected setYBottom(val: number): void;
|
|
1015
1027
|
}
|
|
1016
1028
|
|
|
1017
1029
|
export declare class BooleanItemBrick extends CheckItemBrick {
|
|
@@ -1170,6 +1182,10 @@ export declare class TextFieldBrick extends PdfBrick {
|
|
|
1170
1182
|
textBrick: IPdfBrick;
|
|
1171
1183
|
renderReadOnly(): Promise<void>;
|
|
1172
1184
|
translateX(func: TranslateXFunction): void;
|
|
1185
|
+
protected setXLeft(val: number): void;
|
|
1186
|
+
protected setXRight(val: number): void;
|
|
1187
|
+
protected setYTop(val: number): void;
|
|
1188
|
+
protected setYBottom(val: number): void;
|
|
1173
1189
|
}
|
|
1174
1190
|
|
|
1175
1191
|
export declare class TextBoldBrick extends TextBrick {
|
package/survey.pdf.fonts.js
CHANGED
package/survey.pdf.fonts.min.js
CHANGED