survey-pdf 1.9.42 → 1.9.45

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": "1.9.42",
3
+ "version": "1.9.45",
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",
package/survey.pdf.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*Type definitions for SurveyJS PDF library v1.9.42
1
+ /*Type definitions for SurveyJS PDF library v1.9.45
2
2
  Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
3
3
  Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/>
4
4
  */
@@ -170,7 +170,7 @@ export declare class SurveyHelper {
170
170
  static createTextFieldRect(point: IPoint, controller: DocController, lines?: number): IRect;
171
171
  static createReadOnlyTextFieldTextFlat(point: IPoint, controller: DocController, question: Question, value: string, onlyFirstLine: boolean): Promise<IPdfBrick>;
172
172
  static renderFlatBorders(controller: DocController, flat: PdfBrick): void;
173
- static renderReadOnlyTextField(controller: DocController, question: Question, flat: PdfBrick, value: string, onlyFirstLine?: boolean): Promise<void>;
173
+ static renderReadOnlyTextField(controller: DocController, question: Question, flat: PdfBrick, value: string, onlyFirstLine?: boolean, shouldRenderFlatBorders?: boolean): Promise<void>;
174
174
  static getLocString(text: LocalizableString): string;
175
175
  static getDropdownQuestionValue(question: Question): string;
176
176
  static getContentQuestion(question: Question): Question;
@@ -799,6 +799,7 @@ export declare class CheckItemBrick extends PdfBrick {
799
799
  export declare class CommentBrick extends TextBoxBrick {
800
800
  protected controller: DocController;
801
801
  constructor(question: IQuestion, controller: DocController, rect: IRect, isQuestion: boolean, index?: number);
802
+ protected shouldRenderFlatBorders(): boolean;
802
803
  }
803
804
 
804
805
  export declare class CompositeBrick implements IPdfBrick {
@@ -909,6 +910,7 @@ export declare class TextFieldBrick extends PdfBrick {
909
910
  protected question: QuestionTextModel;
910
911
  constructor(question: IQuestion, controller: DocController, rect: IRect, isQuestion: boolean, fieldName: string, value: string, placeholder: string, isReadOnly: boolean, isMultiline: boolean, inputType: string);
911
912
  renderInteractive(): Promise<void>;
913
+ protected shouldRenderFlatBorders(): boolean;
912
914
  renderReadOnly(): Promise<void>;
913
915
  }
914
916
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS PDF library v1.9.42
2
+ * surveyjs - SurveyJS PDF library v1.9.45
3
3
  * Copyright (c) 2015-2022 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 v1.9.42
2
+ * surveyjs - SurveyJS PDF library v1.9.45
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */