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 +1 -1
- package/survey.pdf.d.ts +4 -2
- package/survey.pdf.fonts.js +1 -1
- package/survey.pdf.fonts.min.js +1 -1
- package/survey.pdf.js +110 -65
- package/survey.pdf.min.js +3 -3
package/package.json
CHANGED
package/survey.pdf.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*Type definitions for SurveyJS PDF library v1.9.
|
|
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
|
|
package/survey.pdf.fonts.js
CHANGED
package/survey.pdf.fonts.min.js
CHANGED