survey-pdf 1.10.3 → 1.10.4
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 +9 -5
- package/survey.pdf.fonts.js +1 -1
- package/survey.pdf.fonts.min.js +1 -1
- package/survey.pdf.js +15 -7
- 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.10.
|
|
3
|
+
"version": "1.10.4",
|
|
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.10.
|
|
31
|
+
"survey-core": "1.10.4"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/survey.pdf.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*Type definitions for SurveyJS PDF library v1.10.
|
|
1
|
+
/*Type definitions for SurveyJS PDF library v1.10.4
|
|
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
|
*/
|
|
@@ -80,7 +80,7 @@ export declare class SurveyPDF extends SurveyModel {
|
|
|
80
80
|
* An object with coordinates of the top-left corner of the element being rendered. This object contains the following properties: `{ xLeft: number, yTop: number }`.
|
|
81
81
|
*
|
|
82
82
|
* - `options.bricks`: [`PdfBrick[]`](https://surveyjs.io/pdf-generator/documentation/api-reference/pdfbrick)\
|
|
83
|
-
* An array of [bricks](https://surveyjs.io/pdf-generator/documentation/
|
|
83
|
+
* An array of [bricks](https://surveyjs.io/pdf-generator/documentation/customize-survey-question-rendering-in-pdf-form#custom-rendering) used to render the element.
|
|
84
84
|
*
|
|
85
85
|
* - `options.controller`: [`DocController`](https://surveyjs.io/pdf-generator/documentation/api-reference/doccontroller)\
|
|
86
86
|
* An object that provides access to main PDF document properties (font, margins, page width and height) and allows you to modify them.
|
|
@@ -88,7 +88,7 @@ export declare class SurveyPDF extends SurveyModel {
|
|
|
88
88
|
* - `options.repository`: `FlatRepository`\
|
|
89
89
|
* A repository with classes that render elements to PDF. Use its `create` method if you need to create a new instance of a rendering class.
|
|
90
90
|
*
|
|
91
|
-
* [View Demo](https://surveyjs.io/pdf-generator/examples/
|
|
91
|
+
* [View Demo](https://surveyjs.io/pdf-generator/examples/how-to-use-adorners-in-pdf-forms/ (linkStyle))
|
|
92
92
|
*/
|
|
93
93
|
onRenderQuestion: EventAsync<SurveyPDF, AdornersOptions>;
|
|
94
94
|
/**
|
|
@@ -106,13 +106,15 @@ export declare class SurveyPDF extends SurveyModel {
|
|
|
106
106
|
* An object with coordinates of the top-left corner of the element being rendered. This object contains the following properties: `{ xLeft: number, yTop: number }`.
|
|
107
107
|
*
|
|
108
108
|
* - `options.bricks`: [`PdfBrick[]`](https://surveyjs.io/pdf-generator/documentation/api-reference/pdfbrick)\
|
|
109
|
-
* An array of [bricks](https://surveyjs.io/pdf-generator/documentation/
|
|
109
|
+
* An array of [bricks](https://surveyjs.io/pdf-generator/documentation/customize-survey-question-rendering-in-pdf-form#custom-rendering) used to render the element.
|
|
110
110
|
*
|
|
111
111
|
* - `options.controller`: [`DocController`](https://surveyjs.io/pdf-generator/documentation/api-reference/doccontroller)\
|
|
112
112
|
* An object that provides access to main PDF document properties (font, margins, page width and height) and allows you to modify them.
|
|
113
113
|
*
|
|
114
114
|
* - `options.repository`: `FlatRepository`\
|
|
115
115
|
* A repository with classes that render elements to PDF. Use its `create` method if you need to create a new instance of a rendering class.
|
|
116
|
+
*
|
|
117
|
+
* [View Demo](https://surveyjs.io/pdf-generator/examples/how-to-use-adorners-in-pdf-forms/ (linkStyle))
|
|
116
118
|
*/
|
|
117
119
|
onRenderPanel: EventAsync<SurveyPDF, AdornersPanelOptions>;
|
|
118
120
|
/**
|
|
@@ -130,13 +132,15 @@ export declare class SurveyPDF extends SurveyModel {
|
|
|
130
132
|
* An object with coordinates of the top-left corner of the element being rendered. This object contains the following properties: `{ xLeft: number, yTop: number }`.
|
|
131
133
|
*
|
|
132
134
|
* - `options.bricks`: [`PdfBrick[]`](https://surveyjs.io/pdf-generator/documentation/api-reference/pdfbrick)\
|
|
133
|
-
* An array of [bricks](https://surveyjs.io/pdf-generator/documentation/
|
|
135
|
+
* An array of [bricks](https://surveyjs.io/pdf-generator/documentation/customize-survey-question-rendering-in-pdf-form#custom-rendering) used to render the element.
|
|
134
136
|
*
|
|
135
137
|
* - `options.controller`: [`DocController`](https://surveyjs.io/pdf-generator/documentation/api-reference/doccontroller)\
|
|
136
138
|
* An object that provides access to main PDF document properties (font, margins, page width and height) and allows you to modify them.
|
|
137
139
|
*
|
|
138
140
|
* - `options.repository`: `FlatRepository`\
|
|
139
141
|
* A repository with classes that render elements to PDF. Use its `create` method if you need to create a new instance of a rendering class.
|
|
142
|
+
*
|
|
143
|
+
* [View Demo](https://surveyjs.io/pdf-generator/examples/how-to-use-adorners-in-pdf-forms/ (linkStyle))
|
|
140
144
|
*/
|
|
141
145
|
onRenderPage: EventAsync<SurveyPDF, AdornersPageOptions>;
|
|
142
146
|
onDocControllerCreated: EventBase<SurveyPDF, {
|
package/survey.pdf.fonts.js
CHANGED
package/survey.pdf.fonts.min.js
CHANGED