survey-pdf 2.3.1 → 2.3.3

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS PDF library v2.3.1
2
+ * surveyjs - SurveyJS PDF library v2.3.3
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.3.1
2
+ * surveyjs - SurveyJS PDF library v2.3.3
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.3.1
2
+ * surveyjs - SurveyJS PDF library v2.3.3
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.3.1
2
+ * surveyjs - SurveyJS PDF library v2.3.3
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.3.1
2
+ * surveyjs - SurveyJS PDF library v2.3.3
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
  */
@@ -7711,7 +7711,7 @@ CheckItemBrick.CHECKMARK_READONLY_FONT_SIZE_SCALE = 1.0 - Math.E / 10.0;
7711
7711
 
7712
7712
  class BooleanItemBrick extends CheckItemBrick {
7713
7713
  constructor(question, controller, rect) {
7714
- super(controller, rect, question.id, { question: question, readOnly: question.isReadOnly, checked: question.checkedValue });
7714
+ super(controller, rect, question.id, { question: question, readOnly: question.isReadOnly, checked: question.booleanValue });
7715
7715
  }
7716
7716
  }
7717
7717
 
@@ -7998,7 +7998,7 @@ class FlatBooleanCheckbox extends FlatQuestion {
7998
7998
  const textPoint = SurveyHelper.clone(point);
7999
7999
  textPoint.xLeft = itemFlat.xRight + this.controller.unitWidth * SurveyHelper.GAP_BETWEEN_ITEM_TEXT;
8000
8000
  const locLabelText = this.question.isIndeterminate ? null :
8001
- this.question.checkedValue ? this.question.locLabelTrue : this.question.locLabelFalse;
8001
+ this.question.booleanValue ? this.question.locLabelTrue : this.question.locLabelFalse;
8002
8002
  if (locLabelText !== null && locLabelText.renderedHtml !== null) {
8003
8003
  compositeFlat.addBrick(yield SurveyHelper.createTextFlat(textPoint, this.question, this.controller, locLabelText, TextBrick));
8004
8004
  }
@@ -9375,7 +9375,7 @@ class CustomBrick extends PdfBrick {
9375
9375
  }
9376
9376
  }
9377
9377
 
9378
- checkLibraryVersion(`${"2.3.1"}`, 'survey-pdf');
9378
+ checkLibraryVersion(`${"2.3.3"}`, 'survey-pdf');
9379
9379
 
9380
9380
  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 };
9381
9381
  //# sourceMappingURL=survey.pdf.mjs.map