@pdfme/common 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/dist/cjs/__tests__/barcode.test.js +107 -0
- package/dist/cjs/__tests__/barcode.test.js.map +1 -0
- package/dist/cjs/__tests__/font.test.js +77 -32
- package/dist/cjs/__tests__/font.test.js.map +1 -1
- package/dist/cjs/__tests__/helper.test.js +12 -0
- package/dist/cjs/__tests__/helper.test.js.map +1 -1
- package/dist/cjs/src/barcode.js +53 -0
- package/dist/cjs/src/barcode.js.map +1 -0
- package/dist/cjs/src/constants.js +8 -2
- package/dist/cjs/src/constants.js.map +1 -1
- package/dist/cjs/src/font.js +48 -19
- package/dist/cjs/src/font.js.map +1 -1
- package/dist/cjs/src/helper.js +6 -1
- package/dist/cjs/src/helper.js.map +1 -1
- package/dist/cjs/src/index.js +12 -2
- package/dist/cjs/src/index.js.map +1 -1
- package/dist/cjs/src/schema.js +16 -3
- package/dist/cjs/src/schema.js.map +1 -1
- package/dist/cjs/src/type.js.map +1 -1
- package/dist/esm/__tests__/barcode.test.js +102 -0
- package/dist/esm/__tests__/barcode.test.js.map +1 -0
- package/dist/esm/__tests__/font.test.js +78 -33
- package/dist/esm/__tests__/font.test.js.map +1 -1
- package/dist/esm/__tests__/helper.test.js +13 -1
- package/dist/esm/__tests__/helper.test.js.map +1 -1
- package/dist/esm/src/barcode.js +44 -0
- package/dist/esm/src/barcode.js.map +1 -0
- package/dist/esm/src/constants.js +7 -1
- package/dist/esm/src/constants.js.map +1 -1
- package/dist/esm/src/font.js +47 -19
- package/dist/esm/src/font.js.map +1 -1
- package/dist/esm/src/helper.js +5 -1
- package/dist/esm/src/helper.js.map +1 -1
- package/dist/esm/src/index.js +5 -4
- package/dist/esm/src/index.js.map +1 -1
- package/dist/esm/src/schema.js +15 -2
- package/dist/esm/src/schema.js.map +1 -1
- package/dist/esm/src/type.js.map +1 -1
- package/dist/types/__tests__/barcode.test.d.ts +1 -0
- package/dist/types/src/barcode.d.ts +19 -0
- package/dist/types/src/constants.d.ts +7 -1
- package/dist/types/src/font.d.ts +8 -10
- package/dist/types/src/helper.d.ts +1 -0
- package/dist/types/src/index.d.ts +6 -5
- package/dist/types/src/schema.d.ts +310 -29
- package/dist/types/src/type.d.ts +35 -24
- package/package.json +9 -4
- package/src/barcode.ts +51 -0
- package/src/constants.ts +7 -1
- package/src/font.ts +56 -30
- package/src/helper.ts +6 -1
- package/src/index.ts +21 -3
- package/src/schema.ts +17 -2
- package/src/type.ts +9 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
import { z } from 'zod';
|
2
|
-
export declare const Lang: z.ZodEnum<["en", "ja", "ar", "th", "pl"]>;
|
2
|
+
export declare const Lang: z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>;
|
3
3
|
export declare const Size: z.ZodObject<{
|
4
4
|
height: z.ZodNumber;
|
5
5
|
width: z.ZodNumber;
|
@@ -11,6 +11,7 @@ export declare const Size: z.ZodObject<{
|
|
11
11
|
width: number;
|
12
12
|
}>;
|
13
13
|
export declare const Alignment: z.ZodEnum<["left", "center", "right"]>;
|
14
|
+
export declare const VerticalAlignment: z.ZodEnum<["top", "middle", "bottom"]>;
|
14
15
|
export declare const barcodeSchemaTypes: readonly ["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"];
|
15
16
|
export declare const schemaTypes: readonly ["text", "image", "qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"];
|
16
17
|
export declare const BarcodeSchemaType: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
@@ -65,6 +66,7 @@ export declare const TextSchema: z.ZodObject<{
|
|
65
66
|
rotate: z.ZodOptional<z.ZodNumber>;
|
66
67
|
type: z.ZodLiteral<"text">;
|
67
68
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
69
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
68
70
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
69
71
|
fontName: z.ZodOptional<z.ZodString>;
|
70
72
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -94,6 +96,7 @@ export declare const TextSchema: z.ZodObject<{
|
|
94
96
|
};
|
95
97
|
rotate?: number | undefined;
|
96
98
|
alignment?: "center" | "left" | "right" | undefined;
|
99
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
97
100
|
fontSize?: number | undefined;
|
98
101
|
fontName?: string | undefined;
|
99
102
|
fontColor?: string | undefined;
|
@@ -115,6 +118,7 @@ export declare const TextSchema: z.ZodObject<{
|
|
115
118
|
};
|
116
119
|
rotate?: number | undefined;
|
117
120
|
alignment?: "center" | "left" | "right" | undefined;
|
121
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
118
122
|
fontSize?: number | undefined;
|
119
123
|
fontName?: string | undefined;
|
120
124
|
fontColor?: string | undefined;
|
@@ -176,6 +180,9 @@ export declare const BarcodeSchema: z.ZodObject<{
|
|
176
180
|
}>;
|
177
181
|
rotate: z.ZodOptional<z.ZodNumber>;
|
178
182
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
183
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
184
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
185
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
179
186
|
}, "strip", z.ZodTypeAny, {
|
180
187
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
181
188
|
height: number;
|
@@ -185,6 +192,9 @@ export declare const BarcodeSchema: z.ZodObject<{
|
|
185
192
|
y: number;
|
186
193
|
};
|
187
194
|
rotate?: number | undefined;
|
195
|
+
backgroundcolor?: string | undefined;
|
196
|
+
barcolor?: string | undefined;
|
197
|
+
textcolor?: string | undefined;
|
188
198
|
}, {
|
189
199
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
190
200
|
height: number;
|
@@ -194,6 +204,9 @@ export declare const BarcodeSchema: z.ZodObject<{
|
|
194
204
|
y: number;
|
195
205
|
};
|
196
206
|
rotate?: number | undefined;
|
207
|
+
backgroundcolor?: string | undefined;
|
208
|
+
barcolor?: string | undefined;
|
209
|
+
textcolor?: string | undefined;
|
197
210
|
}>;
|
198
211
|
export declare const Schema: z.ZodUnion<[z.ZodObject<{
|
199
212
|
height: z.ZodNumber;
|
@@ -211,6 +224,7 @@ export declare const Schema: z.ZodUnion<[z.ZodObject<{
|
|
211
224
|
rotate: z.ZodOptional<z.ZodNumber>;
|
212
225
|
type: z.ZodLiteral<"text">;
|
213
226
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
227
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
214
228
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
215
229
|
fontName: z.ZodOptional<z.ZodString>;
|
216
230
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -240,6 +254,7 @@ export declare const Schema: z.ZodUnion<[z.ZodObject<{
|
|
240
254
|
};
|
241
255
|
rotate?: number | undefined;
|
242
256
|
alignment?: "center" | "left" | "right" | undefined;
|
257
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
243
258
|
fontSize?: number | undefined;
|
244
259
|
fontName?: string | undefined;
|
245
260
|
fontColor?: string | undefined;
|
@@ -261,6 +276,7 @@ export declare const Schema: z.ZodUnion<[z.ZodObject<{
|
|
261
276
|
};
|
262
277
|
rotate?: number | undefined;
|
263
278
|
alignment?: "center" | "left" | "right" | undefined;
|
279
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
264
280
|
fontSize?: number | undefined;
|
265
281
|
fontName?: string | undefined;
|
266
282
|
fontColor?: string | undefined;
|
@@ -320,6 +336,9 @@ export declare const Schema: z.ZodUnion<[z.ZodObject<{
|
|
320
336
|
}>;
|
321
337
|
rotate: z.ZodOptional<z.ZodNumber>;
|
322
338
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
339
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
340
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
341
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
323
342
|
}, "strip", z.ZodTypeAny, {
|
324
343
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
325
344
|
height: number;
|
@@ -329,6 +348,9 @@ export declare const Schema: z.ZodUnion<[z.ZodObject<{
|
|
329
348
|
y: number;
|
330
349
|
};
|
331
350
|
rotate?: number | undefined;
|
351
|
+
backgroundcolor?: string | undefined;
|
352
|
+
barcolor?: string | undefined;
|
353
|
+
textcolor?: string | undefined;
|
332
354
|
}, {
|
333
355
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
334
356
|
height: number;
|
@@ -338,6 +360,9 @@ export declare const Schema: z.ZodUnion<[z.ZodObject<{
|
|
338
360
|
y: number;
|
339
361
|
};
|
340
362
|
rotate?: number | undefined;
|
363
|
+
backgroundcolor?: string | undefined;
|
364
|
+
barcolor?: string | undefined;
|
365
|
+
textcolor?: string | undefined;
|
341
366
|
}>]>;
|
342
367
|
export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
|
343
368
|
type: z.ZodLiteral<"text">;
|
@@ -358,6 +383,7 @@ export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
|
|
358
383
|
}>;
|
359
384
|
rotate: z.ZodOptional<z.ZodNumber>;
|
360
385
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
386
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
361
387
|
fontName: z.ZodOptional<z.ZodString>;
|
362
388
|
fontColor: z.ZodOptional<z.ZodString>;
|
363
389
|
characterSpacing: z.ZodOptional<z.ZodNumber>;
|
@@ -393,6 +419,7 @@ export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
|
|
393
419
|
lineHeight?: number | undefined;
|
394
420
|
rotate?: number | undefined;
|
395
421
|
alignment?: "center" | "left" | "right" | undefined;
|
422
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
396
423
|
fontName?: string | undefined;
|
397
424
|
fontColor?: string | undefined;
|
398
425
|
characterSpacing?: number | undefined;
|
@@ -417,6 +444,7 @@ export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
|
|
417
444
|
lineHeight?: number | undefined;
|
418
445
|
rotate?: number | undefined;
|
419
446
|
alignment?: "center" | "left" | "right" | undefined;
|
447
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
420
448
|
fontName?: string | undefined;
|
421
449
|
fontColor?: string | undefined;
|
422
450
|
characterSpacing?: number | undefined;
|
@@ -482,6 +510,9 @@ export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
|
|
482
510
|
y: number;
|
483
511
|
}>;
|
484
512
|
rotate: z.ZodOptional<z.ZodNumber>;
|
513
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
514
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
515
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
485
516
|
id: z.ZodString;
|
486
517
|
key: z.ZodString;
|
487
518
|
data: z.ZodString;
|
@@ -497,6 +528,9 @@ export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
|
|
497
528
|
y: number;
|
498
529
|
};
|
499
530
|
rotate?: number | undefined;
|
531
|
+
backgroundcolor?: string | undefined;
|
532
|
+
barcolor?: string | undefined;
|
533
|
+
textcolor?: string | undefined;
|
500
534
|
}, {
|
501
535
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
502
536
|
data: string;
|
@@ -509,6 +543,9 @@ export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
|
|
509
543
|
y: number;
|
510
544
|
};
|
511
545
|
rotate?: number | undefined;
|
546
|
+
backgroundcolor?: string | undefined;
|
547
|
+
barcolor?: string | undefined;
|
548
|
+
textcolor?: string | undefined;
|
512
549
|
}>]>;
|
513
550
|
export declare const Font: z.ZodRecord<z.ZodString, z.ZodObject<{
|
514
551
|
data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
@@ -541,6 +578,7 @@ export declare const Template: z.ZodObject<{
|
|
541
578
|
rotate: z.ZodOptional<z.ZodNumber>;
|
542
579
|
type: z.ZodLiteral<"text">;
|
543
580
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
581
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
544
582
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
545
583
|
fontName: z.ZodOptional<z.ZodString>;
|
546
584
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -570,6 +608,7 @@ export declare const Template: z.ZodObject<{
|
|
570
608
|
};
|
571
609
|
rotate?: number | undefined;
|
572
610
|
alignment?: "center" | "left" | "right" | undefined;
|
611
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
573
612
|
fontSize?: number | undefined;
|
574
613
|
fontName?: string | undefined;
|
575
614
|
fontColor?: string | undefined;
|
@@ -591,6 +630,7 @@ export declare const Template: z.ZodObject<{
|
|
591
630
|
};
|
592
631
|
rotate?: number | undefined;
|
593
632
|
alignment?: "center" | "left" | "right" | undefined;
|
633
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
594
634
|
fontSize?: number | undefined;
|
595
635
|
fontName?: string | undefined;
|
596
636
|
fontColor?: string | undefined;
|
@@ -650,6 +690,9 @@ export declare const Template: z.ZodObject<{
|
|
650
690
|
}>;
|
651
691
|
rotate: z.ZodOptional<z.ZodNumber>;
|
652
692
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
693
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
694
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
695
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
653
696
|
}, "strip", z.ZodTypeAny, {
|
654
697
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
655
698
|
height: number;
|
@@ -659,6 +702,9 @@ export declare const Template: z.ZodObject<{
|
|
659
702
|
y: number;
|
660
703
|
};
|
661
704
|
rotate?: number | undefined;
|
705
|
+
backgroundcolor?: string | undefined;
|
706
|
+
barcolor?: string | undefined;
|
707
|
+
textcolor?: string | undefined;
|
662
708
|
}, {
|
663
709
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
664
710
|
height: number;
|
@@ -668,6 +714,9 @@ export declare const Template: z.ZodObject<{
|
|
668
714
|
y: number;
|
669
715
|
};
|
670
716
|
rotate?: number | undefined;
|
717
|
+
backgroundcolor?: string | undefined;
|
718
|
+
barcolor?: string | undefined;
|
719
|
+
textcolor?: string | undefined;
|
671
720
|
}>]>>, "many">;
|
672
721
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
673
722
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -683,6 +732,7 @@ export declare const Template: z.ZodObject<{
|
|
683
732
|
};
|
684
733
|
rotate?: number | undefined;
|
685
734
|
alignment?: "center" | "left" | "right" | undefined;
|
735
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
686
736
|
fontSize?: number | undefined;
|
687
737
|
fontName?: string | undefined;
|
688
738
|
fontColor?: string | undefined;
|
@@ -712,6 +762,9 @@ export declare const Template: z.ZodObject<{
|
|
712
762
|
y: number;
|
713
763
|
};
|
714
764
|
rotate?: number | undefined;
|
765
|
+
backgroundcolor?: string | undefined;
|
766
|
+
barcolor?: string | undefined;
|
767
|
+
textcolor?: string | undefined;
|
715
768
|
}>[];
|
716
769
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
717
770
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -727,6 +780,7 @@ export declare const Template: z.ZodObject<{
|
|
727
780
|
};
|
728
781
|
rotate?: number | undefined;
|
729
782
|
alignment?: "center" | "left" | "right" | undefined;
|
783
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
730
784
|
fontSize?: number | undefined;
|
731
785
|
fontName?: string | undefined;
|
732
786
|
fontColor?: string | undefined;
|
@@ -756,6 +810,9 @@ export declare const Template: z.ZodObject<{
|
|
756
810
|
y: number;
|
757
811
|
};
|
758
812
|
rotate?: number | undefined;
|
813
|
+
backgroundcolor?: string | undefined;
|
814
|
+
barcolor?: string | undefined;
|
815
|
+
textcolor?: string | undefined;
|
759
816
|
}>[];
|
760
817
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
761
818
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -780,6 +837,7 @@ export declare const CommonProps: z.ZodObject<{
|
|
780
837
|
rotate: z.ZodOptional<z.ZodNumber>;
|
781
838
|
type: z.ZodLiteral<"text">;
|
782
839
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
840
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
783
841
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
784
842
|
fontName: z.ZodOptional<z.ZodString>;
|
785
843
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -809,6 +867,7 @@ export declare const CommonProps: z.ZodObject<{
|
|
809
867
|
};
|
810
868
|
rotate?: number | undefined;
|
811
869
|
alignment?: "center" | "left" | "right" | undefined;
|
870
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
812
871
|
fontSize?: number | undefined;
|
813
872
|
fontName?: string | undefined;
|
814
873
|
fontColor?: string | undefined;
|
@@ -830,6 +889,7 @@ export declare const CommonProps: z.ZodObject<{
|
|
830
889
|
};
|
831
890
|
rotate?: number | undefined;
|
832
891
|
alignment?: "center" | "left" | "right" | undefined;
|
892
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
833
893
|
fontSize?: number | undefined;
|
834
894
|
fontName?: string | undefined;
|
835
895
|
fontColor?: string | undefined;
|
@@ -889,6 +949,9 @@ export declare const CommonProps: z.ZodObject<{
|
|
889
949
|
}>;
|
890
950
|
rotate: z.ZodOptional<z.ZodNumber>;
|
891
951
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
952
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
953
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
954
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
892
955
|
}, "strip", z.ZodTypeAny, {
|
893
956
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
894
957
|
height: number;
|
@@ -898,6 +961,9 @@ export declare const CommonProps: z.ZodObject<{
|
|
898
961
|
y: number;
|
899
962
|
};
|
900
963
|
rotate?: number | undefined;
|
964
|
+
backgroundcolor?: string | undefined;
|
965
|
+
barcolor?: string | undefined;
|
966
|
+
textcolor?: string | undefined;
|
901
967
|
}, {
|
902
968
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
903
969
|
height: number;
|
@@ -907,6 +973,9 @@ export declare const CommonProps: z.ZodObject<{
|
|
907
973
|
y: number;
|
908
974
|
};
|
909
975
|
rotate?: number | undefined;
|
976
|
+
backgroundcolor?: string | undefined;
|
977
|
+
barcolor?: string | undefined;
|
978
|
+
textcolor?: string | undefined;
|
910
979
|
}>]>>, "many">;
|
911
980
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
912
981
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -922,6 +991,7 @@ export declare const CommonProps: z.ZodObject<{
|
|
922
991
|
};
|
923
992
|
rotate?: number | undefined;
|
924
993
|
alignment?: "center" | "left" | "right" | undefined;
|
994
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
925
995
|
fontSize?: number | undefined;
|
926
996
|
fontName?: string | undefined;
|
927
997
|
fontColor?: string | undefined;
|
@@ -951,6 +1021,9 @@ export declare const CommonProps: z.ZodObject<{
|
|
951
1021
|
y: number;
|
952
1022
|
};
|
953
1023
|
rotate?: number | undefined;
|
1024
|
+
backgroundcolor?: string | undefined;
|
1025
|
+
barcolor?: string | undefined;
|
1026
|
+
textcolor?: string | undefined;
|
954
1027
|
}>[];
|
955
1028
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
956
1029
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -966,6 +1039,7 @@ export declare const CommonProps: z.ZodObject<{
|
|
966
1039
|
};
|
967
1040
|
rotate?: number | undefined;
|
968
1041
|
alignment?: "center" | "left" | "right" | undefined;
|
1042
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
969
1043
|
fontSize?: number | undefined;
|
970
1044
|
fontName?: string | undefined;
|
971
1045
|
fontColor?: string | undefined;
|
@@ -995,6 +1069,9 @@ export declare const CommonProps: z.ZodObject<{
|
|
995
1069
|
y: number;
|
996
1070
|
};
|
997
1071
|
rotate?: number | undefined;
|
1072
|
+
backgroundcolor?: string | undefined;
|
1073
|
+
barcolor?: string | undefined;
|
1074
|
+
textcolor?: string | undefined;
|
998
1075
|
}>[];
|
999
1076
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1000
1077
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1039,6 +1116,7 @@ export declare const CommonProps: z.ZodObject<{
|
|
1039
1116
|
};
|
1040
1117
|
rotate?: number | undefined;
|
1041
1118
|
alignment?: "center" | "left" | "right" | undefined;
|
1119
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1042
1120
|
fontSize?: number | undefined;
|
1043
1121
|
fontName?: string | undefined;
|
1044
1122
|
fontColor?: string | undefined;
|
@@ -1068,6 +1146,9 @@ export declare const CommonProps: z.ZodObject<{
|
|
1068
1146
|
y: number;
|
1069
1147
|
};
|
1070
1148
|
rotate?: number | undefined;
|
1149
|
+
backgroundcolor?: string | undefined;
|
1150
|
+
barcolor?: string | undefined;
|
1151
|
+
textcolor?: string | undefined;
|
1071
1152
|
}>[];
|
1072
1153
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1073
1154
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1092,6 +1173,7 @@ export declare const CommonProps: z.ZodObject<{
|
|
1092
1173
|
};
|
1093
1174
|
rotate?: number | undefined;
|
1094
1175
|
alignment?: "center" | "left" | "right" | undefined;
|
1176
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1095
1177
|
fontSize?: number | undefined;
|
1096
1178
|
fontName?: string | undefined;
|
1097
1179
|
fontColor?: string | undefined;
|
@@ -1121,6 +1203,9 @@ export declare const CommonProps: z.ZodObject<{
|
|
1121
1203
|
y: number;
|
1122
1204
|
};
|
1123
1205
|
rotate?: number | undefined;
|
1206
|
+
backgroundcolor?: string | undefined;
|
1207
|
+
barcolor?: string | undefined;
|
1208
|
+
textcolor?: string | undefined;
|
1124
1209
|
}>[];
|
1125
1210
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1126
1211
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1179,6 +1264,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1179
1264
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1180
1265
|
type: z.ZodLiteral<"text">;
|
1181
1266
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
1267
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
1182
1268
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
1183
1269
|
fontName: z.ZodOptional<z.ZodString>;
|
1184
1270
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -1208,6 +1294,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1208
1294
|
};
|
1209
1295
|
rotate?: number | undefined;
|
1210
1296
|
alignment?: "center" | "left" | "right" | undefined;
|
1297
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1211
1298
|
fontSize?: number | undefined;
|
1212
1299
|
fontName?: string | undefined;
|
1213
1300
|
fontColor?: string | undefined;
|
@@ -1229,6 +1316,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1229
1316
|
};
|
1230
1317
|
rotate?: number | undefined;
|
1231
1318
|
alignment?: "center" | "left" | "right" | undefined;
|
1319
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1232
1320
|
fontSize?: number | undefined;
|
1233
1321
|
fontName?: string | undefined;
|
1234
1322
|
fontColor?: string | undefined;
|
@@ -1288,6 +1376,9 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1288
1376
|
}>;
|
1289
1377
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1290
1378
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
1379
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
1380
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
1381
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
1291
1382
|
}, "strip", z.ZodTypeAny, {
|
1292
1383
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
1293
1384
|
height: number;
|
@@ -1297,6 +1388,9 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1297
1388
|
y: number;
|
1298
1389
|
};
|
1299
1390
|
rotate?: number | undefined;
|
1391
|
+
backgroundcolor?: string | undefined;
|
1392
|
+
barcolor?: string | undefined;
|
1393
|
+
textcolor?: string | undefined;
|
1300
1394
|
}, {
|
1301
1395
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
1302
1396
|
height: number;
|
@@ -1306,6 +1400,9 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1306
1400
|
y: number;
|
1307
1401
|
};
|
1308
1402
|
rotate?: number | undefined;
|
1403
|
+
backgroundcolor?: string | undefined;
|
1404
|
+
barcolor?: string | undefined;
|
1405
|
+
textcolor?: string | undefined;
|
1309
1406
|
}>]>>, "many">;
|
1310
1407
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
1311
1408
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -1321,6 +1418,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1321
1418
|
};
|
1322
1419
|
rotate?: number | undefined;
|
1323
1420
|
alignment?: "center" | "left" | "right" | undefined;
|
1421
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1324
1422
|
fontSize?: number | undefined;
|
1325
1423
|
fontName?: string | undefined;
|
1326
1424
|
fontColor?: string | undefined;
|
@@ -1350,6 +1448,9 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1350
1448
|
y: number;
|
1351
1449
|
};
|
1352
1450
|
rotate?: number | undefined;
|
1451
|
+
backgroundcolor?: string | undefined;
|
1452
|
+
barcolor?: string | undefined;
|
1453
|
+
textcolor?: string | undefined;
|
1353
1454
|
}>[];
|
1354
1455
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1355
1456
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1365,6 +1466,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1365
1466
|
};
|
1366
1467
|
rotate?: number | undefined;
|
1367
1468
|
alignment?: "center" | "left" | "right" | undefined;
|
1469
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1368
1470
|
fontSize?: number | undefined;
|
1369
1471
|
fontName?: string | undefined;
|
1370
1472
|
fontColor?: string | undefined;
|
@@ -1394,6 +1496,9 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1394
1496
|
y: number;
|
1395
1497
|
};
|
1396
1498
|
rotate?: number | undefined;
|
1499
|
+
backgroundcolor?: string | undefined;
|
1500
|
+
barcolor?: string | undefined;
|
1501
|
+
textcolor?: string | undefined;
|
1397
1502
|
}>[];
|
1398
1503
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1399
1504
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1439,6 +1544,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1439
1544
|
};
|
1440
1545
|
rotate?: number | undefined;
|
1441
1546
|
alignment?: "center" | "left" | "right" | undefined;
|
1547
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1442
1548
|
fontSize?: number | undefined;
|
1443
1549
|
fontName?: string | undefined;
|
1444
1550
|
fontColor?: string | undefined;
|
@@ -1468,6 +1574,9 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1468
1574
|
y: number;
|
1469
1575
|
};
|
1470
1576
|
rotate?: number | undefined;
|
1577
|
+
backgroundcolor?: string | undefined;
|
1578
|
+
barcolor?: string | undefined;
|
1579
|
+
textcolor?: string | undefined;
|
1471
1580
|
}>[];
|
1472
1581
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1473
1582
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1493,6 +1602,7 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1493
1602
|
};
|
1494
1603
|
rotate?: number | undefined;
|
1495
1604
|
alignment?: "center" | "left" | "right" | undefined;
|
1605
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1496
1606
|
fontSize?: number | undefined;
|
1497
1607
|
fontName?: string | undefined;
|
1498
1608
|
fontColor?: string | undefined;
|
@@ -1522,6 +1632,9 @@ export declare const GenerateProps: z.ZodObject<{
|
|
1522
1632
|
y: number;
|
1523
1633
|
};
|
1524
1634
|
rotate?: number | undefined;
|
1635
|
+
backgroundcolor?: string | undefined;
|
1636
|
+
barcolor?: string | undefined;
|
1637
|
+
textcolor?: string | undefined;
|
1525
1638
|
}>[];
|
1526
1639
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1527
1640
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1551,21 +1664,21 @@ export declare const UIOptions: z.ZodObject<{
|
|
1551
1664
|
fallback?: boolean | undefined;
|
1552
1665
|
subset?: boolean | undefined;
|
1553
1666
|
}>>>;
|
1554
|
-
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
|
1667
|
+
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
|
1555
1668
|
}, "strip", z.ZodTypeAny, {
|
1556
1669
|
font?: Record<string, {
|
1557
1670
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1558
1671
|
fallback?: boolean | undefined;
|
1559
1672
|
subset?: boolean | undefined;
|
1560
1673
|
}> | undefined;
|
1561
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
1674
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
1562
1675
|
}, {
|
1563
1676
|
font?: Record<string, {
|
1564
1677
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1565
1678
|
fallback?: boolean | undefined;
|
1566
1679
|
subset?: boolean | undefined;
|
1567
1680
|
}> | undefined;
|
1568
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
1681
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
1569
1682
|
}>;
|
1570
1683
|
export declare const UIProps: z.ZodObject<{
|
1571
1684
|
template: z.ZodObject<{
|
@@ -1585,6 +1698,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1585
1698
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1586
1699
|
type: z.ZodLiteral<"text">;
|
1587
1700
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
1701
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
1588
1702
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
1589
1703
|
fontName: z.ZodOptional<z.ZodString>;
|
1590
1704
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -1614,6 +1728,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1614
1728
|
};
|
1615
1729
|
rotate?: number | undefined;
|
1616
1730
|
alignment?: "center" | "left" | "right" | undefined;
|
1731
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1617
1732
|
fontSize?: number | undefined;
|
1618
1733
|
fontName?: string | undefined;
|
1619
1734
|
fontColor?: string | undefined;
|
@@ -1635,6 +1750,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1635
1750
|
};
|
1636
1751
|
rotate?: number | undefined;
|
1637
1752
|
alignment?: "center" | "left" | "right" | undefined;
|
1753
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1638
1754
|
fontSize?: number | undefined;
|
1639
1755
|
fontName?: string | undefined;
|
1640
1756
|
fontColor?: string | undefined;
|
@@ -1694,6 +1810,9 @@ export declare const UIProps: z.ZodObject<{
|
|
1694
1810
|
}>;
|
1695
1811
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1696
1812
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
1813
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
1814
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
1815
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
1697
1816
|
}, "strip", z.ZodTypeAny, {
|
1698
1817
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
1699
1818
|
height: number;
|
@@ -1703,6 +1822,9 @@ export declare const UIProps: z.ZodObject<{
|
|
1703
1822
|
y: number;
|
1704
1823
|
};
|
1705
1824
|
rotate?: number | undefined;
|
1825
|
+
backgroundcolor?: string | undefined;
|
1826
|
+
barcolor?: string | undefined;
|
1827
|
+
textcolor?: string | undefined;
|
1706
1828
|
}, {
|
1707
1829
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
1708
1830
|
height: number;
|
@@ -1712,6 +1834,9 @@ export declare const UIProps: z.ZodObject<{
|
|
1712
1834
|
y: number;
|
1713
1835
|
};
|
1714
1836
|
rotate?: number | undefined;
|
1837
|
+
backgroundcolor?: string | undefined;
|
1838
|
+
barcolor?: string | undefined;
|
1839
|
+
textcolor?: string | undefined;
|
1715
1840
|
}>]>>, "many">;
|
1716
1841
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
1717
1842
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -1727,6 +1852,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1727
1852
|
};
|
1728
1853
|
rotate?: number | undefined;
|
1729
1854
|
alignment?: "center" | "left" | "right" | undefined;
|
1855
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1730
1856
|
fontSize?: number | undefined;
|
1731
1857
|
fontName?: string | undefined;
|
1732
1858
|
fontColor?: string | undefined;
|
@@ -1756,6 +1882,9 @@ export declare const UIProps: z.ZodObject<{
|
|
1756
1882
|
y: number;
|
1757
1883
|
};
|
1758
1884
|
rotate?: number | undefined;
|
1885
|
+
backgroundcolor?: string | undefined;
|
1886
|
+
barcolor?: string | undefined;
|
1887
|
+
textcolor?: string | undefined;
|
1759
1888
|
}>[];
|
1760
1889
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1761
1890
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1771,6 +1900,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1771
1900
|
};
|
1772
1901
|
rotate?: number | undefined;
|
1773
1902
|
alignment?: "center" | "left" | "right" | undefined;
|
1903
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1774
1904
|
fontSize?: number | undefined;
|
1775
1905
|
fontName?: string | undefined;
|
1776
1906
|
fontColor?: string | undefined;
|
@@ -1800,6 +1930,9 @@ export declare const UIProps: z.ZodObject<{
|
|
1800
1930
|
y: number;
|
1801
1931
|
};
|
1802
1932
|
rotate?: number | undefined;
|
1933
|
+
backgroundcolor?: string | undefined;
|
1934
|
+
barcolor?: string | undefined;
|
1935
|
+
textcolor?: string | undefined;
|
1803
1936
|
}>[];
|
1804
1937
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1805
1938
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1820,21 +1953,21 @@ export declare const UIProps: z.ZodObject<{
|
|
1820
1953
|
fallback?: boolean | undefined;
|
1821
1954
|
subset?: boolean | undefined;
|
1822
1955
|
}>>>;
|
1823
|
-
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
|
1956
|
+
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
|
1824
1957
|
}, "strip", z.ZodTypeAny, {
|
1825
1958
|
font?: Record<string, {
|
1826
1959
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1827
1960
|
fallback?: boolean | undefined;
|
1828
1961
|
subset?: boolean | undefined;
|
1829
1962
|
}> | undefined;
|
1830
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
1963
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
1831
1964
|
}, {
|
1832
1965
|
font?: Record<string, {
|
1833
1966
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1834
1967
|
fallback?: boolean | undefined;
|
1835
1968
|
subset?: boolean | undefined;
|
1836
1969
|
}> | undefined;
|
1837
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
1970
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
1838
1971
|
}>>;
|
1839
1972
|
}, "strip", z.ZodTypeAny, {
|
1840
1973
|
template: {
|
@@ -1848,6 +1981,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1848
1981
|
};
|
1849
1982
|
rotate?: number | undefined;
|
1850
1983
|
alignment?: "center" | "left" | "right" | undefined;
|
1984
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1851
1985
|
fontSize?: number | undefined;
|
1852
1986
|
fontName?: string | undefined;
|
1853
1987
|
fontColor?: string | undefined;
|
@@ -1877,6 +2011,9 @@ export declare const UIProps: z.ZodObject<{
|
|
1877
2011
|
y: number;
|
1878
2012
|
};
|
1879
2013
|
rotate?: number | undefined;
|
2014
|
+
backgroundcolor?: string | undefined;
|
2015
|
+
barcolor?: string | undefined;
|
2016
|
+
textcolor?: string | undefined;
|
1880
2017
|
}>[];
|
1881
2018
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1882
2019
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1889,7 +2026,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1889
2026
|
fallback?: boolean | undefined;
|
1890
2027
|
subset?: boolean | undefined;
|
1891
2028
|
}> | undefined;
|
1892
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
2029
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
1893
2030
|
} | undefined;
|
1894
2031
|
}, {
|
1895
2032
|
template: {
|
@@ -1903,6 +2040,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1903
2040
|
};
|
1904
2041
|
rotate?: number | undefined;
|
1905
2042
|
alignment?: "center" | "left" | "right" | undefined;
|
2043
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1906
2044
|
fontSize?: number | undefined;
|
1907
2045
|
fontName?: string | undefined;
|
1908
2046
|
fontColor?: string | undefined;
|
@@ -1932,6 +2070,9 @@ export declare const UIProps: z.ZodObject<{
|
|
1932
2070
|
y: number;
|
1933
2071
|
};
|
1934
2072
|
rotate?: number | undefined;
|
2073
|
+
backgroundcolor?: string | undefined;
|
2074
|
+
barcolor?: string | undefined;
|
2075
|
+
textcolor?: string | undefined;
|
1935
2076
|
}>[];
|
1936
2077
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
1937
2078
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -1944,7 +2085,7 @@ export declare const UIProps: z.ZodObject<{
|
|
1944
2085
|
fallback?: boolean | undefined;
|
1945
2086
|
subset?: boolean | undefined;
|
1946
2087
|
}> | undefined;
|
1947
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
2088
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
1948
2089
|
} | undefined;
|
1949
2090
|
}>;
|
1950
2091
|
export declare const PreviewProps: z.ZodObject<{
|
@@ -1965,6 +2106,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1965
2106
|
rotate: z.ZodOptional<z.ZodNumber>;
|
1966
2107
|
type: z.ZodLiteral<"text">;
|
1967
2108
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
2109
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
1968
2110
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
1969
2111
|
fontName: z.ZodOptional<z.ZodString>;
|
1970
2112
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -1994,6 +2136,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
1994
2136
|
};
|
1995
2137
|
rotate?: number | undefined;
|
1996
2138
|
alignment?: "center" | "left" | "right" | undefined;
|
2139
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
1997
2140
|
fontSize?: number | undefined;
|
1998
2141
|
fontName?: string | undefined;
|
1999
2142
|
fontColor?: string | undefined;
|
@@ -2015,6 +2158,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2015
2158
|
};
|
2016
2159
|
rotate?: number | undefined;
|
2017
2160
|
alignment?: "center" | "left" | "right" | undefined;
|
2161
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2018
2162
|
fontSize?: number | undefined;
|
2019
2163
|
fontName?: string | undefined;
|
2020
2164
|
fontColor?: string | undefined;
|
@@ -2074,6 +2218,9 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2074
2218
|
}>;
|
2075
2219
|
rotate: z.ZodOptional<z.ZodNumber>;
|
2076
2220
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
2221
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
2222
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
2223
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
2077
2224
|
}, "strip", z.ZodTypeAny, {
|
2078
2225
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
2079
2226
|
height: number;
|
@@ -2083,6 +2230,9 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2083
2230
|
y: number;
|
2084
2231
|
};
|
2085
2232
|
rotate?: number | undefined;
|
2233
|
+
backgroundcolor?: string | undefined;
|
2234
|
+
barcolor?: string | undefined;
|
2235
|
+
textcolor?: string | undefined;
|
2086
2236
|
}, {
|
2087
2237
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
2088
2238
|
height: number;
|
@@ -2092,6 +2242,9 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2092
2242
|
y: number;
|
2093
2243
|
};
|
2094
2244
|
rotate?: number | undefined;
|
2245
|
+
backgroundcolor?: string | undefined;
|
2246
|
+
barcolor?: string | undefined;
|
2247
|
+
textcolor?: string | undefined;
|
2095
2248
|
}>]>>, "many">;
|
2096
2249
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
2097
2250
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -2107,6 +2260,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2107
2260
|
};
|
2108
2261
|
rotate?: number | undefined;
|
2109
2262
|
alignment?: "center" | "left" | "right" | undefined;
|
2263
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2110
2264
|
fontSize?: number | undefined;
|
2111
2265
|
fontName?: string | undefined;
|
2112
2266
|
fontColor?: string | undefined;
|
@@ -2136,6 +2290,9 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2136
2290
|
y: number;
|
2137
2291
|
};
|
2138
2292
|
rotate?: number | undefined;
|
2293
|
+
backgroundcolor?: string | undefined;
|
2294
|
+
barcolor?: string | undefined;
|
2295
|
+
textcolor?: string | undefined;
|
2139
2296
|
}>[];
|
2140
2297
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2141
2298
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -2151,6 +2308,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2151
2308
|
};
|
2152
2309
|
rotate?: number | undefined;
|
2153
2310
|
alignment?: "center" | "left" | "right" | undefined;
|
2311
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2154
2312
|
fontSize?: number | undefined;
|
2155
2313
|
fontName?: string | undefined;
|
2156
2314
|
fontColor?: string | undefined;
|
@@ -2180,6 +2338,9 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2180
2338
|
y: number;
|
2181
2339
|
};
|
2182
2340
|
rotate?: number | undefined;
|
2341
|
+
backgroundcolor?: string | undefined;
|
2342
|
+
barcolor?: string | undefined;
|
2343
|
+
textcolor?: string | undefined;
|
2183
2344
|
}>[];
|
2184
2345
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2185
2346
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -2199,21 +2360,21 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2199
2360
|
fallback?: boolean | undefined;
|
2200
2361
|
subset?: boolean | undefined;
|
2201
2362
|
}>>>;
|
2202
|
-
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
|
2363
|
+
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
|
2203
2364
|
}, "strip", z.ZodTypeAny, {
|
2204
2365
|
font?: Record<string, {
|
2205
2366
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2206
2367
|
fallback?: boolean | undefined;
|
2207
2368
|
subset?: boolean | undefined;
|
2208
2369
|
}> | undefined;
|
2209
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
2370
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
2210
2371
|
}, {
|
2211
2372
|
font?: Record<string, {
|
2212
2373
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2213
2374
|
fallback?: boolean | undefined;
|
2214
2375
|
subset?: boolean | undefined;
|
2215
2376
|
}> | undefined;
|
2216
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
2377
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
2217
2378
|
}>>;
|
2218
2379
|
domContainer: z.ZodType<HTMLElement, z.ZodTypeDef, HTMLElement>;
|
2219
2380
|
inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">;
|
@@ -2229,6 +2390,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2229
2390
|
};
|
2230
2391
|
rotate?: number | undefined;
|
2231
2392
|
alignment?: "center" | "left" | "right" | undefined;
|
2393
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2232
2394
|
fontSize?: number | undefined;
|
2233
2395
|
fontName?: string | undefined;
|
2234
2396
|
fontColor?: string | undefined;
|
@@ -2258,6 +2420,9 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2258
2420
|
y: number;
|
2259
2421
|
};
|
2260
2422
|
rotate?: number | undefined;
|
2423
|
+
backgroundcolor?: string | undefined;
|
2424
|
+
barcolor?: string | undefined;
|
2425
|
+
textcolor?: string | undefined;
|
2261
2426
|
}>[];
|
2262
2427
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2263
2428
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -2271,7 +2436,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2271
2436
|
fallback?: boolean | undefined;
|
2272
2437
|
subset?: boolean | undefined;
|
2273
2438
|
}> | undefined;
|
2274
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
2439
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
2275
2440
|
} | undefined;
|
2276
2441
|
}, {
|
2277
2442
|
template: {
|
@@ -2285,6 +2450,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2285
2450
|
};
|
2286
2451
|
rotate?: number | undefined;
|
2287
2452
|
alignment?: "center" | "left" | "right" | undefined;
|
2453
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2288
2454
|
fontSize?: number | undefined;
|
2289
2455
|
fontName?: string | undefined;
|
2290
2456
|
fontColor?: string | undefined;
|
@@ -2314,6 +2480,9 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2314
2480
|
y: number;
|
2315
2481
|
};
|
2316
2482
|
rotate?: number | undefined;
|
2483
|
+
backgroundcolor?: string | undefined;
|
2484
|
+
barcolor?: string | undefined;
|
2485
|
+
textcolor?: string | undefined;
|
2317
2486
|
}>[];
|
2318
2487
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2319
2488
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -2327,7 +2496,7 @@ export declare const PreviewProps: z.ZodObject<{
|
|
2327
2496
|
fallback?: boolean | undefined;
|
2328
2497
|
subset?: boolean | undefined;
|
2329
2498
|
}> | undefined;
|
2330
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
2499
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
2331
2500
|
} | undefined;
|
2332
2501
|
}>;
|
2333
2502
|
export declare const PreviewReactProps: z.ZodObject<{
|
@@ -2348,6 +2517,7 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2348
2517
|
rotate: z.ZodOptional<z.ZodNumber>;
|
2349
2518
|
type: z.ZodLiteral<"text">;
|
2350
2519
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
2520
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
2351
2521
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
2352
2522
|
fontName: z.ZodOptional<z.ZodString>;
|
2353
2523
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -2377,6 +2547,7 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2377
2547
|
};
|
2378
2548
|
rotate?: number | undefined;
|
2379
2549
|
alignment?: "center" | "left" | "right" | undefined;
|
2550
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2380
2551
|
fontSize?: number | undefined;
|
2381
2552
|
fontName?: string | undefined;
|
2382
2553
|
fontColor?: string | undefined;
|
@@ -2398,6 +2569,7 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2398
2569
|
};
|
2399
2570
|
rotate?: number | undefined;
|
2400
2571
|
alignment?: "center" | "left" | "right" | undefined;
|
2572
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2401
2573
|
fontSize?: number | undefined;
|
2402
2574
|
fontName?: string | undefined;
|
2403
2575
|
fontColor?: string | undefined;
|
@@ -2457,6 +2629,9 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2457
2629
|
}>;
|
2458
2630
|
rotate: z.ZodOptional<z.ZodNumber>;
|
2459
2631
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
2632
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
2633
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
2634
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
2460
2635
|
}, "strip", z.ZodTypeAny, {
|
2461
2636
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
2462
2637
|
height: number;
|
@@ -2466,6 +2641,9 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2466
2641
|
y: number;
|
2467
2642
|
};
|
2468
2643
|
rotate?: number | undefined;
|
2644
|
+
backgroundcolor?: string | undefined;
|
2645
|
+
barcolor?: string | undefined;
|
2646
|
+
textcolor?: string | undefined;
|
2469
2647
|
}, {
|
2470
2648
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
2471
2649
|
height: number;
|
@@ -2475,6 +2653,9 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2475
2653
|
y: number;
|
2476
2654
|
};
|
2477
2655
|
rotate?: number | undefined;
|
2656
|
+
backgroundcolor?: string | undefined;
|
2657
|
+
barcolor?: string | undefined;
|
2658
|
+
textcolor?: string | undefined;
|
2478
2659
|
}>]>>, "many">;
|
2479
2660
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
2480
2661
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -2490,6 +2671,7 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2490
2671
|
};
|
2491
2672
|
rotate?: number | undefined;
|
2492
2673
|
alignment?: "center" | "left" | "right" | undefined;
|
2674
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2493
2675
|
fontSize?: number | undefined;
|
2494
2676
|
fontName?: string | undefined;
|
2495
2677
|
fontColor?: string | undefined;
|
@@ -2519,6 +2701,9 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2519
2701
|
y: number;
|
2520
2702
|
};
|
2521
2703
|
rotate?: number | undefined;
|
2704
|
+
backgroundcolor?: string | undefined;
|
2705
|
+
barcolor?: string | undefined;
|
2706
|
+
textcolor?: string | undefined;
|
2522
2707
|
}>[];
|
2523
2708
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2524
2709
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -2534,6 +2719,7 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2534
2719
|
};
|
2535
2720
|
rotate?: number | undefined;
|
2536
2721
|
alignment?: "center" | "left" | "right" | undefined;
|
2722
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2537
2723
|
fontSize?: number | undefined;
|
2538
2724
|
fontName?: string | undefined;
|
2539
2725
|
fontColor?: string | undefined;
|
@@ -2563,6 +2749,9 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2563
2749
|
y: number;
|
2564
2750
|
};
|
2565
2751
|
rotate?: number | undefined;
|
2752
|
+
backgroundcolor?: string | undefined;
|
2753
|
+
barcolor?: string | undefined;
|
2754
|
+
textcolor?: string | undefined;
|
2566
2755
|
}>[];
|
2567
2756
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2568
2757
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -2582,21 +2771,21 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2582
2771
|
fallback?: boolean | undefined;
|
2583
2772
|
subset?: boolean | undefined;
|
2584
2773
|
}>>>;
|
2585
|
-
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
|
2774
|
+
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
|
2586
2775
|
}, "strip", z.ZodTypeAny, {
|
2587
2776
|
font?: Record<string, {
|
2588
2777
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2589
2778
|
fallback?: boolean | undefined;
|
2590
2779
|
subset?: boolean | undefined;
|
2591
2780
|
}> | undefined;
|
2592
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
2781
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
2593
2782
|
}, {
|
2594
2783
|
font?: Record<string, {
|
2595
2784
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2596
2785
|
fallback?: boolean | undefined;
|
2597
2786
|
subset?: boolean | undefined;
|
2598
2787
|
}> | undefined;
|
2599
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
2788
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
2600
2789
|
}>>;
|
2601
2790
|
inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">;
|
2602
2791
|
onChangeInput: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
@@ -2634,6 +2823,7 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2634
2823
|
};
|
2635
2824
|
rotate?: number | undefined;
|
2636
2825
|
alignment?: "center" | "left" | "right" | undefined;
|
2826
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2637
2827
|
fontSize?: number | undefined;
|
2638
2828
|
fontName?: string | undefined;
|
2639
2829
|
fontColor?: string | undefined;
|
@@ -2663,6 +2853,9 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2663
2853
|
y: number;
|
2664
2854
|
};
|
2665
2855
|
rotate?: number | undefined;
|
2856
|
+
backgroundcolor?: string | undefined;
|
2857
|
+
barcolor?: string | undefined;
|
2858
|
+
textcolor?: string | undefined;
|
2666
2859
|
}>[];
|
2667
2860
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2668
2861
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -2679,7 +2872,7 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2679
2872
|
fallback?: boolean | undefined;
|
2680
2873
|
subset?: boolean | undefined;
|
2681
2874
|
}> | undefined;
|
2682
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
2875
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
2683
2876
|
} | undefined;
|
2684
2877
|
onChangeInput?: ((args_0: {
|
2685
2878
|
index: number;
|
@@ -2698,6 +2891,7 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2698
2891
|
};
|
2699
2892
|
rotate?: number | undefined;
|
2700
2893
|
alignment?: "center" | "left" | "right" | undefined;
|
2894
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2701
2895
|
fontSize?: number | undefined;
|
2702
2896
|
fontName?: string | undefined;
|
2703
2897
|
fontColor?: string | undefined;
|
@@ -2727,6 +2921,9 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2727
2921
|
y: number;
|
2728
2922
|
};
|
2729
2923
|
rotate?: number | undefined;
|
2924
|
+
backgroundcolor?: string | undefined;
|
2925
|
+
barcolor?: string | undefined;
|
2926
|
+
textcolor?: string | undefined;
|
2730
2927
|
}>[];
|
2731
2928
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2732
2929
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -2743,7 +2940,7 @@ export declare const PreviewReactProps: z.ZodObject<{
|
|
2743
2940
|
fallback?: boolean | undefined;
|
2744
2941
|
subset?: boolean | undefined;
|
2745
2942
|
}> | undefined;
|
2746
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
2943
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
2747
2944
|
} | undefined;
|
2748
2945
|
onChangeInput?: ((args_0: {
|
2749
2946
|
index: number;
|
@@ -2769,6 +2966,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2769
2966
|
rotate: z.ZodOptional<z.ZodNumber>;
|
2770
2967
|
type: z.ZodLiteral<"text">;
|
2771
2968
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
2969
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
2772
2970
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
2773
2971
|
fontName: z.ZodOptional<z.ZodString>;
|
2774
2972
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -2798,6 +2996,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2798
2996
|
};
|
2799
2997
|
rotate?: number | undefined;
|
2800
2998
|
alignment?: "center" | "left" | "right" | undefined;
|
2999
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2801
3000
|
fontSize?: number | undefined;
|
2802
3001
|
fontName?: string | undefined;
|
2803
3002
|
fontColor?: string | undefined;
|
@@ -2819,6 +3018,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2819
3018
|
};
|
2820
3019
|
rotate?: number | undefined;
|
2821
3020
|
alignment?: "center" | "left" | "right" | undefined;
|
3021
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2822
3022
|
fontSize?: number | undefined;
|
2823
3023
|
fontName?: string | undefined;
|
2824
3024
|
fontColor?: string | undefined;
|
@@ -2878,6 +3078,9 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2878
3078
|
}>;
|
2879
3079
|
rotate: z.ZodOptional<z.ZodNumber>;
|
2880
3080
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
3081
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
3082
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
3083
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
2881
3084
|
}, "strip", z.ZodTypeAny, {
|
2882
3085
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
2883
3086
|
height: number;
|
@@ -2887,6 +3090,9 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2887
3090
|
y: number;
|
2888
3091
|
};
|
2889
3092
|
rotate?: number | undefined;
|
3093
|
+
backgroundcolor?: string | undefined;
|
3094
|
+
barcolor?: string | undefined;
|
3095
|
+
textcolor?: string | undefined;
|
2890
3096
|
}, {
|
2891
3097
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
2892
3098
|
height: number;
|
@@ -2896,6 +3102,9 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2896
3102
|
y: number;
|
2897
3103
|
};
|
2898
3104
|
rotate?: number | undefined;
|
3105
|
+
backgroundcolor?: string | undefined;
|
3106
|
+
barcolor?: string | undefined;
|
3107
|
+
textcolor?: string | undefined;
|
2899
3108
|
}>]>>, "many">;
|
2900
3109
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
2901
3110
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -2911,6 +3120,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2911
3120
|
};
|
2912
3121
|
rotate?: number | undefined;
|
2913
3122
|
alignment?: "center" | "left" | "right" | undefined;
|
3123
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2914
3124
|
fontSize?: number | undefined;
|
2915
3125
|
fontName?: string | undefined;
|
2916
3126
|
fontColor?: string | undefined;
|
@@ -2940,6 +3150,9 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2940
3150
|
y: number;
|
2941
3151
|
};
|
2942
3152
|
rotate?: number | undefined;
|
3153
|
+
backgroundcolor?: string | undefined;
|
3154
|
+
barcolor?: string | undefined;
|
3155
|
+
textcolor?: string | undefined;
|
2943
3156
|
}>[];
|
2944
3157
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2945
3158
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -2955,6 +3168,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2955
3168
|
};
|
2956
3169
|
rotate?: number | undefined;
|
2957
3170
|
alignment?: "center" | "left" | "right" | undefined;
|
3171
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
2958
3172
|
fontSize?: number | undefined;
|
2959
3173
|
fontName?: string | undefined;
|
2960
3174
|
fontColor?: string | undefined;
|
@@ -2984,6 +3198,9 @@ export declare const DesignerProps: z.ZodObject<{
|
|
2984
3198
|
y: number;
|
2985
3199
|
};
|
2986
3200
|
rotate?: number | undefined;
|
3201
|
+
backgroundcolor?: string | undefined;
|
3202
|
+
barcolor?: string | undefined;
|
3203
|
+
textcolor?: string | undefined;
|
2987
3204
|
}>[];
|
2988
3205
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
2989
3206
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3003,21 +3220,21 @@ export declare const DesignerProps: z.ZodObject<{
|
|
3003
3220
|
fallback?: boolean | undefined;
|
3004
3221
|
subset?: boolean | undefined;
|
3005
3222
|
}>>>;
|
3006
|
-
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
|
3223
|
+
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
|
3007
3224
|
}, "strip", z.ZodTypeAny, {
|
3008
3225
|
font?: Record<string, {
|
3009
3226
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3010
3227
|
fallback?: boolean | undefined;
|
3011
3228
|
subset?: boolean | undefined;
|
3012
3229
|
}> | undefined;
|
3013
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
3230
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
3014
3231
|
}, {
|
3015
3232
|
font?: Record<string, {
|
3016
3233
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3017
3234
|
fallback?: boolean | undefined;
|
3018
3235
|
subset?: boolean | undefined;
|
3019
3236
|
}> | undefined;
|
3020
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
3237
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
3021
3238
|
}>>;
|
3022
3239
|
domContainer: z.ZodType<HTMLElement, z.ZodTypeDef, HTMLElement>;
|
3023
3240
|
}, "strict", z.ZodTypeAny, {
|
@@ -3032,6 +3249,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
3032
3249
|
};
|
3033
3250
|
rotate?: number | undefined;
|
3034
3251
|
alignment?: "center" | "left" | "right" | undefined;
|
3252
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3035
3253
|
fontSize?: number | undefined;
|
3036
3254
|
fontName?: string | undefined;
|
3037
3255
|
fontColor?: string | undefined;
|
@@ -3061,6 +3279,9 @@ export declare const DesignerProps: z.ZodObject<{
|
|
3061
3279
|
y: number;
|
3062
3280
|
};
|
3063
3281
|
rotate?: number | undefined;
|
3282
|
+
backgroundcolor?: string | undefined;
|
3283
|
+
barcolor?: string | undefined;
|
3284
|
+
textcolor?: string | undefined;
|
3064
3285
|
}>[];
|
3065
3286
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3066
3287
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3073,7 +3294,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
3073
3294
|
fallback?: boolean | undefined;
|
3074
3295
|
subset?: boolean | undefined;
|
3075
3296
|
}> | undefined;
|
3076
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
3297
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
3077
3298
|
} | undefined;
|
3078
3299
|
}, {
|
3079
3300
|
template: {
|
@@ -3087,6 +3308,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
3087
3308
|
};
|
3088
3309
|
rotate?: number | undefined;
|
3089
3310
|
alignment?: "center" | "left" | "right" | undefined;
|
3311
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3090
3312
|
fontSize?: number | undefined;
|
3091
3313
|
fontName?: string | undefined;
|
3092
3314
|
fontColor?: string | undefined;
|
@@ -3116,6 +3338,9 @@ export declare const DesignerProps: z.ZodObject<{
|
|
3116
3338
|
y: number;
|
3117
3339
|
};
|
3118
3340
|
rotate?: number | undefined;
|
3341
|
+
backgroundcolor?: string | undefined;
|
3342
|
+
barcolor?: string | undefined;
|
3343
|
+
textcolor?: string | undefined;
|
3119
3344
|
}>[];
|
3120
3345
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3121
3346
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3128,7 +3353,7 @@ export declare const DesignerProps: z.ZodObject<{
|
|
3128
3353
|
fallback?: boolean | undefined;
|
3129
3354
|
subset?: boolean | undefined;
|
3130
3355
|
}> | undefined;
|
3131
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
3356
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
3132
3357
|
} | undefined;
|
3133
3358
|
}>;
|
3134
3359
|
export declare const DesignerReactProps: z.ZodObject<{
|
@@ -3149,6 +3374,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3149
3374
|
rotate: z.ZodOptional<z.ZodNumber>;
|
3150
3375
|
type: z.ZodLiteral<"text">;
|
3151
3376
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
3377
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
3152
3378
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
3153
3379
|
fontName: z.ZodOptional<z.ZodString>;
|
3154
3380
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -3178,6 +3404,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3178
3404
|
};
|
3179
3405
|
rotate?: number | undefined;
|
3180
3406
|
alignment?: "center" | "left" | "right" | undefined;
|
3407
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3181
3408
|
fontSize?: number | undefined;
|
3182
3409
|
fontName?: string | undefined;
|
3183
3410
|
fontColor?: string | undefined;
|
@@ -3199,6 +3426,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3199
3426
|
};
|
3200
3427
|
rotate?: number | undefined;
|
3201
3428
|
alignment?: "center" | "left" | "right" | undefined;
|
3429
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3202
3430
|
fontSize?: number | undefined;
|
3203
3431
|
fontName?: string | undefined;
|
3204
3432
|
fontColor?: string | undefined;
|
@@ -3258,6 +3486,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3258
3486
|
}>;
|
3259
3487
|
rotate: z.ZodOptional<z.ZodNumber>;
|
3260
3488
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
3489
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
3490
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
3491
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
3261
3492
|
}, "strip", z.ZodTypeAny, {
|
3262
3493
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
3263
3494
|
height: number;
|
@@ -3267,6 +3498,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3267
3498
|
y: number;
|
3268
3499
|
};
|
3269
3500
|
rotate?: number | undefined;
|
3501
|
+
backgroundcolor?: string | undefined;
|
3502
|
+
barcolor?: string | undefined;
|
3503
|
+
textcolor?: string | undefined;
|
3270
3504
|
}, {
|
3271
3505
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
3272
3506
|
height: number;
|
@@ -3276,6 +3510,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3276
3510
|
y: number;
|
3277
3511
|
};
|
3278
3512
|
rotate?: number | undefined;
|
3513
|
+
backgroundcolor?: string | undefined;
|
3514
|
+
barcolor?: string | undefined;
|
3515
|
+
textcolor?: string | undefined;
|
3279
3516
|
}>]>>, "many">;
|
3280
3517
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
3281
3518
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -3291,6 +3528,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3291
3528
|
};
|
3292
3529
|
rotate?: number | undefined;
|
3293
3530
|
alignment?: "center" | "left" | "right" | undefined;
|
3531
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3294
3532
|
fontSize?: number | undefined;
|
3295
3533
|
fontName?: string | undefined;
|
3296
3534
|
fontColor?: string | undefined;
|
@@ -3320,6 +3558,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3320
3558
|
y: number;
|
3321
3559
|
};
|
3322
3560
|
rotate?: number | undefined;
|
3561
|
+
backgroundcolor?: string | undefined;
|
3562
|
+
barcolor?: string | undefined;
|
3563
|
+
textcolor?: string | undefined;
|
3323
3564
|
}>[];
|
3324
3565
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3325
3566
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3335,6 +3576,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3335
3576
|
};
|
3336
3577
|
rotate?: number | undefined;
|
3337
3578
|
alignment?: "center" | "left" | "right" | undefined;
|
3579
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3338
3580
|
fontSize?: number | undefined;
|
3339
3581
|
fontName?: string | undefined;
|
3340
3582
|
fontColor?: string | undefined;
|
@@ -3364,6 +3606,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3364
3606
|
y: number;
|
3365
3607
|
};
|
3366
3608
|
rotate?: number | undefined;
|
3609
|
+
backgroundcolor?: string | undefined;
|
3610
|
+
barcolor?: string | undefined;
|
3611
|
+
textcolor?: string | undefined;
|
3367
3612
|
}>[];
|
3368
3613
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3369
3614
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3383,21 +3628,21 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3383
3628
|
fallback?: boolean | undefined;
|
3384
3629
|
subset?: boolean | undefined;
|
3385
3630
|
}>>>;
|
3386
|
-
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
|
3631
|
+
lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
|
3387
3632
|
}, "strip", z.ZodTypeAny, {
|
3388
3633
|
font?: Record<string, {
|
3389
3634
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3390
3635
|
fallback?: boolean | undefined;
|
3391
3636
|
subset?: boolean | undefined;
|
3392
3637
|
}> | undefined;
|
3393
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
3638
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
3394
3639
|
}, {
|
3395
3640
|
font?: Record<string, {
|
3396
3641
|
data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3397
3642
|
fallback?: boolean | undefined;
|
3398
3643
|
subset?: boolean | undefined;
|
3399
3644
|
}> | undefined;
|
3400
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
3645
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
3401
3646
|
}>>;
|
3402
3647
|
onSaveTemplate: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
3403
3648
|
schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
@@ -3416,6 +3661,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3416
3661
|
rotate: z.ZodOptional<z.ZodNumber>;
|
3417
3662
|
type: z.ZodLiteral<"text">;
|
3418
3663
|
alignment: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
|
3664
|
+
verticalAlignment: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
|
3419
3665
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
3420
3666
|
fontName: z.ZodOptional<z.ZodString>;
|
3421
3667
|
fontColor: z.ZodOptional<z.ZodString>;
|
@@ -3445,6 +3691,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3445
3691
|
};
|
3446
3692
|
rotate?: number | undefined;
|
3447
3693
|
alignment?: "center" | "left" | "right" | undefined;
|
3694
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3448
3695
|
fontSize?: number | undefined;
|
3449
3696
|
fontName?: string | undefined;
|
3450
3697
|
fontColor?: string | undefined;
|
@@ -3466,6 +3713,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3466
3713
|
};
|
3467
3714
|
rotate?: number | undefined;
|
3468
3715
|
alignment?: "center" | "left" | "right" | undefined;
|
3716
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3469
3717
|
fontSize?: number | undefined;
|
3470
3718
|
fontName?: string | undefined;
|
3471
3719
|
fontColor?: string | undefined;
|
@@ -3525,6 +3773,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3525
3773
|
}>;
|
3526
3774
|
rotate: z.ZodOptional<z.ZodNumber>;
|
3527
3775
|
type: z.ZodEnum<["qrcode", "japanpost", "ean13", "ean8", "code39", "code128", "nw7", "itf14", "upca", "upce", "gs1datamatrix"]>;
|
3776
|
+
backgroundcolor: z.ZodOptional<z.ZodString>;
|
3777
|
+
barcolor: z.ZodOptional<z.ZodString>;
|
3778
|
+
textcolor: z.ZodOptional<z.ZodString>;
|
3528
3779
|
}, "strip", z.ZodTypeAny, {
|
3529
3780
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
3530
3781
|
height: number;
|
@@ -3534,6 +3785,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3534
3785
|
y: number;
|
3535
3786
|
};
|
3536
3787
|
rotate?: number | undefined;
|
3788
|
+
backgroundcolor?: string | undefined;
|
3789
|
+
barcolor?: string | undefined;
|
3790
|
+
textcolor?: string | undefined;
|
3537
3791
|
}, {
|
3538
3792
|
type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
|
3539
3793
|
height: number;
|
@@ -3543,6 +3797,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3543
3797
|
y: number;
|
3544
3798
|
};
|
3545
3799
|
rotate?: number | undefined;
|
3800
|
+
backgroundcolor?: string | undefined;
|
3801
|
+
barcolor?: string | undefined;
|
3802
|
+
textcolor?: string | undefined;
|
3546
3803
|
}>]>>, "many">;
|
3547
3804
|
basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
|
3548
3805
|
sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
@@ -3558,6 +3815,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3558
3815
|
};
|
3559
3816
|
rotate?: number | undefined;
|
3560
3817
|
alignment?: "center" | "left" | "right" | undefined;
|
3818
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3561
3819
|
fontSize?: number | undefined;
|
3562
3820
|
fontName?: string | undefined;
|
3563
3821
|
fontColor?: string | undefined;
|
@@ -3587,6 +3845,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3587
3845
|
y: number;
|
3588
3846
|
};
|
3589
3847
|
rotate?: number | undefined;
|
3848
|
+
backgroundcolor?: string | undefined;
|
3849
|
+
barcolor?: string | undefined;
|
3850
|
+
textcolor?: string | undefined;
|
3590
3851
|
}>[];
|
3591
3852
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3592
3853
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3602,6 +3863,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3602
3863
|
};
|
3603
3864
|
rotate?: number | undefined;
|
3604
3865
|
alignment?: "center" | "left" | "right" | undefined;
|
3866
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3605
3867
|
fontSize?: number | undefined;
|
3606
3868
|
fontName?: string | undefined;
|
3607
3869
|
fontColor?: string | undefined;
|
@@ -3631,6 +3893,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3631
3893
|
y: number;
|
3632
3894
|
};
|
3633
3895
|
rotate?: number | undefined;
|
3896
|
+
backgroundcolor?: string | undefined;
|
3897
|
+
barcolor?: string | undefined;
|
3898
|
+
textcolor?: string | undefined;
|
3634
3899
|
}>[];
|
3635
3900
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3636
3901
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3658,6 +3923,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3658
3923
|
};
|
3659
3924
|
rotate?: number | undefined;
|
3660
3925
|
alignment?: "center" | "left" | "right" | undefined;
|
3926
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3661
3927
|
fontSize?: number | undefined;
|
3662
3928
|
fontName?: string | undefined;
|
3663
3929
|
fontColor?: string | undefined;
|
@@ -3687,6 +3953,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3687
3953
|
y: number;
|
3688
3954
|
};
|
3689
3955
|
rotate?: number | undefined;
|
3956
|
+
backgroundcolor?: string | undefined;
|
3957
|
+
barcolor?: string | undefined;
|
3958
|
+
textcolor?: string | undefined;
|
3690
3959
|
}>[];
|
3691
3960
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3692
3961
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3707,6 +3976,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3707
3976
|
};
|
3708
3977
|
rotate?: number | undefined;
|
3709
3978
|
alignment?: "center" | "left" | "right" | undefined;
|
3979
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3710
3980
|
fontSize?: number | undefined;
|
3711
3981
|
fontName?: string | undefined;
|
3712
3982
|
fontColor?: string | undefined;
|
@@ -3736,6 +4006,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3736
4006
|
y: number;
|
3737
4007
|
};
|
3738
4008
|
rotate?: number | undefined;
|
4009
|
+
backgroundcolor?: string | undefined;
|
4010
|
+
barcolor?: string | undefined;
|
4011
|
+
textcolor?: string | undefined;
|
3739
4012
|
}>[];
|
3740
4013
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3741
4014
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3747,7 +4020,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3747
4020
|
fallback?: boolean | undefined;
|
3748
4021
|
subset?: boolean | undefined;
|
3749
4022
|
}> | undefined;
|
3750
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
4023
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
3751
4024
|
} | undefined;
|
3752
4025
|
}, {
|
3753
4026
|
template: {
|
@@ -3761,6 +4034,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3761
4034
|
};
|
3762
4035
|
rotate?: number | undefined;
|
3763
4036
|
alignment?: "center" | "left" | "right" | undefined;
|
4037
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3764
4038
|
fontSize?: number | undefined;
|
3765
4039
|
fontName?: string | undefined;
|
3766
4040
|
fontColor?: string | undefined;
|
@@ -3790,6 +4064,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3790
4064
|
y: number;
|
3791
4065
|
};
|
3792
4066
|
rotate?: number | undefined;
|
4067
|
+
backgroundcolor?: string | undefined;
|
4068
|
+
barcolor?: string | undefined;
|
4069
|
+
textcolor?: string | undefined;
|
3793
4070
|
}>[];
|
3794
4071
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3795
4072
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3810,6 +4087,7 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3810
4087
|
};
|
3811
4088
|
rotate?: number | undefined;
|
3812
4089
|
alignment?: "center" | "left" | "right" | undefined;
|
4090
|
+
verticalAlignment?: "top" | "bottom" | "middle" | undefined;
|
3813
4091
|
fontSize?: number | undefined;
|
3814
4092
|
fontName?: string | undefined;
|
3815
4093
|
fontColor?: string | undefined;
|
@@ -3839,6 +4117,9 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3839
4117
|
y: number;
|
3840
4118
|
};
|
3841
4119
|
rotate?: number | undefined;
|
4120
|
+
backgroundcolor?: string | undefined;
|
4121
|
+
barcolor?: string | undefined;
|
4122
|
+
textcolor?: string | undefined;
|
3842
4123
|
}>[];
|
3843
4124
|
basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
|
3844
4125
|
sampledata?: Record<string, string>[] | undefined;
|
@@ -3850,6 +4131,6 @@ export declare const DesignerReactProps: z.ZodObject<{
|
|
3850
4131
|
fallback?: boolean | undefined;
|
3851
4132
|
subset?: boolean | undefined;
|
3852
4133
|
}> | undefined;
|
3853
|
-
lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
|
4134
|
+
lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
|
3854
4135
|
} | undefined;
|
3855
4136
|
}>;
|