survey-pdf 2.0.0-rc.6 → 2.0.0-rc.8

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": "2.0.0-rc.6",
3
+ "version": "2.0.0-rc.8",
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",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "typings": "./typings/entries/pdf.d.ts",
21
21
  "peerDependencies": {
22
- "survey-core": "2.0.0-rc.6"
22
+ "survey-core": "2.0.0-rc.8"
23
23
  },
24
24
  "dependencies": {
25
25
  "jspdf": "^2.3.0"
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS PDF library v2.0.0-rc.6
2
+ * surveyjs - SurveyJS PDF library v2.0.0-rc.8
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.6
2
+ * surveyjs - SurveyJS PDF library v2.0.0-rc.8
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/survey.pdf.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS PDF library v2.0.0-rc.6
2
+ * surveyjs - SurveyJS PDF library v2.0.0-rc.8
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -806,11 +806,9 @@ __webpack_require__.r(__webpack_exports__);
806
806
  /* harmony import */ var jspdf__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jspdf */ "jspdf");
807
807
  /* harmony import */ var jspdf__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(jspdf__WEBPACK_IMPORTED_MODULE_1__);
808
808
  /* harmony import */ var _helper_survey__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helper_survey */ "./src/helper_survey.ts");
809
- /* harmony import */ var _jspdf_plugins_acroform__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./jspdf_plugins/acroform */ "./src/jspdf_plugins/acroform.ts");
809
+ /* harmony import */ var _jspdf_plugins_acroform_radio__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./jspdf_plugins/acroform_radio */ "./src/jspdf_plugins/acroform_radio.ts");
810
810
  /* harmony import */ var _jspdf_plugins_acroform_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./jspdf_plugins/acroform.js */ "./src/jspdf_plugins/acroform.js");
811
- /* harmony import */ var _jspdf_plugins_acroform_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_jspdf_plugins_acroform_js__WEBPACK_IMPORTED_MODULE_4__);
812
811
  /* harmony import */ var _jspdf_plugins_from_html_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./jspdf_plugins/from_html.js */ "./src/jspdf_plugins/from_html.js");
813
- /* harmony import */ var _jspdf_plugins_from_html_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_jspdf_plugins_from_html_js__WEBPACK_IMPORTED_MODULE_5__);
814
812
 
815
813
 
816
814
 
@@ -1038,7 +1036,7 @@ var DocController = /** @class */ (function (_super) {
1038
1036
  DocController.addFont(_this.fontName, _this.base64Bold, 'bold');
1039
1037
  _this._doc = new jspdf__WEBPACK_IMPORTED_MODULE_1__.jsPDF(jspdfOptions);
1040
1038
  }
1041
- (0,_jspdf_plugins_acroform__WEBPACK_IMPORTED_MODULE_3__["default"])(_this._doc);
1039
+ (0,_jspdf_plugins_acroform_radio__WEBPACK_IMPORTED_MODULE_3__["default"])(_this._doc);
1042
1040
  _this._useCustomFontInHtml = options.useCustomFontInHtml && _helper_survey__WEBPACK_IMPORTED_MODULE_2__.SurveyHelper.isFontExist(_this, _this.fontName);
1043
1041
  _this._helperDoc = new jspdf__WEBPACK_IMPORTED_MODULE_1__.jsPDF(jspdfOptions);
1044
1042
  _this._doc.setFont(_this.fontName);
@@ -1555,7 +1553,7 @@ __webpack_require__.r(__webpack_exports__);
1555
1553
 
1556
1554
 
1557
1555
 
1558
- (0,survey_core__WEBPACK_IMPORTED_MODULE_51__.checkLibraryVersion)("".concat("2.0.0-rc.6"), 'survey-pdf');
1556
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_51__.checkLibraryVersion)("".concat("2.0.0-rc.8"), 'survey-pdf');
1559
1557
 
1560
1558
 
1561
1559
  /***/ }),
@@ -6187,8 +6185,12 @@ var SurveyHelper = /** @class */ (function () {
6187
6185
  /*!***************************************!*\
6188
6186
  !*** ./src/jspdf_plugins/acroform.js ***!
6189
6187
  \***************************************/
6190
- /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6188
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6191
6189
 
6190
+ "use strict";
6191
+ __webpack_require__.r(__webpack_exports__);
6192
+ /* harmony import */ var jspdf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jspdf */ "jspdf");
6193
+ /* harmony import */ var jspdf__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jspdf__WEBPACK_IMPORTED_MODULE_0__);
6192
6194
  /* global jsPDF */
6193
6195
  /**
6194
6196
  * @license
@@ -6202,7 +6204,8 @@ var SurveyHelper = /** @class */ (function () {
6202
6204
  * jsPDF AcroForm Plugin
6203
6205
  * @module AcroForm
6204
6206
  */
6205
- var jspdf = __webpack_require__(/*! jspdf */ "jspdf");
6207
+
6208
+
6206
6209
  (function (jsPDF, globalObj) {
6207
6210
  'use strict';
6208
6211
 
@@ -9113,14 +9116,14 @@ var jspdf = __webpack_require__(/*! jspdf */ "jspdf");
9113
9116
  PasswordField: AcroFormPasswordField,
9114
9117
  Appearance: AcroFormAppearance
9115
9118
  };
9116
- })(jspdf.jsPDF, (typeof window !== 'undefined' && window || typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g));
9119
+ })(jspdf__WEBPACK_IMPORTED_MODULE_0__.jsPDF, (typeof window !== 'undefined' && window || typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g));
9117
9120
 
9118
9121
  /***/ }),
9119
9122
 
9120
- /***/ "./src/jspdf_plugins/acroform.ts":
9121
- /*!***************************************!*\
9122
- !*** ./src/jspdf_plugins/acroform.ts ***!
9123
- \***************************************/
9123
+ /***/ "./src/jspdf_plugins/acroform_radio.ts":
9124
+ /*!*********************************************!*\
9125
+ !*** ./src/jspdf_plugins/acroform_radio.ts ***!
9126
+ \*********************************************/
9124
9127
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9125
9128
 
9126
9129
  "use strict";
@@ -9147,8 +9150,12 @@ function setRadioAppearance(doc) {
9147
9150
  /*!****************************************!*\
9148
9151
  !*** ./src/jspdf_plugins/from_html.js ***!
9149
9152
  \****************************************/
9150
- /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
9153
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9151
9154
 
9155
+ "use strict";
9156
+ __webpack_require__.r(__webpack_exports__);
9157
+ /* harmony import */ var jspdf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jspdf */ "jspdf");
9158
+ /* harmony import */ var jspdf__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jspdf__WEBPACK_IMPORTED_MODULE_0__);
9152
9159
  /**
9153
9160
  * jsPDF fromHTML plugin. BETA stage. API subject to change. Needs browser
9154
9161
  * Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
@@ -9162,7 +9169,7 @@ function setRadioAppearance(doc) {
9162
9169
  *
9163
9170
  * ====================================================================
9164
9171
  */
9165
- var jspdf = __webpack_require__(/*! jspdf */ "jspdf");
9172
+
9166
9173
 
9167
9174
  (function (jsPDFAPI) {
9168
9175
  var clone, _DrillForContent, FontNameDB, FontStyleMap, TextAlignMap, FontWeightMap, FloatMap, ClearMap, GetCSS, PurgeWhiteSpace, Renderer, ResolveFont, ResolveUnitedNumber, UnitedNumberMap, elementHandledElsewhere, images, loadImgs, checkForFooter, process, tableToJson;
@@ -10378,7 +10385,7 @@ function setRadioAppearance(doc) {
10378
10385
  if (!settings.elementHandlers) settings.elementHandlers = {};
10379
10386
  return process(this, HTML, isNaN(x) ? 4 : x, isNaN(y) ? 4 : y, settings, callback);
10380
10387
  };
10381
- })(jspdf.jsPDF.API);
10388
+ })(jspdf__WEBPACK_IMPORTED_MODULE_0__.jsPDF.API);
10382
10389
 
10383
10390
 
10384
10391
  /***/ }),