survey-pdf 1.9.19 → 1.9.22
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 +12 -4
- package/survey.pdf.fonts.js +1 -1
- package/survey.pdf.fonts.min.js +1 -1
- package/survey.pdf.js +163 -122
- 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.22
|
|
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
|
*/
|
|
@@ -173,6 +173,7 @@ export declare class SurveyHelper {
|
|
|
173
173
|
static getLocString(text: LocalizableString): string;
|
|
174
174
|
static getDropdownQuestionValue(question: Question): string;
|
|
175
175
|
static getContentQuestion(question: Question): Question;
|
|
176
|
+
static getContentQuestionType(question: Question): string;
|
|
176
177
|
static getRatingMinWidth(controller: DocController): number;
|
|
177
178
|
static getRatingItemText(question: QuestionRatingModel, index: number, locText: LocalizableString): LocalizableString;
|
|
178
179
|
static getPageAvailableWidth(controller: DocController): number;
|
|
@@ -343,6 +344,13 @@ export declare class FlatCheckbox extends FlatSelectBase {
|
|
|
343
344
|
generateFlatItem(rect: IRect, item: ItemValue, index: number): IPdfBrick;
|
|
344
345
|
}
|
|
345
346
|
|
|
347
|
+
export declare class FlatCustomModel extends FlatQuestion {
|
|
348
|
+
protected survey: SurveyPDF;
|
|
349
|
+
protected controller: DocController;
|
|
350
|
+
constructor(survey: SurveyPDF, question: IQuestion, controller: DocController);
|
|
351
|
+
generateFlatsContent(point: IPoint): Promise<IPdfBrick[]>;
|
|
352
|
+
}
|
|
353
|
+
|
|
346
354
|
export declare class FlatComment extends FlatQuestion {
|
|
347
355
|
protected survey: SurveyPDF;
|
|
348
356
|
protected controller: DocController;
|
|
@@ -463,9 +471,9 @@ export declare class FlatTextbox extends FlatQuestion {
|
|
|
463
471
|
}
|
|
464
472
|
|
|
465
473
|
export declare class FlatSurvey {
|
|
466
|
-
static
|
|
467
|
-
static
|
|
468
|
-
static
|
|
474
|
+
static QUES_GAP_VERT_SCALE: number;
|
|
475
|
+
static PANEL_CONT_GAP_SCALE: number;
|
|
476
|
+
static PANEL_DESC_GAP_SCALE: number;
|
|
469
477
|
static generateFlatsPanel(survey: SurveyPDF, controller: DocController, panel: PanelModel, point: IPoint): Promise<IPdfBrick[]>;
|
|
470
478
|
static generateFlats(survey: SurveyPDF, controller: DocController): Promise<IPdfBrick[][]>;
|
|
471
479
|
}
|
package/survey.pdf.fonts.js
CHANGED
package/survey.pdf.fonts.min.js
CHANGED