shareneus 1.5.70 → 1.5.71

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.
@@ -70,7 +70,6 @@ function buildPdfDocDefinition(PDFInvoiceData = {}, PrintConfigData = {}, printC
70
70
  const copyLabels = normalizeCopyLabels(printCopies);
71
71
  const watermark = (0, pdf_header_footer_section_1.buildWatermark)(PrintConfig);
72
72
  const background = (0, pdf_header_footer_section_1.buildLogoWatermarkBackground)(PrintConfig, PDFInvoiceData);
73
- console.log('Normalized PrintConfig:', PrintConfig);
74
73
  const footer = (0, pdf_header_footer_section_1.buildFooter)(PrintConfig);
75
74
  const content = [];
76
75
  copyLabels.forEach((copyLabel, index) => {
@@ -197,15 +197,12 @@ function resolveDocumentLogoDataUrl(DocumentData) {
197
197
  }
198
198
  function buildFooter(PrintConfig) {
199
199
  var _a, _b, _c;
200
- console.log('buildFooter PrintConfig', PrintConfig);
201
200
  const footerConfig = (_a = PrintConfig === null || PrintConfig === void 0 ? void 0 : PrintConfig.Footer) !== null && _a !== void 0 ? _a : {};
202
201
  const showFooter = (footerConfig === null || footerConfig === void 0 ? void 0 : footerConfig.Show) !== false;
203
- console.log('Footer Show:', showFooter);
204
202
  if (!showFooter) {
205
203
  return null;
206
204
  }
207
205
  const value = (0, pdf_shared_utils_1.firstValue)((_b = footerConfig === null || footerConfig === void 0 ? void 0 : footerConfig.Text) !== null && _b !== void 0 ? _b : PrintConfig === null || PrintConfig === void 0 ? void 0 : PrintConfig.FooterText);
208
- console.log('Footer Text:', value);
209
206
  if (!value) {
210
207
  return null;
211
208
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.5.70",
3
+ "version": "1.5.71",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",