shareneus 1.7.26 → 1.7.29

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.
@@ -47,6 +47,7 @@ export declare function CreateReceiptPDFService(DocumentData?: any, PrintConfigD
47
47
  width: number;
48
48
  image: string;
49
49
  height: number;
50
+ margin: number[];
50
51
  } | {
51
52
  width: string;
52
53
  marginLeft: number;
@@ -308,6 +309,7 @@ export declare function DownloadReceiptPDFService(filename?: string, DocumentDat
308
309
  width: number;
309
310
  image: string;
310
311
  height: number;
312
+ margin: number[];
311
313
  } | {
312
314
  width: string;
313
315
  marginLeft: number;
@@ -569,6 +571,7 @@ export declare function GetReceiptPdfDataUrl(DocumentData?: any, PrintConfigData
569
571
  width: number;
570
572
  image: string;
571
573
  height: number;
574
+ margin: number[];
572
575
  } | {
573
576
  width: string;
574
577
  marginLeft: number;
@@ -830,6 +833,7 @@ export declare function buildPdfDocDefinition(DocumentData?: any, PrintConfigDat
830
833
  width: number;
831
834
  image: string;
832
835
  height: number;
836
+ margin: number[];
833
837
  } | {
834
838
  width: string;
835
839
  marginLeft: number;
@@ -84,6 +84,7 @@ export declare function buildDocumentHeaderSection(PrintConfig: any, DocumentDat
84
84
  width: number;
85
85
  image: string;
86
86
  height: number;
87
+ margin: number[];
87
88
  } | {
88
89
  width: string;
89
90
  marginLeft: number;
@@ -426,7 +426,7 @@ function buildHeaderContentWithLogo(logoDataUrl, hasLogo, organizationStack, log
426
426
  image: logoDataUrl,
427
427
  // fit: [80, 80],
428
428
  height: 80,
429
- // margin: [0, 2, 6, 0]
429
+ margin: [0, -10, 6, 0]
430
430
  };
431
431
  if (logoPosition === 'Top') {
432
432
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.7.26",
3
+ "version": "1.7.29",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -486,7 +486,7 @@ function buildHeaderContentWithLogo(
486
486
  image: logoDataUrl,
487
487
  // fit: [80, 80],
488
488
  height:80,
489
- // margin: [0, 2, 6, 0]
489
+ margin: [0, -10, 6, 0]
490
490
  };
491
491
 
492
492
  if (logoPosition === 'Top') {