survey-pdf 2.0.0 → 2.0.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-pdf",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
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,7 +19,7 @@
19
19
  },
20
20
  "typings": "./typings/entries/pdf.d.ts",
21
21
  "peerDependencies": {
22
- "survey-core": "2.0.0"
22
+ "survey-core": "2.0.1"
23
23
  },
24
24
  "dependencies": {
25
25
  "jspdf": "^2.3.0"
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS PDF library v2.0.0
2
+ * surveyjs - SurveyJS PDF library v2.0.1
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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS PDF library v2.0.0
2
+ * surveyjs - SurveyJS PDF library v2.0.1
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
  */
package/survey.pdf.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS PDF library v2.0.0
2
+ * surveyjs - SurveyJS PDF library v2.0.1
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.0"), 'survey-pdf');
1556
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_51__.checkLibraryVersion)("".concat("2.0.1"), '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
  }