survey-pdf 2.3.1 → 2.3.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/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 +4 -4
- 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 +4 -4
- package/survey.pdf.js.map +1 -1
- package/survey.pdf.min.js +1 -1
- package/survey.pdf.min.js.LICENSE.txt +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-pdf",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.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,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.2"
|
|
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.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
|
*/
|
|
@@ -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.2"), 'survey-pdf');
|
|
1562
1562
|
|
|
1563
1563
|
|
|
1564
1564
|
/***/ }),
|
|
@@ -2013,7 +2013,7 @@ var FlatBooleanCheckbox = /** @class */ (function (_super) {
|
|
|
2013
2013
|
textPoint = _helper_survey__WEBPACK_IMPORTED_MODULE_7__.SurveyHelper.clone(point);
|
|
2014
2014
|
textPoint.xLeft = itemFlat.xRight + this.controller.unitWidth * _helper_survey__WEBPACK_IMPORTED_MODULE_7__.SurveyHelper.GAP_BETWEEN_ITEM_TEXT;
|
|
2015
2015
|
locLabelText = this.question.isIndeterminate ? null :
|
|
2016
|
-
this.question.
|
|
2016
|
+
this.question.booleanValue ? this.question.locLabelTrue : this.question.locLabelFalse;
|
|
2017
2017
|
if (!(locLabelText !== null && locLabelText.renderedHtml !== null)) return [3 /*break*/, 2];
|
|
2018
2018
|
_b = (_a = compositeFlat).addBrick;
|
|
2019
2019
|
return [4 /*yield*/, _helper_survey__WEBPACK_IMPORTED_MODULE_7__.SurveyHelper.createTextFlat(textPoint, this.question, this.controller, locLabelText, _pdf_render_pdf_text__WEBPACK_IMPORTED_MODULE_4__.TextBrick)];
|
|
@@ -10799,7 +10799,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10799
10799
|
var BooleanItemBrick = /** @class */ (function (_super) {
|
|
10800
10800
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(BooleanItemBrick, _super);
|
|
10801
10801
|
function BooleanItemBrick(question, controller, rect) {
|
|
10802
|
-
return _super.call(this, controller, rect, question.id, { question: question, readOnly: question.isReadOnly, checked: question.
|
|
10802
|
+
return _super.call(this, controller, rect, question.id, { question: question, readOnly: question.isReadOnly, checked: question.booleanValue }) || this;
|
|
10803
10803
|
}
|
|
10804
10804
|
return BooleanItemBrick;
|
|
10805
10805
|
}(_pdf_checkitem__WEBPACK_IMPORTED_MODULE_1__.CheckItemBrick));
|