ztxkutils 2.9.9 → 2.9.10

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.
Files changed (2) hide show
  1. package/dist/print.js +1 -1
  2. package/package.json +1 -1
package/dist/print.js CHANGED
@@ -154,7 +154,7 @@ function htmlToPdfNoCanvas(_a) {
154
154
  return __awaiter(this, void 0, void 0, function () {
155
155
  var allDom, pageFormat, pageOrient, pageMarginX, pageMarginY, pdfOptions, allDomArray_1, pdfBase64_1, pdfs_1, pdf_1, pageWidth_1;
156
156
  return __generator(this, function (_e) {
157
- allDom = document.querySelectorAll(pageClassName ? pageClassName : '.html2canvas-container-page');
157
+ allDom = dom.querySelectorAll(pageClassName ? pageClassName : '.html2canvas-container-page');
158
158
  pageFormat = (pdfOption === null || pdfOption === void 0 ? void 0 : pdfOption.pageFormat) ? pdfOption.pageFormat : 'a4';
159
159
  pageOrient = (pdfOption === null || pdfOption === void 0 ? void 0 : pdfOption.pageOrient) ? pdfOption.pageOrient : 'p';
160
160
  pageMarginX = (_b = pdfOption === null || pdfOption === void 0 ? void 0 : pdfOption.pageMarginX) !== null && _b !== void 0 ? _b : 10;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkutils",
3
- "version": "2.9.9",
3
+ "version": "2.9.10",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",