survey-pdf 2.0.0 → 2.0.2
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/fesm/survey.pdf.fonts.js +1 -1
- package/fesm/survey.pdf.js +6 -2
- package/fesm/survey.pdf.js.map +1 -1
- package/package.json +3 -3
- package/survey.pdf.fonts.js +1 -1
- package/survey.pdf.fonts.min.js.LICENSE.txt +1 -1
- package/survey.pdf.js +7 -2
- package/survey.pdf.js.map +1 -1
- package/survey.pdf.min.js +1 -1
- package/survey.pdf.min.js.LICENSE.txt +1 -1
- package/typings/survey.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-pdf",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
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",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
},
|
|
20
20
|
"typings": "./typings/entries/pdf.d.ts",
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"survey-core": "2.0.
|
|
22
|
+
"survey-core": "2.0.2"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"jspdf": "^2.3.0"
|
|
25
|
+
"jspdf": "^2.3.0 || ^3"
|
|
26
26
|
},
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
package/survey.pdf.fonts.js
CHANGED
package/survey.pdf.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS PDF library v2.0.
|
|
2
|
+
* surveyjs - SurveyJS PDF library v2.0.2
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -1553,7 +1553,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1553
1553
|
|
|
1554
1554
|
|
|
1555
1555
|
|
|
1556
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_51__.checkLibraryVersion)("".concat("2.0.
|
|
1556
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_51__.checkLibraryVersion)("".concat("2.0.2"), 'survey-pdf');
|
|
1557
1557
|
|
|
1558
1558
|
|
|
1559
1559
|
/***/ }),
|
|
@@ -12296,8 +12296,13 @@ var SurveyPDF = /** @class */ (function (_super) {
|
|
|
12296
12296
|
enumerable: false,
|
|
12297
12297
|
configurable: true
|
|
12298
12298
|
});
|
|
12299
|
+
SurveyPDF.prototype.ensureQuestionDisplayValue = function (question) {
|
|
12300
|
+
var _displayValue = question.displayValue;
|
|
12301
|
+
};
|
|
12299
12302
|
SurveyPDF.prototype.waitForQuestionIsReady = function (question) {
|
|
12303
|
+
var _this = this;
|
|
12300
12304
|
return new Promise(function (resolve) {
|
|
12305
|
+
_this.ensureQuestionDisplayValue(question);
|
|
12301
12306
|
if (question.isReady) {
|
|
12302
12307
|
resolve();
|
|
12303
12308
|
}
|