survey-pdf 2.3.9 → 2.3.11
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/pdf-form-filler-shared.mjs +1 -1
- package/fesm/pdf-form-filler.mjs +1 -1
- package/fesm/pdf-form-filler.node.mjs +1 -1
- package/fesm/survey.pdf.fonts.mjs +1 -1
- package/fesm/survey.pdf.mjs +5 -11
- package/fesm/survey.pdf.mjs.map +1 -1
- package/package.json +2 -2
- package/pdf-form-filler.js +1 -1
- package/pdf-form-filler.min.js.LICENSE.txt +1 -1
- package/pdf-form-filler.node.js +1 -1
- package/pdf-form-filler.node.min.js.LICENSE.txt +1 -1
- package/survey.pdf.fonts.js +1 -1
- package/survey.pdf.fonts.min.js.LICENSE.txt +1 -1
- package/survey.pdf.js +5 -11
- 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 +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-pdf",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.11",
|
|
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.3.
|
|
22
|
+
"survey-core": "2.3.11"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"jspdf": "^2.3.0 || ^3"
|
package/pdf-form-filler.js
CHANGED
package/pdf-form-filler.node.js
CHANGED
package/survey.pdf.fonts.js
CHANGED
package/survey.pdf.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS PDF library v2.3.
|
|
2
|
+
* surveyjs - SurveyJS PDF library v2.3.11
|
|
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
|
*/
|
|
@@ -1558,7 +1558,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1558
1558
|
|
|
1559
1559
|
|
|
1560
1560
|
|
|
1561
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_50__.checkLibraryVersion)("".concat("2.3.
|
|
1561
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_50__.checkLibraryVersion)("".concat("2.3.11"), 'survey-pdf');
|
|
1562
1562
|
|
|
1563
1563
|
|
|
1564
1564
|
/***/ }),
|
|
@@ -3985,7 +3985,9 @@ var FlatQuestion = /** @class */ (function () {
|
|
|
3985
3985
|
return [4 /*yield*/, this.generateFlatsComposite(point)];
|
|
3986
3986
|
case 1:
|
|
3987
3987
|
contentFlats = _e.sent();
|
|
3988
|
-
|
|
3988
|
+
if (Array.isArray(contentFlats)) {
|
|
3989
|
+
flats.push.apply(flats, contentFlats);
|
|
3990
|
+
}
|
|
3989
3991
|
getLatestPoint = function () {
|
|
3990
3992
|
var res = _helper_survey__WEBPACK_IMPORTED_MODULE_5__.SurveyHelper.clone(point);
|
|
3991
3993
|
if (contentFlats !== null && contentFlats.length !== 0) {
|
|
@@ -12642,14 +12644,6 @@ var SurveyPDF = /** @class */ (function (_super) {
|
|
|
12642
12644
|
});
|
|
12643
12645
|
});
|
|
12644
12646
|
};
|
|
12645
|
-
/**
|
|
12646
|
-
* An asynchronous method that allows you to get PDF content in different formats.
|
|
12647
|
-
*
|
|
12648
|
-
* [View Demo](https://surveyjs.io/pdf-generator/examples/convert-pdf-form-blob-base64-raw-pdf-javascript/ (linkStyle))
|
|
12649
|
-
*
|
|
12650
|
-
* @param type *(Optional)* One of `"blob"`, `"bloburl"`, `"dataurlstring"`. Do not specify this parameter if you want to get raw PDF content as a string value.
|
|
12651
|
-
*
|
|
12652
|
-
*/
|
|
12653
12647
|
SurveyPDF.prototype.raw = function (type) {
|
|
12654
12648
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function () {
|
|
12655
12649
|
var controller;
|