survey-pdf 1.9.3 → 1.9.7
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 +8 -3
- package/survey.pdf.js +100 -56
- package/survey.pdf.min.js +4 -4
package/package.json
CHANGED
package/survey.pdf.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*Type definitions for SurveyJS PDF library v1.9.
|
|
2
|
-
Copyright (c) 2015-
|
|
1
|
+
/*Type definitions for SurveyJS PDF library v1.9.7
|
|
2
|
+
Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
3
3
|
Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/>
|
|
4
4
|
*/
|
|
5
5
|
// Dependencies for this module:
|
|
@@ -602,7 +602,7 @@ export interface IDrawImageOptions extends IDrawRectOptions {
|
|
|
602
602
|
*/
|
|
603
603
|
export declare class DrawCanvas {
|
|
604
604
|
protected packs: IPdfBrick[];
|
|
605
|
-
|
|
605
|
+
controller: DocController;
|
|
606
606
|
protected _rect: IRect;
|
|
607
607
|
protected _countPages: number;
|
|
608
608
|
protected _pageNumber: number;
|
|
@@ -703,6 +703,11 @@ export declare class CompositeBrick implements IPdfBrick {
|
|
|
703
703
|
unfold(): IPdfBrick[];
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
+
export declare class CustomBrick extends PdfBrick {
|
|
707
|
+
constructor(question: IQuestion, controller: DocController, renderFunc: (doc: any, question: any, xLeft: number, yTop: number) => IRect);
|
|
708
|
+
renderInteractive(): Promise<void>;
|
|
709
|
+
}
|
|
710
|
+
|
|
706
711
|
export declare class DropdownBrick extends PdfBrick {
|
|
707
712
|
protected controller: DocController;
|
|
708
713
|
protected question: QuestionDropdownModel;
|