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/fesm/pdf-form-filler.mjs
CHANGED
package/fesm/survey.pdf.mjs
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
|
*/
|
|
@@ -674,7 +674,9 @@ class FlatQuestion {
|
|
|
674
674
|
return __awaiter(this, void 0, void 0, function* () {
|
|
675
675
|
const flats = [];
|
|
676
676
|
const contentFlats = yield this.generateFlatsComposite(point);
|
|
677
|
-
|
|
677
|
+
if (Array.isArray(contentFlats)) {
|
|
678
|
+
flats.push(...contentFlats);
|
|
679
|
+
}
|
|
678
680
|
const getLatestPoint = () => {
|
|
679
681
|
const res = SurveyHelper.clone(point);
|
|
680
682
|
if (contentFlats !== null && contentFlats.length !== 0) {
|
|
@@ -7620,14 +7622,6 @@ class SurveyPDF extends SurveyModel {
|
|
|
7620
7622
|
}
|
|
7621
7623
|
});
|
|
7622
7624
|
}
|
|
7623
|
-
/**
|
|
7624
|
-
* An asynchronous method that allows you to get PDF content in different formats.
|
|
7625
|
-
*
|
|
7626
|
-
* [View Demo](https://surveyjs.io/pdf-generator/examples/convert-pdf-form-blob-base64-raw-pdf-javascript/ (linkStyle))
|
|
7627
|
-
*
|
|
7628
|
-
* @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.
|
|
7629
|
-
*
|
|
7630
|
-
*/
|
|
7631
7625
|
raw(type) {
|
|
7632
7626
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7633
7627
|
const controller = new DocController(this.options);
|
|
@@ -9385,7 +9379,7 @@ class CustomBrick extends PdfBrick {
|
|
|
9385
9379
|
}
|
|
9386
9380
|
}
|
|
9387
9381
|
|
|
9388
|
-
checkLibraryVersion(`${"2.3.
|
|
9382
|
+
checkLibraryVersion(`${"2.3.11"}`, 'survey-pdf');
|
|
9389
9383
|
|
|
9390
9384
|
export { BooleanItemBrick, CheckItemBrick, CheckboxItemBrick, CompositeBrick, CustomBrick, DocController, DocOptions, DrawCanvas, DropdownBrick, EmptyBrick, EventHandler, FlatBooleanCheckbox as FlatBoolean, FlatCheckbox, FlatComment, FlatCustomModel, FlatDropdown, FlatExpression, FlatFile, FlatHTML, FlatImage, FlatImagePicker, FlatMatrix, FlatMatrixDynamic, FlatMatrixMultiple, FlatMultipleText, FlatPanelDynamic, FlatQuestion, FlatQuestionDefault, FlatRadiogroup, FlatRanking, FlatRating, FlatRepository, FlatSelectBase, FlatSignaturePad, FlatSlider, FlatSurvey, FlatTextbox, HTMLBrick, HorizontalAlign, ImageBrick, LinkBrick, PagePacker, PdfBrick, RadioItemBrick, RankingItemBrick, RowlineBrick, SurveyHelper, SurveyPDF, TextBoldBrick, TextBrick, TextFieldBrick, TitlePanelBrick, VerticalAlign };
|
|
9391
9385
|
//# sourceMappingURL=survey.pdf.mjs.map
|