@pdfme/generator 5.4.6-dev.29 → 5.4.6-dev.30
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../src/generate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AAEzC,0CAOuB;AACvB,4CAA2D;AAC3D,2CAMqB;AAErB,MAAM,QAAQ,GAAG,KAAK,EAAE,KAAoB,
|
|
1
|
+
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../src/generate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AAEzC,0CAOuB;AACvB,4CAA2D;AAC3D,2CAMqB;AAErB,MAAM,QAAQ,GAAG,KAAK,EAAE,KAAoB,EAAoC,EAAE;IAChF,IAAA,2BAAkB,EAAC,KAAK,CAAC,CAAC;IAC1B,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,GAAG,EAAE,EAAE,OAAO,EAAE,WAAW,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IACvF,MAAM,QAAQ,GAAG,IAAA,kBAAS,EAAC,SAAS,CAAC,CAAC;IAEtC,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC;IAEjC,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxB,MAAM,IAAI,KAAK,CACb,2FAA2F,CAC5F,CAAC;IACJ,CAAC;IAED,IAAA,kCAAsB,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAEzC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,IAAA,yBAAa,EAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,CAAC;IAE7E,MAAM,MAAM,GAAG,IAAI,GAAG,EAAmB,CAAC;IA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,EAAE,CAAY,CAAC;gBAEpC,MAAM,CAAC,QAAQ,GAAG;oBAChB,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,eAAe;oBACtC,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,iBAAiB;iBACzC,CAAC;gBAEF,qCAAqC;gBACrC,MAAM,WAAW,GAA2B;oBAC1C,KAAK;oBACL,MAAM;oBACN,OAAO;oBACP,MAAM;oBACN,MAAM;oBACN,IAAI;oBACJ,OAAO;oBACP,MAAM;iBACP,CAAC;gBACF,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;IACH,CAAC;IAED,cAAc,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAEpC,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;AACvB,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../src/generate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AAEzC,0CAOuB;AACvB,4CAA2D;AAC3D,2CAMqB;AAErB,MAAM,QAAQ,GAAG,KAAK,EAAE,KAAoB,
|
|
1
|
+
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../src/generate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AAEzC,0CAOuB;AACvB,4CAA2D;AAC3D,2CAMqB;AAErB,MAAM,QAAQ,GAAG,KAAK,EAAE,KAAoB,EAAoC,EAAE;IAChF,IAAA,2BAAkB,EAAC,KAAK,CAAC,CAAC;IAC1B,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,GAAG,EAAE,EAAE,OAAO,EAAE,WAAW,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IACvF,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kBAAe,QAAQ,CAAC"}
|
|
@@ -22,7 +22,7 @@ export declare const textType: {
|
|
|
22
22
|
} | undefined;
|
|
23
23
|
__isSplit?: boolean | undefined;
|
|
24
24
|
}[][];
|
|
25
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
25
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
26
26
|
width: number;
|
|
27
27
|
height: number;
|
|
28
28
|
padding: [number, number, number, number];
|
|
@@ -73,7 +73,7 @@ export declare const textType: {
|
|
|
73
73
|
} | undefined;
|
|
74
74
|
__isSplit?: boolean | undefined;
|
|
75
75
|
}[][];
|
|
76
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
76
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
77
77
|
width: number;
|
|
78
78
|
height: number;
|
|
79
79
|
padding: [number, number, number, number];
|
|
@@ -124,7 +124,7 @@ export declare const textType: {
|
|
|
124
124
|
} | undefined;
|
|
125
125
|
__isSplit?: boolean | undefined;
|
|
126
126
|
}[][];
|
|
127
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
127
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
128
128
|
width: number;
|
|
129
129
|
height: number;
|
|
130
130
|
padding: [number, number, number, number];
|
|
@@ -175,7 +175,7 @@ export declare const textType: {
|
|
|
175
175
|
} | undefined;
|
|
176
176
|
__isSplit?: boolean | undefined;
|
|
177
177
|
}[][];
|
|
178
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
178
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
179
179
|
width: number;
|
|
180
180
|
height: number;
|
|
181
181
|
padding: [number, number, number, number];
|
|
@@ -226,7 +226,7 @@ export declare const textType: {
|
|
|
226
226
|
} | undefined;
|
|
227
227
|
__isSplit?: boolean | undefined;
|
|
228
228
|
}[][];
|
|
229
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
229
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
230
230
|
width: number;
|
|
231
231
|
height: number;
|
|
232
232
|
padding: [number, number, number, number];
|
|
@@ -277,7 +277,7 @@ export declare const textType: {
|
|
|
277
277
|
} | undefined;
|
|
278
278
|
__isSplit?: boolean | undefined;
|
|
279
279
|
}[][];
|
|
280
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
280
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
281
281
|
width: number;
|
|
282
282
|
height: number;
|
|
283
283
|
padding: [number, number, number, number];
|
|
@@ -328,7 +328,7 @@ export declare const textType: {
|
|
|
328
328
|
} | undefined;
|
|
329
329
|
__isSplit?: boolean | undefined;
|
|
330
330
|
}[][];
|
|
331
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
331
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
332
332
|
width: number;
|
|
333
333
|
height: number;
|
|
334
334
|
padding: [number, number, number, number];
|
|
@@ -381,7 +381,7 @@ export declare const other: {
|
|
|
381
381
|
} | undefined;
|
|
382
382
|
__isSplit?: boolean | undefined;
|
|
383
383
|
}[][];
|
|
384
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
384
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
385
385
|
width: number;
|
|
386
386
|
height: number;
|
|
387
387
|
padding: [number, number, number, number];
|
|
@@ -432,7 +432,7 @@ export declare const other: {
|
|
|
432
432
|
} | undefined;
|
|
433
433
|
__isSplit?: boolean | undefined;
|
|
434
434
|
}[][];
|
|
435
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
435
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
436
436
|
width: number;
|
|
437
437
|
height: number;
|
|
438
438
|
padding: [number, number, number, number];
|
|
@@ -483,7 +483,7 @@ export declare const other: {
|
|
|
483
483
|
} | undefined;
|
|
484
484
|
__isSplit?: boolean | undefined;
|
|
485
485
|
}[][];
|
|
486
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
486
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
487
487
|
width: number;
|
|
488
488
|
height: number;
|
|
489
489
|
padding: [number, number, number, number];
|
|
@@ -534,7 +534,7 @@ export declare const other: {
|
|
|
534
534
|
} | undefined;
|
|
535
535
|
__isSplit?: boolean | undefined;
|
|
536
536
|
}[][];
|
|
537
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
537
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
538
538
|
width: number;
|
|
539
539
|
height: number;
|
|
540
540
|
padding: [number, number, number, number];
|
|
@@ -585,7 +585,7 @@ export declare const other: {
|
|
|
585
585
|
} | undefined;
|
|
586
586
|
__isSplit?: boolean | undefined;
|
|
587
587
|
}[][];
|
|
588
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
588
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
589
589
|
width: number;
|
|
590
590
|
height: number;
|
|
591
591
|
padding: [number, number, number, number];
|
|
@@ -636,7 +636,7 @@ export declare const other: {
|
|
|
636
636
|
} | undefined;
|
|
637
637
|
__isSplit?: boolean | undefined;
|
|
638
638
|
}[][];
|
|
639
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
639
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
640
640
|
width: number;
|
|
641
641
|
height: number;
|
|
642
642
|
padding: [number, number, number, number];
|
|
@@ -687,7 +687,7 @@ export declare const other: {
|
|
|
687
687
|
} | undefined;
|
|
688
688
|
__isSplit?: boolean | undefined;
|
|
689
689
|
}[][];
|
|
690
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
690
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
691
691
|
width: number;
|
|
692
692
|
height: number;
|
|
693
693
|
padding: [number, number, number, number];
|
|
@@ -738,7 +738,7 @@ export declare const other: {
|
|
|
738
738
|
} | undefined;
|
|
739
739
|
__isSplit?: boolean | undefined;
|
|
740
740
|
}[][];
|
|
741
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
741
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
742
742
|
width: number;
|
|
743
743
|
height: number;
|
|
744
744
|
padding: [number, number, number, number];
|
|
@@ -789,7 +789,7 @@ export declare const other: {
|
|
|
789
789
|
} | undefined;
|
|
790
790
|
__isSplit?: boolean | undefined;
|
|
791
791
|
}[][];
|
|
792
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
792
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
793
793
|
width: number;
|
|
794
794
|
height: number;
|
|
795
795
|
padding: [number, number, number, number];
|
|
@@ -840,7 +840,7 @@ export declare const other: {
|
|
|
840
840
|
} | undefined;
|
|
841
841
|
__isSplit?: boolean | undefined;
|
|
842
842
|
}[][];
|
|
843
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
843
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
844
844
|
width: number;
|
|
845
845
|
height: number;
|
|
846
846
|
padding: [number, number, number, number];
|
|
@@ -893,7 +893,7 @@ export declare const segmenter: {
|
|
|
893
893
|
} | undefined;
|
|
894
894
|
__isSplit?: boolean | undefined;
|
|
895
895
|
}[][];
|
|
896
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
896
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
897
897
|
width: number;
|
|
898
898
|
height: number;
|
|
899
899
|
padding: [number, number, number, number];
|
|
@@ -944,7 +944,7 @@ export declare const segmenter: {
|
|
|
944
944
|
} | undefined;
|
|
945
945
|
__isSplit?: boolean | undefined;
|
|
946
946
|
}[][];
|
|
947
|
-
basePdf: string | ArrayBuffer | Uint8Array<
|
|
947
|
+
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
948
948
|
width: number;
|
|
949
949
|
height: number;
|
|
950
950
|
padding: [number, number, number, number];
|
package/package.json
CHANGED
package/src/generate.ts
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
validateRequiredFields,
|
|
18
18
|
} from './helper.js';
|
|
19
19
|
|
|
20
|
-
const generate = async (props: GenerateProps) => {
|
|
20
|
+
const generate = async (props: GenerateProps): Promise<Uint8Array<ArrayBuffer>> => {
|
|
21
21
|
checkGenerateProps(props);
|
|
22
22
|
const { inputs, template: _template, options = {}, plugins: userPlugins = {} } = props;
|
|
23
23
|
const template = cloneDeep(_template);
|