survey-pdf 1.9.34 → 1.9.37
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 +6 -5
- package/survey.pdf.fonts.js +1 -1
- package/survey.pdf.fonts.min.js +1 -1
- package/survey.pdf.js +50 -29
- package/survey.pdf.min.js +2 -2
package/package.json
CHANGED
package/survey.pdf.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*Type definitions for SurveyJS PDF library v1.9.
|
|
1
|
+
/*Type definitions for SurveyJS PDF library v1.9.37
|
|
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
|
*/
|
|
5
5
|
// Dependencies for this module:
|
|
6
6
|
// ../../../../survey-core
|
|
7
7
|
|
|
8
|
-
import { SurveyModel
|
|
8
|
+
import { SurveyModel } from 'survey-core';
|
|
9
9
|
import { IQuestion, Question, QuestionRatingModel, QuestionFileModel, LocalizableString } from 'survey-core';
|
|
10
10
|
import { QuestionBooleanModel } from 'survey-core';
|
|
11
11
|
import { ItemValue, QuestionCheckboxModel } from 'survey-core';
|
|
@@ -25,6 +25,7 @@ import { PanelModel } from 'survey-core';
|
|
|
25
25
|
import { QuestionMatrixModel, MatrixRowModel } from 'survey-core';
|
|
26
26
|
import { QuestionMatrixDropdownModelBase } from 'survey-core';
|
|
27
27
|
import { QuestionMultipleTextModel } from 'survey-core';
|
|
28
|
+
import { Event } from 'survey-core';
|
|
28
29
|
import { PageModel } from 'survey-core';
|
|
29
30
|
|
|
30
31
|
/**
|
|
@@ -45,13 +46,13 @@ export declare class SurveyPDF extends SurveyModel {
|
|
|
45
46
|
* @param survey SurveyPDF object that fires the event
|
|
46
47
|
* @param canvas DrawCanvas object that you may use it to draw text and images in the page header
|
|
47
48
|
*/
|
|
48
|
-
onRenderHeader:
|
|
49
|
+
onRenderHeader: EventAsync<(survey: SurveyPDF, canvas: DrawCanvas) => any, any>;
|
|
49
50
|
/**
|
|
50
51
|
* The event in fired for every rendered page
|
|
51
52
|
* @param survey SurveyPDF object that fires the event
|
|
52
53
|
* @param canvas DrawCanvas object that you may use it to draw text and images in the page footer
|
|
53
54
|
*/
|
|
54
|
-
onRenderFooter:
|
|
55
|
+
onRenderFooter: EventAsync<(survey: SurveyPDF, canvas: DrawCanvas) => any, any>;
|
|
55
56
|
/**
|
|
56
57
|
* The event in fired for every rendered question
|
|
57
58
|
* @param survey SurveyPDF object that fires the event
|
|
@@ -637,7 +638,7 @@ export declare class EventAsync<T extends Function, Options> extends Event<T, Op
|
|
|
637
638
|
fire(sender: any, options: Options): Promise<void>;
|
|
638
639
|
}
|
|
639
640
|
export declare class EventHandler {
|
|
640
|
-
static process_header_events(survey: SurveyPDF, controller: DocController, packs: IPdfBrick[][]): void
|
|
641
|
+
static process_header_events(survey: SurveyPDF, controller: DocController, packs: IPdfBrick[][]): Promise<void>;
|
|
641
642
|
}
|
|
642
643
|
|
|
643
644
|
/**
|
package/survey.pdf.fonts.js
CHANGED
package/survey.pdf.fonts.min.js
CHANGED