@pdfme/generator 2.1.0 → 2.2.1
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/README.md +6 -2
- package/dist/cjs/__tests__/assets/templates/index.js +6 -0
- package/dist/cjs/__tests__/assets/templates/index.js.map +1 -1
- package/dist/cjs/__tests__/generate.test.js +6 -0
- package/dist/cjs/__tests__/generate.test.js.map +1 -1
- package/dist/cjs/src/builtInRenderer.js +9 -0
- package/dist/cjs/src/builtInRenderer.js.map +1 -0
- package/dist/cjs/src/generate.js +29 -30
- package/dist/cjs/src/generate.js.map +1 -1
- package/dist/cjs/src/pdfUtils.js +65 -0
- package/dist/cjs/src/pdfUtils.js.map +1 -0
- package/dist/cjs/src/renderUtils.js +65 -0
- package/dist/cjs/src/renderUtils.js.map +1 -0
- package/dist/cjs/src/renders/barcodes.js +37 -0
- package/dist/cjs/src/renders/barcodes.js.map +1 -0
- package/dist/cjs/src/renders/image.js +34 -0
- package/dist/cjs/src/renders/image.js.map +1 -0
- package/dist/cjs/src/renders/text.js +86 -0
- package/dist/cjs/src/renders/text.js.map +1 -0
- package/dist/cjs/src/types.js +3 -0
- package/dist/cjs/src/types.js.map +1 -0
- package/dist/esm/__tests__/assets/templates/index.js +6 -0
- package/dist/esm/__tests__/assets/templates/index.js.map +1 -1
- package/dist/esm/__tests__/generate.test.js +6 -0
- package/dist/esm/__tests__/generate.test.js.map +1 -1
- package/dist/esm/src/builtInRenderer.js +7 -0
- package/dist/esm/src/builtInRenderer.js.map +1 -0
- package/dist/esm/src/generate.js +23 -27
- package/dist/esm/src/generate.js.map +1 -1
- package/dist/esm/src/pdfUtils.js +59 -0
- package/dist/esm/src/pdfUtils.js.map +1 -0
- package/dist/esm/src/renderUtils.js +56 -0
- package/dist/esm/src/renderUtils.js.map +1 -0
- package/dist/esm/src/renders/barcodes.js +33 -0
- package/dist/esm/src/renders/barcodes.js.map +1 -0
- package/dist/esm/src/renders/image.js +30 -0
- package/dist/esm/src/renders/image.js.map +1 -0
- package/dist/esm/src/renders/text.js +82 -0
- package/dist/esm/src/renders/text.js.map +1 -0
- package/dist/esm/src/types.js +2 -0
- package/dist/esm/src/types.js.map +1 -0
- package/dist/types/__tests__/assets/templates/index.d.ts +311 -0
- package/dist/types/src/builtInRenderer.d.ts +3 -0
- package/dist/types/src/pdfUtils.d.ts +19 -0
- package/dist/types/src/renderUtils.d.ts +16 -0
- package/dist/types/src/renders/barcodes.d.ts +2 -0
- package/dist/types/src/renders/image.d.ts +2 -0
- package/dist/types/src/renders/text.d.ts +2 -0
- package/dist/types/src/types.d.ts +36 -0
- package/package.json +2 -7
- package/src/builtInRenderer.ts +14 -0
- package/src/generate.ts +28 -46
- package/src/pdfUtils.ts +76 -0
- package/src/renderUtils.ts +68 -0
- package/src/renders/barcodes.ts +32 -0
- package/src/renders/image.ts +24 -0
- package/src/renders/text.ts +114 -0
- package/src/types.ts +23 -0
- package/dist/cjs/__tests__/helper.test.js +0 -53
- package/dist/cjs/__tests__/helper.test.js.map +0 -1
- package/dist/cjs/src/helper.js +0 -252
- package/dist/cjs/src/helper.js.map +0 -1
- package/dist/esm/__tests__/helper.test.js +0 -48
- package/dist/esm/__tests__/helper.test.js.map +0 -1
- package/dist/esm/src/helper.js +0 -241
- package/dist/esm/src/helper.js.map +0 -1
- package/dist/types/__tests__/helper.test.d.ts +0 -1
- package/dist/types/src/helper.d.ts +0 -67
- package/src/helper.ts +0 -375
@@ -10,6 +10,7 @@ declare const _default: {
|
|
10
10
|
};
|
11
11
|
rotate?: number | undefined;
|
12
12
|
alignment?: "center" | "left" | "right" | undefined;
|
13
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
13
14
|
fontSize?: number | undefined;
|
14
15
|
fontName?: string | undefined;
|
15
16
|
fontColor?: string | undefined;
|
@@ -39,6 +40,9 @@ declare const _default: {
|
|
39
40
|
y: number;
|
40
41
|
};
|
41
42
|
rotate?: number | undefined;
|
43
|
+
backgroundcolor?: string | undefined;
|
44
|
+
barcolor?: string | undefined;
|
45
|
+
textcolor?: string | undefined;
|
42
46
|
}>[];
|
43
47
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
44
48
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -55,6 +59,7 @@ declare const _default: {
|
|
55
59
|
};
|
56
60
|
rotate?: number | undefined;
|
57
61
|
alignment?: "center" | "left" | "right" | undefined;
|
62
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
58
63
|
fontSize?: number | undefined;
|
59
64
|
fontName?: string | undefined;
|
60
65
|
fontColor?: string | undefined;
|
@@ -84,6 +89,9 @@ declare const _default: {
|
|
84
89
|
y: number;
|
85
90
|
};
|
86
91
|
rotate?: number | undefined;
|
92
|
+
backgroundcolor?: string | undefined;
|
93
|
+
barcolor?: string | undefined;
|
94
|
+
textcolor?: string | undefined;
|
87
95
|
}>[];
|
88
96
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
89
97
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -100,6 +108,7 @@ declare const _default: {
|
|
100
108
|
};
|
101
109
|
rotate?: number | undefined;
|
102
110
|
alignment?: "center" | "left" | "right" | undefined;
|
111
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
103
112
|
fontSize?: number | undefined;
|
104
113
|
fontName?: string | undefined;
|
105
114
|
fontColor?: string | undefined;
|
@@ -129,6 +138,9 @@ declare const _default: {
|
|
129
138
|
y: number;
|
130
139
|
};
|
131
140
|
rotate?: number | undefined;
|
141
|
+
backgroundcolor?: string | undefined;
|
142
|
+
barcolor?: string | undefined;
|
143
|
+
textcolor?: string | undefined;
|
132
144
|
}>[];
|
133
145
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
134
146
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -145,6 +157,7 @@ declare const _default: {
|
|
145
157
|
};
|
146
158
|
rotate?: number | undefined;
|
147
159
|
alignment?: "center" | "left" | "right" | undefined;
|
160
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
148
161
|
fontSize?: number | undefined;
|
149
162
|
fontName?: string | undefined;
|
150
163
|
fontColor?: string | undefined;
|
@@ -174,6 +187,9 @@ declare const _default: {
|
|
174
187
|
y: number;
|
175
188
|
};
|
176
189
|
rotate?: number | undefined;
|
190
|
+
backgroundcolor?: string | undefined;
|
191
|
+
barcolor?: string | undefined;
|
192
|
+
textcolor?: string | undefined;
|
177
193
|
}>[];
|
178
194
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
179
195
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -190,6 +206,7 @@ declare const _default: {
|
|
190
206
|
};
|
191
207
|
rotate?: number | undefined;
|
192
208
|
alignment?: "center" | "left" | "right" | undefined;
|
209
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
193
210
|
fontSize?: number | undefined;
|
194
211
|
fontName?: string | undefined;
|
195
212
|
fontColor?: string | undefined;
|
@@ -219,6 +236,9 @@ declare const _default: {
|
|
219
236
|
y: number;
|
220
237
|
};
|
221
238
|
rotate?: number | undefined;
|
239
|
+
backgroundcolor?: string | undefined;
|
240
|
+
barcolor?: string | undefined;
|
241
|
+
textcolor?: string | undefined;
|
222
242
|
}>[];
|
223
243
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
224
244
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -235,6 +255,7 @@ declare const _default: {
|
|
235
255
|
};
|
236
256
|
rotate?: number | undefined;
|
237
257
|
alignment?: "center" | "left" | "right" | undefined;
|
258
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
238
259
|
fontSize?: number | undefined;
|
239
260
|
fontName?: string | undefined;
|
240
261
|
fontColor?: string | undefined;
|
@@ -264,6 +285,9 @@ declare const _default: {
|
|
264
285
|
y: number;
|
265
286
|
};
|
266
287
|
rotate?: number | undefined;
|
288
|
+
backgroundcolor?: string | undefined;
|
289
|
+
barcolor?: string | undefined;
|
290
|
+
textcolor?: string | undefined;
|
267
291
|
}>[];
|
268
292
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
269
293
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -280,6 +304,7 @@ declare const _default: {
|
|
280
304
|
};
|
281
305
|
rotate?: number | undefined;
|
282
306
|
alignment?: "center" | "left" | "right" | undefined;
|
307
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
283
308
|
fontSize?: number | undefined;
|
284
309
|
fontName?: string | undefined;
|
285
310
|
fontColor?: string | undefined;
|
@@ -309,6 +334,9 @@ declare const _default: {
|
|
309
334
|
y: number;
|
310
335
|
};
|
311
336
|
rotate?: number | undefined;
|
337
|
+
backgroundcolor?: string | undefined;
|
338
|
+
barcolor?: string | undefined;
|
339
|
+
textcolor?: string | undefined;
|
312
340
|
}>[];
|
313
341
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
314
342
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -325,6 +353,7 @@ declare const _default: {
|
|
325
353
|
};
|
326
354
|
rotate?: number | undefined;
|
327
355
|
alignment?: "center" | "left" | "right" | undefined;
|
356
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
328
357
|
fontSize?: number | undefined;
|
329
358
|
fontName?: string | undefined;
|
330
359
|
fontColor?: string | undefined;
|
@@ -354,6 +383,9 @@ declare const _default: {
|
|
354
383
|
y: number;
|
355
384
|
};
|
356
385
|
rotate?: number | undefined;
|
386
|
+
backgroundcolor?: string | undefined;
|
387
|
+
barcolor?: string | undefined;
|
388
|
+
textcolor?: string | undefined;
|
357
389
|
}>[];
|
358
390
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
359
391
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -370,6 +402,7 @@ declare const _default: {
|
|
370
402
|
};
|
371
403
|
rotate?: number | undefined;
|
372
404
|
alignment?: "center" | "left" | "right" | undefined;
|
405
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
373
406
|
fontSize?: number | undefined;
|
374
407
|
fontName?: string | undefined;
|
375
408
|
fontColor?: string | undefined;
|
@@ -399,6 +432,9 @@ declare const _default: {
|
|
399
432
|
y: number;
|
400
433
|
};
|
401
434
|
rotate?: number | undefined;
|
435
|
+
backgroundcolor?: string | undefined;
|
436
|
+
barcolor?: string | undefined;
|
437
|
+
textcolor?: string | undefined;
|
402
438
|
}>[];
|
403
439
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
404
440
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -415,6 +451,7 @@ declare const _default: {
|
|
415
451
|
};
|
416
452
|
rotate?: number | undefined;
|
417
453
|
alignment?: "center" | "left" | "right" | undefined;
|
454
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
418
455
|
fontSize?: number | undefined;
|
419
456
|
fontName?: string | undefined;
|
420
457
|
fontColor?: string | undefined;
|
@@ -444,6 +481,9 @@ declare const _default: {
|
|
444
481
|
y: number;
|
445
482
|
};
|
446
483
|
rotate?: number | undefined;
|
484
|
+
backgroundcolor?: string | undefined;
|
485
|
+
barcolor?: string | undefined;
|
486
|
+
textcolor?: string | undefined;
|
447
487
|
}>[];
|
448
488
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
449
489
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -460,6 +500,7 @@ declare const _default: {
|
|
460
500
|
};
|
461
501
|
rotate?: number | undefined;
|
462
502
|
alignment?: "center" | "left" | "right" | undefined;
|
503
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
463
504
|
fontSize?: number | undefined;
|
464
505
|
fontName?: string | undefined;
|
465
506
|
fontColor?: string | undefined;
|
@@ -489,6 +530,9 @@ declare const _default: {
|
|
489
530
|
y: number;
|
490
531
|
};
|
491
532
|
rotate?: number | undefined;
|
533
|
+
backgroundcolor?: string | undefined;
|
534
|
+
barcolor?: string | undefined;
|
535
|
+
textcolor?: string | undefined;
|
492
536
|
}>[];
|
493
537
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
494
538
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -505,6 +549,7 @@ declare const _default: {
|
|
505
549
|
};
|
506
550
|
rotate?: number | undefined;
|
507
551
|
alignment?: "center" | "left" | "right" | undefined;
|
552
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
508
553
|
fontSize?: number | undefined;
|
509
554
|
fontName?: string | undefined;
|
510
555
|
fontColor?: string | undefined;
|
@@ -534,6 +579,9 @@ declare const _default: {
|
|
534
579
|
y: number;
|
535
580
|
};
|
536
581
|
rotate?: number | undefined;
|
582
|
+
backgroundcolor?: string | undefined;
|
583
|
+
barcolor?: string | undefined;
|
584
|
+
textcolor?: string | undefined;
|
537
585
|
}>[];
|
538
586
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
539
587
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -550,6 +598,7 @@ declare const _default: {
|
|
550
598
|
};
|
551
599
|
rotate?: number | undefined;
|
552
600
|
alignment?: "center" | "left" | "right" | undefined;
|
601
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
553
602
|
fontSize?: number | undefined;
|
554
603
|
fontName?: string | undefined;
|
555
604
|
fontColor?: string | undefined;
|
@@ -579,6 +628,9 @@ declare const _default: {
|
|
579
628
|
y: number;
|
580
629
|
};
|
581
630
|
rotate?: number | undefined;
|
631
|
+
backgroundcolor?: string | undefined;
|
632
|
+
barcolor?: string | undefined;
|
633
|
+
textcolor?: string | undefined;
|
582
634
|
}>[];
|
583
635
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
584
636
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -595,6 +647,7 @@ declare const _default: {
|
|
595
647
|
};
|
596
648
|
rotate?: number | undefined;
|
597
649
|
alignment?: "center" | "left" | "right" | undefined;
|
650
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
598
651
|
fontSize?: number | undefined;
|
599
652
|
fontName?: string | undefined;
|
600
653
|
fontColor?: string | undefined;
|
@@ -624,6 +677,9 @@ declare const _default: {
|
|
624
677
|
y: number;
|
625
678
|
};
|
626
679
|
rotate?: number | undefined;
|
680
|
+
backgroundcolor?: string | undefined;
|
681
|
+
barcolor?: string | undefined;
|
682
|
+
textcolor?: string | undefined;
|
627
683
|
}>[];
|
628
684
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
629
685
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -640,6 +696,7 @@ declare const _default: {
|
|
640
696
|
};
|
641
697
|
rotate?: number | undefined;
|
642
698
|
alignment?: "center" | "left" | "right" | undefined;
|
699
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
643
700
|
fontSize?: number | undefined;
|
644
701
|
fontName?: string | undefined;
|
645
702
|
fontColor?: string | undefined;
|
@@ -669,6 +726,9 @@ declare const _default: {
|
|
669
726
|
y: number;
|
670
727
|
};
|
671
728
|
rotate?: number | undefined;
|
729
|
+
backgroundcolor?: string | undefined;
|
730
|
+
barcolor?: string | undefined;
|
731
|
+
textcolor?: string | undefined;
|
672
732
|
}>[];
|
673
733
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
674
734
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -685,6 +745,7 @@ declare const _default: {
|
|
685
745
|
};
|
686
746
|
rotate?: number | undefined;
|
687
747
|
alignment?: "center" | "left" | "right" | undefined;
|
748
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
688
749
|
fontSize?: number | undefined;
|
689
750
|
fontName?: string | undefined;
|
690
751
|
fontColor?: string | undefined;
|
@@ -714,6 +775,9 @@ declare const _default: {
|
|
714
775
|
y: number;
|
715
776
|
};
|
716
777
|
rotate?: number | undefined;
|
778
|
+
backgroundcolor?: string | undefined;
|
779
|
+
barcolor?: string | undefined;
|
780
|
+
textcolor?: string | undefined;
|
717
781
|
}>[];
|
718
782
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
719
783
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -730,6 +794,7 @@ declare const _default: {
|
|
730
794
|
};
|
731
795
|
rotate?: number | undefined;
|
732
796
|
alignment?: "center" | "left" | "right" | undefined;
|
797
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
733
798
|
fontSize?: number | undefined;
|
734
799
|
fontName?: string | undefined;
|
735
800
|
fontColor?: string | undefined;
|
@@ -759,6 +824,9 @@ declare const _default: {
|
|
759
824
|
y: number;
|
760
825
|
};
|
761
826
|
rotate?: number | undefined;
|
827
|
+
backgroundcolor?: string | undefined;
|
828
|
+
barcolor?: string | undefined;
|
829
|
+
textcolor?: string | undefined;
|
762
830
|
}>[];
|
763
831
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
764
832
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -775,6 +843,7 @@ declare const _default: {
|
|
775
843
|
};
|
776
844
|
rotate?: number | undefined;
|
777
845
|
alignment?: "center" | "left" | "right" | undefined;
|
846
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
778
847
|
fontSize?: number | undefined;
|
779
848
|
fontName?: string | undefined;
|
780
849
|
fontColor?: string | undefined;
|
@@ -804,6 +873,9 @@ declare const _default: {
|
|
804
873
|
y: number;
|
805
874
|
};
|
806
875
|
rotate?: number | undefined;
|
876
|
+
backgroundcolor?: string | undefined;
|
877
|
+
barcolor?: string | undefined;
|
878
|
+
textcolor?: string | undefined;
|
807
879
|
}>[];
|
808
880
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
809
881
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -820,6 +892,7 @@ declare const _default: {
|
|
820
892
|
};
|
821
893
|
rotate?: number | undefined;
|
822
894
|
alignment?: "center" | "left" | "right" | undefined;
|
895
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
823
896
|
fontSize?: number | undefined;
|
824
897
|
fontName?: string | undefined;
|
825
898
|
fontColor?: string | undefined;
|
@@ -849,6 +922,9 @@ declare const _default: {
|
|
849
922
|
y: number;
|
850
923
|
};
|
851
924
|
rotate?: number | undefined;
|
925
|
+
backgroundcolor?: string | undefined;
|
926
|
+
barcolor?: string | undefined;
|
927
|
+
textcolor?: string | undefined;
|
852
928
|
}>[];
|
853
929
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
854
930
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -865,6 +941,7 @@ declare const _default: {
|
|
865
941
|
};
|
866
942
|
rotate?: number | undefined;
|
867
943
|
alignment?: "center" | "left" | "right" | undefined;
|
944
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
868
945
|
fontSize?: number | undefined;
|
869
946
|
fontName?: string | undefined;
|
870
947
|
fontColor?: string | undefined;
|
@@ -894,6 +971,9 @@ declare const _default: {
|
|
894
971
|
y: number;
|
895
972
|
};
|
896
973
|
rotate?: number | undefined;
|
974
|
+
backgroundcolor?: string | undefined;
|
975
|
+
barcolor?: string | undefined;
|
976
|
+
textcolor?: string | undefined;
|
897
977
|
}>[];
|
898
978
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
899
979
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -910,6 +990,7 @@ declare const _default: {
|
|
910
990
|
};
|
911
991
|
rotate?: number | undefined;
|
912
992
|
alignment?: "center" | "left" | "right" | undefined;
|
993
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
913
994
|
fontSize?: number | undefined;
|
914
995
|
fontName?: string | undefined;
|
915
996
|
fontColor?: string | undefined;
|
@@ -939,6 +1020,9 @@ declare const _default: {
|
|
939
1020
|
y: number;
|
940
1021
|
};
|
941
1022
|
rotate?: number | undefined;
|
1023
|
+
backgroundcolor?: string | undefined;
|
1024
|
+
barcolor?: string | undefined;
|
1025
|
+
textcolor?: string | undefined;
|
942
1026
|
}>[];
|
943
1027
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
944
1028
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -955,6 +1039,7 @@ declare const _default: {
|
|
955
1039
|
};
|
956
1040
|
rotate?: number | undefined;
|
957
1041
|
alignment?: "center" | "left" | "right" | undefined;
|
1042
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
958
1043
|
fontSize?: number | undefined;
|
959
1044
|
fontName?: string | undefined;
|
960
1045
|
fontColor?: string | undefined;
|
@@ -984,6 +1069,9 @@ declare const _default: {
|
|
984
1069
|
y: number;
|
985
1070
|
};
|
986
1071
|
rotate?: number | undefined;
|
1072
|
+
backgroundcolor?: string | undefined;
|
1073
|
+
barcolor?: string | undefined;
|
1074
|
+
textcolor?: string | undefined;
|
987
1075
|
}>[];
|
988
1076
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
989
1077
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1000,6 +1088,7 @@ declare const _default: {
|
|
1000
1088
|
};
|
1001
1089
|
rotate?: number | undefined;
|
1002
1090
|
alignment?: "center" | "left" | "right" | undefined;
|
1091
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1003
1092
|
fontSize?: number | undefined;
|
1004
1093
|
fontName?: string | undefined;
|
1005
1094
|
fontColor?: string | undefined;
|
@@ -1029,6 +1118,9 @@ declare const _default: {
|
|
1029
1118
|
y: number;
|
1030
1119
|
};
|
1031
1120
|
rotate?: number | undefined;
|
1121
|
+
backgroundcolor?: string | undefined;
|
1122
|
+
barcolor?: string | undefined;
|
1123
|
+
textcolor?: string | undefined;
|
1032
1124
|
}>[];
|
1033
1125
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1034
1126
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1045,6 +1137,7 @@ declare const _default: {
|
|
1045
1137
|
};
|
1046
1138
|
rotate?: number | undefined;
|
1047
1139
|
alignment?: "center" | "left" | "right" | undefined;
|
1140
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1048
1141
|
fontSize?: number | undefined;
|
1049
1142
|
fontName?: string | undefined;
|
1050
1143
|
fontColor?: string | undefined;
|
@@ -1074,6 +1167,9 @@ declare const _default: {
|
|
1074
1167
|
y: number;
|
1075
1168
|
};
|
1076
1169
|
rotate?: number | undefined;
|
1170
|
+
backgroundcolor?: string | undefined;
|
1171
|
+
barcolor?: string | undefined;
|
1172
|
+
textcolor?: string | undefined;
|
1077
1173
|
}>[];
|
1078
1174
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1079
1175
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1090,6 +1186,7 @@ declare const _default: {
|
|
1090
1186
|
};
|
1091
1187
|
rotate?: number | undefined;
|
1092
1188
|
alignment?: "center" | "left" | "right" | undefined;
|
1189
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1093
1190
|
fontSize?: number | undefined;
|
1094
1191
|
fontName?: string | undefined;
|
1095
1192
|
fontColor?: string | undefined;
|
@@ -1119,6 +1216,9 @@ declare const _default: {
|
|
1119
1216
|
y: number;
|
1120
1217
|
};
|
1121
1218
|
rotate?: number | undefined;
|
1219
|
+
backgroundcolor?: string | undefined;
|
1220
|
+
barcolor?: string | undefined;
|
1221
|
+
textcolor?: string | undefined;
|
1122
1222
|
}>[];
|
1123
1223
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1124
1224
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1135,6 +1235,7 @@ declare const _default: {
|
|
1135
1235
|
};
|
1136
1236
|
rotate?: number | undefined;
|
1137
1237
|
alignment?: "center" | "left" | "right" | undefined;
|
1238
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1138
1239
|
fontSize?: number | undefined;
|
1139
1240
|
fontName?: string | undefined;
|
1140
1241
|
fontColor?: string | undefined;
|
@@ -1164,6 +1265,9 @@ declare const _default: {
|
|
1164
1265
|
y: number;
|
1165
1266
|
};
|
1166
1267
|
rotate?: number | undefined;
|
1268
|
+
backgroundcolor?: string | undefined;
|
1269
|
+
barcolor?: string | undefined;
|
1270
|
+
textcolor?: string | undefined;
|
1167
1271
|
}>[];
|
1168
1272
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1169
1273
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1180,6 +1284,7 @@ declare const _default: {
|
|
1180
1284
|
};
|
1181
1285
|
rotate?: number | undefined;
|
1182
1286
|
alignment?: "center" | "left" | "right" | undefined;
|
1287
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1183
1288
|
fontSize?: number | undefined;
|
1184
1289
|
fontName?: string | undefined;
|
1185
1290
|
fontColor?: string | undefined;
|
@@ -1209,6 +1314,9 @@ declare const _default: {
|
|
1209
1314
|
y: number;
|
1210
1315
|
};
|
1211
1316
|
rotate?: number | undefined;
|
1317
|
+
backgroundcolor?: string | undefined;
|
1318
|
+
barcolor?: string | undefined;
|
1319
|
+
textcolor?: string | undefined;
|
1212
1320
|
}>[];
|
1213
1321
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1214
1322
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1225,6 +1333,7 @@ declare const _default: {
|
|
1225
1333
|
};
|
1226
1334
|
rotate?: number | undefined;
|
1227
1335
|
alignment?: "center" | "left" | "right" | undefined;
|
1336
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1228
1337
|
fontSize?: number | undefined;
|
1229
1338
|
fontName?: string | undefined;
|
1230
1339
|
fontColor?: string | undefined;
|
@@ -1254,6 +1363,9 @@ declare const _default: {
|
|
1254
1363
|
y: number;
|
1255
1364
|
};
|
1256
1365
|
rotate?: number | undefined;
|
1366
|
+
backgroundcolor?: string | undefined;
|
1367
|
+
barcolor?: string | undefined;
|
1368
|
+
textcolor?: string | undefined;
|
1257
1369
|
}>[];
|
1258
1370
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1259
1371
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1270,6 +1382,7 @@ declare const _default: {
|
|
1270
1382
|
};
|
1271
1383
|
rotate?: number | undefined;
|
1272
1384
|
alignment?: "center" | "left" | "right" | undefined;
|
1385
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1273
1386
|
fontSize?: number | undefined;
|
1274
1387
|
fontName?: string | undefined;
|
1275
1388
|
fontColor?: string | undefined;
|
@@ -1299,6 +1412,9 @@ declare const _default: {
|
|
1299
1412
|
y: number;
|
1300
1413
|
};
|
1301
1414
|
rotate?: number | undefined;
|
1415
|
+
backgroundcolor?: string | undefined;
|
1416
|
+
barcolor?: string | undefined;
|
1417
|
+
textcolor?: string | undefined;
|
1302
1418
|
}>[];
|
1303
1419
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1304
1420
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1315,6 +1431,7 @@ declare const _default: {
|
|
1315
1431
|
};
|
1316
1432
|
rotate?: number | undefined;
|
1317
1433
|
alignment?: "center" | "left" | "right" | undefined;
|
1434
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1318
1435
|
fontSize?: number | undefined;
|
1319
1436
|
fontName?: string | undefined;
|
1320
1437
|
fontColor?: string | undefined;
|
@@ -1344,6 +1461,9 @@ declare const _default: {
|
|
1344
1461
|
y: number;
|
1345
1462
|
};
|
1346
1463
|
rotate?: number | undefined;
|
1464
|
+
backgroundcolor?: string | undefined;
|
1465
|
+
barcolor?: string | undefined;
|
1466
|
+
textcolor?: string | undefined;
|
1347
1467
|
}>[];
|
1348
1468
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1349
1469
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1360,6 +1480,7 @@ declare const _default: {
|
|
1360
1480
|
};
|
1361
1481
|
rotate?: number | undefined;
|
1362
1482
|
alignment?: "center" | "left" | "right" | undefined;
|
1483
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1363
1484
|
fontSize?: number | undefined;
|
1364
1485
|
fontName?: string | undefined;
|
1365
1486
|
fontColor?: string | undefined;
|
@@ -1389,6 +1510,9 @@ declare const _default: {
|
|
1389
1510
|
y: number;
|
1390
1511
|
};
|
1391
1512
|
rotate?: number | undefined;
|
1513
|
+
backgroundcolor?: string | undefined;
|
1514
|
+
barcolor?: string | undefined;
|
1515
|
+
textcolor?: string | undefined;
|
1392
1516
|
}>[];
|
1393
1517
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1394
1518
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1405,6 +1529,7 @@ declare const _default: {
|
|
1405
1529
|
};
|
1406
1530
|
rotate?: number | undefined;
|
1407
1531
|
alignment?: "center" | "left" | "right" | undefined;
|
1532
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1408
1533
|
fontSize?: number | undefined;
|
1409
1534
|
fontName?: string | undefined;
|
1410
1535
|
fontColor?: string | undefined;
|
@@ -1434,6 +1559,9 @@ declare const _default: {
|
|
1434
1559
|
y: number;
|
1435
1560
|
};
|
1436
1561
|
rotate?: number | undefined;
|
1562
|
+
backgroundcolor?: string | undefined;
|
1563
|
+
barcolor?: string | undefined;
|
1564
|
+
textcolor?: string | undefined;
|
1437
1565
|
}>[];
|
1438
1566
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1439
1567
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1450,6 +1578,7 @@ declare const _default: {
|
|
1450
1578
|
};
|
1451
1579
|
rotate?: number | undefined;
|
1452
1580
|
alignment?: "center" | "left" | "right" | undefined;
|
1581
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1453
1582
|
fontSize?: number | undefined;
|
1454
1583
|
fontName?: string | undefined;
|
1455
1584
|
fontColor?: string | undefined;
|
@@ -1479,6 +1608,9 @@ declare const _default: {
|
|
1479
1608
|
y: number;
|
1480
1609
|
};
|
1481
1610
|
rotate?: number | undefined;
|
1611
|
+
backgroundcolor?: string | undefined;
|
1612
|
+
barcolor?: string | undefined;
|
1613
|
+
textcolor?: string | undefined;
|
1482
1614
|
}>[];
|
1483
1615
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1484
1616
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1495,6 +1627,7 @@ declare const _default: {
|
|
1495
1627
|
};
|
1496
1628
|
rotate?: number | undefined;
|
1497
1629
|
alignment?: "center" | "left" | "right" | undefined;
|
1630
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1498
1631
|
fontSize?: number | undefined;
|
1499
1632
|
fontName?: string | undefined;
|
1500
1633
|
fontColor?: string | undefined;
|
@@ -1524,6 +1657,9 @@ declare const _default: {
|
|
1524
1657
|
y: number;
|
1525
1658
|
};
|
1526
1659
|
rotate?: number | undefined;
|
1660
|
+
backgroundcolor?: string | undefined;
|
1661
|
+
barcolor?: string | undefined;
|
1662
|
+
textcolor?: string | undefined;
|
1527
1663
|
}>[];
|
1528
1664
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1529
1665
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1540,6 +1676,7 @@ declare const _default: {
|
|
1540
1676
|
};
|
1541
1677
|
rotate?: number | undefined;
|
1542
1678
|
alignment?: "center" | "left" | "right" | undefined;
|
1679
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1543
1680
|
fontSize?: number | undefined;
|
1544
1681
|
fontName?: string | undefined;
|
1545
1682
|
fontColor?: string | undefined;
|
@@ -1569,6 +1706,9 @@ declare const _default: {
|
|
1569
1706
|
y: number;
|
1570
1707
|
};
|
1571
1708
|
rotate?: number | undefined;
|
1709
|
+
backgroundcolor?: string | undefined;
|
1710
|
+
barcolor?: string | undefined;
|
1711
|
+
textcolor?: string | undefined;
|
1572
1712
|
}>[];
|
1573
1713
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1574
1714
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1585,6 +1725,7 @@ declare const _default: {
|
|
1585
1725
|
};
|
1586
1726
|
rotate?: number | undefined;
|
1587
1727
|
alignment?: "center" | "left" | "right" | undefined;
|
1728
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1588
1729
|
fontSize?: number | undefined;
|
1589
1730
|
fontName?: string | undefined;
|
1590
1731
|
fontColor?: string | undefined;
|
@@ -1614,6 +1755,9 @@ declare const _default: {
|
|
1614
1755
|
y: number;
|
1615
1756
|
};
|
1616
1757
|
rotate?: number | undefined;
|
1758
|
+
backgroundcolor?: string | undefined;
|
1759
|
+
barcolor?: string | undefined;
|
1760
|
+
textcolor?: string | undefined;
|
1617
1761
|
}>[];
|
1618
1762
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1619
1763
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1630,6 +1774,7 @@ declare const _default: {
|
|
1630
1774
|
};
|
1631
1775
|
rotate?: number | undefined;
|
1632
1776
|
alignment?: "center" | "left" | "right" | undefined;
|
1777
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1633
1778
|
fontSize?: number | undefined;
|
1634
1779
|
fontName?: string | undefined;
|
1635
1780
|
fontColor?: string | undefined;
|
@@ -1659,6 +1804,9 @@ declare const _default: {
|
|
1659
1804
|
y: number;
|
1660
1805
|
};
|
1661
1806
|
rotate?: number | undefined;
|
1807
|
+
backgroundcolor?: string | undefined;
|
1808
|
+
barcolor?: string | undefined;
|
1809
|
+
textcolor?: string | undefined;
|
1662
1810
|
}>[];
|
1663
1811
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1664
1812
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1675,6 +1823,7 @@ declare const _default: {
|
|
1675
1823
|
};
|
1676
1824
|
rotate?: number | undefined;
|
1677
1825
|
alignment?: "center" | "left" | "right" | undefined;
|
1826
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1678
1827
|
fontSize?: number | undefined;
|
1679
1828
|
fontName?: string | undefined;
|
1680
1829
|
fontColor?: string | undefined;
|
@@ -1704,6 +1853,9 @@ declare const _default: {
|
|
1704
1853
|
y: number;
|
1705
1854
|
};
|
1706
1855
|
rotate?: number | undefined;
|
1856
|
+
backgroundcolor?: string | undefined;
|
1857
|
+
barcolor?: string | undefined;
|
1858
|
+
textcolor?: string | undefined;
|
1707
1859
|
}>[];
|
1708
1860
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1709
1861
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1720,6 +1872,7 @@ declare const _default: {
|
|
1720
1872
|
};
|
1721
1873
|
rotate?: number | undefined;
|
1722
1874
|
alignment?: "center" | "left" | "right" | undefined;
|
1875
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1723
1876
|
fontSize?: number | undefined;
|
1724
1877
|
fontName?: string | undefined;
|
1725
1878
|
fontColor?: string | undefined;
|
@@ -1749,6 +1902,9 @@ declare const _default: {
|
|
1749
1902
|
y: number;
|
1750
1903
|
};
|
1751
1904
|
rotate?: number | undefined;
|
1905
|
+
backgroundcolor?: string | undefined;
|
1906
|
+
barcolor?: string | undefined;
|
1907
|
+
textcolor?: string | undefined;
|
1752
1908
|
}>[];
|
1753
1909
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1754
1910
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1765,6 +1921,7 @@ declare const _default: {
|
|
1765
1921
|
};
|
1766
1922
|
rotate?: number | undefined;
|
1767
1923
|
alignment?: "center" | "left" | "right" | undefined;
|
1924
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1768
1925
|
fontSize?: number | undefined;
|
1769
1926
|
fontName?: string | undefined;
|
1770
1927
|
fontColor?: string | undefined;
|
@@ -1794,6 +1951,9 @@ declare const _default: {
|
|
1794
1951
|
y: number;
|
1795
1952
|
};
|
1796
1953
|
rotate?: number | undefined;
|
1954
|
+
backgroundcolor?: string | undefined;
|
1955
|
+
barcolor?: string | undefined;
|
1956
|
+
textcolor?: string | undefined;
|
1797
1957
|
}>[];
|
1798
1958
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1799
1959
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1810,6 +1970,7 @@ declare const _default: {
|
|
1810
1970
|
};
|
1811
1971
|
rotate?: number | undefined;
|
1812
1972
|
alignment?: "center" | "left" | "right" | undefined;
|
1973
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1813
1974
|
fontSize?: number | undefined;
|
1814
1975
|
fontName?: string | undefined;
|
1815
1976
|
fontColor?: string | undefined;
|
@@ -1839,6 +2000,156 @@ declare const _default: {
|
|
1839
2000
|
y: number;
|
1840
2001
|
};
|
1841
2002
|
rotate?: number | undefined;
|
2003
|
+
backgroundcolor?: string | undefined;
|
2004
|
+
barcolor?: string | undefined;
|
2005
|
+
textcolor?: string | undefined;
|
2006
|
+
}>[];
|
2007
|
+
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2008
|
+
sampledata?: Record<string, string>[] | undefined;
|
2009
|
+
columns?: string[] | undefined;
|
2010
|
+
};
|
2011
|
+
verticalAlignmentTop: {
|
2012
|
+
schemas: Record<string, {
|
2013
|
+
type: "text";
|
2014
|
+
height: number;
|
2015
|
+
width: number;
|
2016
|
+
position: {
|
2017
|
+
x: number;
|
2018
|
+
y: number;
|
2019
|
+
};
|
2020
|
+
rotate?: number | undefined;
|
2021
|
+
alignment?: "center" | "left" | "right" | undefined;
|
2022
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2023
|
+
fontSize?: number | undefined;
|
2024
|
+
fontName?: string | undefined;
|
2025
|
+
fontColor?: string | undefined;
|
2026
|
+
backgroundColor?: string | undefined;
|
2027
|
+
characterSpacing?: number | undefined;
|
2028
|
+
lineHeight?: number | undefined;
|
2029
|
+
dynamicFontSize?: {
|
2030
|
+
max: number;
|
2031
|
+
min: number;
|
2032
|
+
fit?: string | undefined;
|
2033
|
+
} | undefined;
|
2034
|
+
} | {
|
2035
|
+
type: "image";
|
2036
|
+
height: number;
|
2037
|
+
width: number;
|
2038
|
+
position: {
|
2039
|
+
x: number;
|
2040
|
+
y: number;
|
2041
|
+
};
|
2042
|
+
rotate?: number | undefined;
|
2043
|
+
} | {
|
2044
|
+
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
2045
|
+
height: number;
|
2046
|
+
width: number;
|
2047
|
+
position: {
|
2048
|
+
x: number;
|
2049
|
+
y: number;
|
2050
|
+
};
|
2051
|
+
rotate?: number | undefined;
|
2052
|
+
backgroundcolor?: string | undefined;
|
2053
|
+
barcolor?: string | undefined;
|
2054
|
+
textcolor?: string | undefined;
|
2055
|
+
}>[];
|
2056
|
+
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2057
|
+
sampledata?: Record<string, string>[] | undefined;
|
2058
|
+
columns?: string[] | undefined;
|
2059
|
+
};
|
2060
|
+
verticalAlignmentMiddle: {
|
2061
|
+
schemas: Record<string, {
|
2062
|
+
type: "text";
|
2063
|
+
height: number;
|
2064
|
+
width: number;
|
2065
|
+
position: {
|
2066
|
+
x: number;
|
2067
|
+
y: number;
|
2068
|
+
};
|
2069
|
+
rotate?: number | undefined;
|
2070
|
+
alignment?: "center" | "left" | "right" | undefined;
|
2071
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2072
|
+
fontSize?: number | undefined;
|
2073
|
+
fontName?: string | undefined;
|
2074
|
+
fontColor?: string | undefined;
|
2075
|
+
backgroundColor?: string | undefined;
|
2076
|
+
characterSpacing?: number | undefined;
|
2077
|
+
lineHeight?: number | undefined;
|
2078
|
+
dynamicFontSize?: {
|
2079
|
+
max: number;
|
2080
|
+
min: number;
|
2081
|
+
fit?: string | undefined;
|
2082
|
+
} | undefined;
|
2083
|
+
} | {
|
2084
|
+
type: "image";
|
2085
|
+
height: number;
|
2086
|
+
width: number;
|
2087
|
+
position: {
|
2088
|
+
x: number;
|
2089
|
+
y: number;
|
2090
|
+
};
|
2091
|
+
rotate?: number | undefined;
|
2092
|
+
} | {
|
2093
|
+
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
2094
|
+
height: number;
|
2095
|
+
width: number;
|
2096
|
+
position: {
|
2097
|
+
x: number;
|
2098
|
+
y: number;
|
2099
|
+
};
|
2100
|
+
rotate?: number | undefined;
|
2101
|
+
backgroundcolor?: string | undefined;
|
2102
|
+
barcolor?: string | undefined;
|
2103
|
+
textcolor?: string | undefined;
|
2104
|
+
}>[];
|
2105
|
+
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2106
|
+
sampledata?: Record<string, string>[] | undefined;
|
2107
|
+
columns?: string[] | undefined;
|
2108
|
+
};
|
2109
|
+
verticalAlignmentBottom: {
|
2110
|
+
schemas: Record<string, {
|
2111
|
+
type: "text";
|
2112
|
+
height: number;
|
2113
|
+
width: number;
|
2114
|
+
position: {
|
2115
|
+
x: number;
|
2116
|
+
y: number;
|
2117
|
+
};
|
2118
|
+
rotate?: number | undefined;
|
2119
|
+
alignment?: "center" | "left" | "right" | undefined;
|
2120
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2121
|
+
fontSize?: number | undefined;
|
2122
|
+
fontName?: string | undefined;
|
2123
|
+
fontColor?: string | undefined;
|
2124
|
+
backgroundColor?: string | undefined;
|
2125
|
+
characterSpacing?: number | undefined;
|
2126
|
+
lineHeight?: number | undefined;
|
2127
|
+
dynamicFontSize?: {
|
2128
|
+
max: number;
|
2129
|
+
min: number;
|
2130
|
+
fit?: string | undefined;
|
2131
|
+
} | undefined;
|
2132
|
+
} | {
|
2133
|
+
type: "image";
|
2134
|
+
height: number;
|
2135
|
+
width: number;
|
2136
|
+
position: {
|
2137
|
+
x: number;
|
2138
|
+
y: number;
|
2139
|
+
};
|
2140
|
+
rotate?: number | undefined;
|
2141
|
+
} | {
|
2142
|
+
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
2143
|
+
height: number;
|
2144
|
+
width: number;
|
2145
|
+
position: {
|
2146
|
+
x: number;
|
2147
|
+
y: number;
|
2148
|
+
};
|
2149
|
+
rotate?: number | undefined;
|
2150
|
+
backgroundcolor?: string | undefined;
|
2151
|
+
barcolor?: string | undefined;
|
2152
|
+
textcolor?: string | undefined;
|
1842
2153
|
}>[];
|
1843
2154
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1844
2155
|
sampledata?: Record<string, string>[] | undefined;
|