@pdfme/common 2.2.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.
Files changed (50) hide show
  1. package/dist/cjs/__tests__/barcode.test.js +107 -0
  2. package/dist/cjs/__tests__/barcode.test.js.map +1 -0
  3. package/dist/cjs/__tests__/font.test.js +33 -32
  4. package/dist/cjs/__tests__/font.test.js.map +1 -1
  5. package/dist/cjs/__tests__/helper.test.js +2 -0
  6. package/dist/cjs/__tests__/helper.test.js.map +1 -1
  7. package/dist/cjs/src/barcode.js +53 -0
  8. package/dist/cjs/src/barcode.js.map +1 -0
  9. package/dist/cjs/src/constants.js +4 -2
  10. package/dist/cjs/src/constants.js.map +1 -1
  11. package/dist/cjs/src/font.js +14 -8
  12. package/dist/cjs/src/font.js.map +1 -1
  13. package/dist/cjs/src/helper.js +1 -0
  14. package/dist/cjs/src/helper.js.map +1 -1
  15. package/dist/cjs/src/index.js +5 -1
  16. package/dist/cjs/src/index.js.map +1 -1
  17. package/dist/cjs/src/schema.js +7 -2
  18. package/dist/cjs/src/schema.js.map +1 -1
  19. package/dist/esm/__tests__/barcode.test.js +102 -0
  20. package/dist/esm/__tests__/barcode.test.js.map +1 -0
  21. package/dist/esm/__tests__/font.test.js +33 -32
  22. package/dist/esm/__tests__/font.test.js.map +1 -1
  23. package/dist/esm/__tests__/helper.test.js +2 -0
  24. package/dist/esm/__tests__/helper.test.js.map +1 -1
  25. package/dist/esm/src/barcode.js +44 -0
  26. package/dist/esm/src/barcode.js.map +1 -0
  27. package/dist/esm/src/constants.js +3 -1
  28. package/dist/esm/src/constants.js.map +1 -1
  29. package/dist/esm/src/font.js +14 -8
  30. package/dist/esm/src/font.js.map +1 -1
  31. package/dist/esm/src/helper.js +1 -0
  32. package/dist/esm/src/helper.js.map +1 -1
  33. package/dist/esm/src/index.js +3 -2
  34. package/dist/esm/src/index.js.map +1 -1
  35. package/dist/esm/src/schema.js +7 -2
  36. package/dist/esm/src/schema.js.map +1 -1
  37. package/dist/types/__tests__/barcode.test.d.ts +1 -0
  38. package/dist/types/src/barcode.d.ts +19 -0
  39. package/dist/types/src/constants.d.ts +3 -1
  40. package/dist/types/src/font.d.ts +2 -2
  41. package/dist/types/src/index.d.ts +3 -2
  42. package/dist/types/src/schema.d.ts +239 -29
  43. package/dist/types/src/type.d.ts +28 -25
  44. package/package.json +9 -4
  45. package/src/barcode.ts +51 -0
  46. package/src/constants.ts +3 -1
  47. package/src/font.ts +14 -12
  48. package/src/helper.ts +1 -0
  49. package/src/index.ts +6 -0
  50. package/src/schema.ts +8 -2
@@ -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;
@@ -180,6 +180,9 @@ export declare const BarcodeSchema: z.ZodObject<{
180
180
  }>;
181
181
  rotate: z.ZodOptional<z.ZodNumber>;
182
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>;
183
186
  }, "strip", z.ZodTypeAny, {
184
187
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
185
188
  height: number;
@@ -189,6 +192,9 @@ export declare const BarcodeSchema: z.ZodObject<{
189
192
  y: number;
190
193
  };
191
194
  rotate?: number | undefined;
195
+ backgroundcolor?: string | undefined;
196
+ barcolor?: string | undefined;
197
+ textcolor?: string | undefined;
192
198
  }, {
193
199
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
194
200
  height: number;
@@ -198,6 +204,9 @@ export declare const BarcodeSchema: z.ZodObject<{
198
204
  y: number;
199
205
  };
200
206
  rotate?: number | undefined;
207
+ backgroundcolor?: string | undefined;
208
+ barcolor?: string | undefined;
209
+ textcolor?: string | undefined;
201
210
  }>;
202
211
  export declare const Schema: z.ZodUnion<[z.ZodObject<{
203
212
  height: z.ZodNumber;
@@ -327,6 +336,9 @@ export declare const Schema: z.ZodUnion<[z.ZodObject<{
327
336
  }>;
328
337
  rotate: z.ZodOptional<z.ZodNumber>;
329
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>;
330
342
  }, "strip", z.ZodTypeAny, {
331
343
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
332
344
  height: number;
@@ -336,6 +348,9 @@ export declare const Schema: z.ZodUnion<[z.ZodObject<{
336
348
  y: number;
337
349
  };
338
350
  rotate?: number | undefined;
351
+ backgroundcolor?: string | undefined;
352
+ barcolor?: string | undefined;
353
+ textcolor?: string | undefined;
339
354
  }, {
340
355
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
341
356
  height: number;
@@ -345,6 +360,9 @@ export declare const Schema: z.ZodUnion<[z.ZodObject<{
345
360
  y: number;
346
361
  };
347
362
  rotate?: number | undefined;
363
+ backgroundcolor?: string | undefined;
364
+ barcolor?: string | undefined;
365
+ textcolor?: string | undefined;
348
366
  }>]>;
349
367
  export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
350
368
  type: z.ZodLiteral<"text">;
@@ -492,6 +510,9 @@ export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
492
510
  y: number;
493
511
  }>;
494
512
  rotate: z.ZodOptional<z.ZodNumber>;
513
+ backgroundcolor: z.ZodOptional<z.ZodString>;
514
+ barcolor: z.ZodOptional<z.ZodString>;
515
+ textcolor: z.ZodOptional<z.ZodString>;
495
516
  id: z.ZodString;
496
517
  key: z.ZodString;
497
518
  data: z.ZodString;
@@ -507,6 +528,9 @@ export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
507
528
  y: number;
508
529
  };
509
530
  rotate?: number | undefined;
531
+ backgroundcolor?: string | undefined;
532
+ barcolor?: string | undefined;
533
+ textcolor?: string | undefined;
510
534
  }, {
511
535
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
512
536
  data: string;
@@ -519,6 +543,9 @@ export declare const SchemaForUI: z.ZodUnion<[z.ZodObject<{
519
543
  y: number;
520
544
  };
521
545
  rotate?: number | undefined;
546
+ backgroundcolor?: string | undefined;
547
+ barcolor?: string | undefined;
548
+ textcolor?: string | undefined;
522
549
  }>]>;
523
550
  export declare const Font: z.ZodRecord<z.ZodString, z.ZodObject<{
524
551
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -663,6 +690,9 @@ export declare const Template: z.ZodObject<{
663
690
  }>;
664
691
  rotate: z.ZodOptional<z.ZodNumber>;
665
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>;
666
696
  }, "strip", z.ZodTypeAny, {
667
697
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
668
698
  height: number;
@@ -672,6 +702,9 @@ export declare const Template: z.ZodObject<{
672
702
  y: number;
673
703
  };
674
704
  rotate?: number | undefined;
705
+ backgroundcolor?: string | undefined;
706
+ barcolor?: string | undefined;
707
+ textcolor?: string | undefined;
675
708
  }, {
676
709
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
677
710
  height: number;
@@ -681,6 +714,9 @@ export declare const Template: z.ZodObject<{
681
714
  y: number;
682
715
  };
683
716
  rotate?: number | undefined;
717
+ backgroundcolor?: string | undefined;
718
+ barcolor?: string | undefined;
719
+ textcolor?: string | undefined;
684
720
  }>]>>, "many">;
685
721
  basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
686
722
  sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
@@ -726,6 +762,9 @@ export declare const Template: z.ZodObject<{
726
762
  y: number;
727
763
  };
728
764
  rotate?: number | undefined;
765
+ backgroundcolor?: string | undefined;
766
+ barcolor?: string | undefined;
767
+ textcolor?: string | undefined;
729
768
  }>[];
730
769
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
731
770
  sampledata?: Record<string, string>[] | undefined;
@@ -771,6 +810,9 @@ export declare const Template: z.ZodObject<{
771
810
  y: number;
772
811
  };
773
812
  rotate?: number | undefined;
813
+ backgroundcolor?: string | undefined;
814
+ barcolor?: string | undefined;
815
+ textcolor?: string | undefined;
774
816
  }>[];
775
817
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
776
818
  sampledata?: Record<string, string>[] | undefined;
@@ -907,6 +949,9 @@ export declare const CommonProps: z.ZodObject<{
907
949
  }>;
908
950
  rotate: z.ZodOptional<z.ZodNumber>;
909
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>;
910
955
  }, "strip", z.ZodTypeAny, {
911
956
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
912
957
  height: number;
@@ -916,6 +961,9 @@ export declare const CommonProps: z.ZodObject<{
916
961
  y: number;
917
962
  };
918
963
  rotate?: number | undefined;
964
+ backgroundcolor?: string | undefined;
965
+ barcolor?: string | undefined;
966
+ textcolor?: string | undefined;
919
967
  }, {
920
968
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
921
969
  height: number;
@@ -925,6 +973,9 @@ export declare const CommonProps: z.ZodObject<{
925
973
  y: number;
926
974
  };
927
975
  rotate?: number | undefined;
976
+ backgroundcolor?: string | undefined;
977
+ barcolor?: string | undefined;
978
+ textcolor?: string | undefined;
928
979
  }>]>>, "many">;
929
980
  basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
930
981
  sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
@@ -970,6 +1021,9 @@ export declare const CommonProps: z.ZodObject<{
970
1021
  y: number;
971
1022
  };
972
1023
  rotate?: number | undefined;
1024
+ backgroundcolor?: string | undefined;
1025
+ barcolor?: string | undefined;
1026
+ textcolor?: string | undefined;
973
1027
  }>[];
974
1028
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
975
1029
  sampledata?: Record<string, string>[] | undefined;
@@ -1015,6 +1069,9 @@ export declare const CommonProps: z.ZodObject<{
1015
1069
  y: number;
1016
1070
  };
1017
1071
  rotate?: number | undefined;
1072
+ backgroundcolor?: string | undefined;
1073
+ barcolor?: string | undefined;
1074
+ textcolor?: string | undefined;
1018
1075
  }>[];
1019
1076
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1020
1077
  sampledata?: Record<string, string>[] | undefined;
@@ -1089,6 +1146,9 @@ export declare const CommonProps: z.ZodObject<{
1089
1146
  y: number;
1090
1147
  };
1091
1148
  rotate?: number | undefined;
1149
+ backgroundcolor?: string | undefined;
1150
+ barcolor?: string | undefined;
1151
+ textcolor?: string | undefined;
1092
1152
  }>[];
1093
1153
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1094
1154
  sampledata?: Record<string, string>[] | undefined;
@@ -1143,6 +1203,9 @@ export declare const CommonProps: z.ZodObject<{
1143
1203
  y: number;
1144
1204
  };
1145
1205
  rotate?: number | undefined;
1206
+ backgroundcolor?: string | undefined;
1207
+ barcolor?: string | undefined;
1208
+ textcolor?: string | undefined;
1146
1209
  }>[];
1147
1210
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1148
1211
  sampledata?: Record<string, string>[] | undefined;
@@ -1313,6 +1376,9 @@ export declare const GenerateProps: z.ZodObject<{
1313
1376
  }>;
1314
1377
  rotate: z.ZodOptional<z.ZodNumber>;
1315
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>;
1316
1382
  }, "strip", z.ZodTypeAny, {
1317
1383
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
1318
1384
  height: number;
@@ -1322,6 +1388,9 @@ export declare const GenerateProps: z.ZodObject<{
1322
1388
  y: number;
1323
1389
  };
1324
1390
  rotate?: number | undefined;
1391
+ backgroundcolor?: string | undefined;
1392
+ barcolor?: string | undefined;
1393
+ textcolor?: string | undefined;
1325
1394
  }, {
1326
1395
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
1327
1396
  height: number;
@@ -1331,6 +1400,9 @@ export declare const GenerateProps: z.ZodObject<{
1331
1400
  y: number;
1332
1401
  };
1333
1402
  rotate?: number | undefined;
1403
+ backgroundcolor?: string | undefined;
1404
+ barcolor?: string | undefined;
1405
+ textcolor?: string | undefined;
1334
1406
  }>]>>, "many">;
1335
1407
  basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
1336
1408
  sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
@@ -1376,6 +1448,9 @@ export declare const GenerateProps: z.ZodObject<{
1376
1448
  y: number;
1377
1449
  };
1378
1450
  rotate?: number | undefined;
1451
+ backgroundcolor?: string | undefined;
1452
+ barcolor?: string | undefined;
1453
+ textcolor?: string | undefined;
1379
1454
  }>[];
1380
1455
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1381
1456
  sampledata?: Record<string, string>[] | undefined;
@@ -1421,6 +1496,9 @@ export declare const GenerateProps: z.ZodObject<{
1421
1496
  y: number;
1422
1497
  };
1423
1498
  rotate?: number | undefined;
1499
+ backgroundcolor?: string | undefined;
1500
+ barcolor?: string | undefined;
1501
+ textcolor?: string | undefined;
1424
1502
  }>[];
1425
1503
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1426
1504
  sampledata?: Record<string, string>[] | undefined;
@@ -1496,6 +1574,9 @@ export declare const GenerateProps: z.ZodObject<{
1496
1574
  y: number;
1497
1575
  };
1498
1576
  rotate?: number | undefined;
1577
+ backgroundcolor?: string | undefined;
1578
+ barcolor?: string | undefined;
1579
+ textcolor?: string | undefined;
1499
1580
  }>[];
1500
1581
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1501
1582
  sampledata?: Record<string, string>[] | undefined;
@@ -1551,6 +1632,9 @@ export declare const GenerateProps: z.ZodObject<{
1551
1632
  y: number;
1552
1633
  };
1553
1634
  rotate?: number | undefined;
1635
+ backgroundcolor?: string | undefined;
1636
+ barcolor?: string | undefined;
1637
+ textcolor?: string | undefined;
1554
1638
  }>[];
1555
1639
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1556
1640
  sampledata?: Record<string, string>[] | undefined;
@@ -1580,21 +1664,21 @@ export declare const UIOptions: z.ZodObject<{
1580
1664
  fallback?: boolean | undefined;
1581
1665
  subset?: boolean | undefined;
1582
1666
  }>>>;
1583
- lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
1667
+ lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
1584
1668
  }, "strip", z.ZodTypeAny, {
1585
1669
  font?: Record<string, {
1586
1670
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1587
1671
  fallback?: boolean | undefined;
1588
1672
  subset?: boolean | undefined;
1589
1673
  }> | undefined;
1590
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
1674
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
1591
1675
  }, {
1592
1676
  font?: Record<string, {
1593
1677
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1594
1678
  fallback?: boolean | undefined;
1595
1679
  subset?: boolean | undefined;
1596
1680
  }> | undefined;
1597
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
1681
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
1598
1682
  }>;
1599
1683
  export declare const UIProps: z.ZodObject<{
1600
1684
  template: z.ZodObject<{
@@ -1726,6 +1810,9 @@ export declare const UIProps: z.ZodObject<{
1726
1810
  }>;
1727
1811
  rotate: z.ZodOptional<z.ZodNumber>;
1728
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>;
1729
1816
  }, "strip", z.ZodTypeAny, {
1730
1817
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
1731
1818
  height: number;
@@ -1735,6 +1822,9 @@ export declare const UIProps: z.ZodObject<{
1735
1822
  y: number;
1736
1823
  };
1737
1824
  rotate?: number | undefined;
1825
+ backgroundcolor?: string | undefined;
1826
+ barcolor?: string | undefined;
1827
+ textcolor?: string | undefined;
1738
1828
  }, {
1739
1829
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
1740
1830
  height: number;
@@ -1744,6 +1834,9 @@ export declare const UIProps: z.ZodObject<{
1744
1834
  y: number;
1745
1835
  };
1746
1836
  rotate?: number | undefined;
1837
+ backgroundcolor?: string | undefined;
1838
+ barcolor?: string | undefined;
1839
+ textcolor?: string | undefined;
1747
1840
  }>]>>, "many">;
1748
1841
  basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
1749
1842
  sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
@@ -1789,6 +1882,9 @@ export declare const UIProps: z.ZodObject<{
1789
1882
  y: number;
1790
1883
  };
1791
1884
  rotate?: number | undefined;
1885
+ backgroundcolor?: string | undefined;
1886
+ barcolor?: string | undefined;
1887
+ textcolor?: string | undefined;
1792
1888
  }>[];
1793
1889
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1794
1890
  sampledata?: Record<string, string>[] | undefined;
@@ -1834,6 +1930,9 @@ export declare const UIProps: z.ZodObject<{
1834
1930
  y: number;
1835
1931
  };
1836
1932
  rotate?: number | undefined;
1933
+ backgroundcolor?: string | undefined;
1934
+ barcolor?: string | undefined;
1935
+ textcolor?: string | undefined;
1837
1936
  }>[];
1838
1937
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1839
1938
  sampledata?: Record<string, string>[] | undefined;
@@ -1854,21 +1953,21 @@ export declare const UIProps: z.ZodObject<{
1854
1953
  fallback?: boolean | undefined;
1855
1954
  subset?: boolean | undefined;
1856
1955
  }>>>;
1857
- lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
1956
+ lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
1858
1957
  }, "strip", z.ZodTypeAny, {
1859
1958
  font?: Record<string, {
1860
1959
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1861
1960
  fallback?: boolean | undefined;
1862
1961
  subset?: boolean | undefined;
1863
1962
  }> | undefined;
1864
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
1963
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
1865
1964
  }, {
1866
1965
  font?: Record<string, {
1867
1966
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1868
1967
  fallback?: boolean | undefined;
1869
1968
  subset?: boolean | undefined;
1870
1969
  }> | undefined;
1871
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
1970
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
1872
1971
  }>>;
1873
1972
  }, "strip", z.ZodTypeAny, {
1874
1973
  template: {
@@ -1912,6 +2011,9 @@ export declare const UIProps: z.ZodObject<{
1912
2011
  y: number;
1913
2012
  };
1914
2013
  rotate?: number | undefined;
2014
+ backgroundcolor?: string | undefined;
2015
+ barcolor?: string | undefined;
2016
+ textcolor?: string | undefined;
1915
2017
  }>[];
1916
2018
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1917
2019
  sampledata?: Record<string, string>[] | undefined;
@@ -1924,7 +2026,7 @@ export declare const UIProps: z.ZodObject<{
1924
2026
  fallback?: boolean | undefined;
1925
2027
  subset?: boolean | undefined;
1926
2028
  }> | undefined;
1927
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
2029
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
1928
2030
  } | undefined;
1929
2031
  }, {
1930
2032
  template: {
@@ -1968,6 +2070,9 @@ export declare const UIProps: z.ZodObject<{
1968
2070
  y: number;
1969
2071
  };
1970
2072
  rotate?: number | undefined;
2073
+ backgroundcolor?: string | undefined;
2074
+ barcolor?: string | undefined;
2075
+ textcolor?: string | undefined;
1971
2076
  }>[];
1972
2077
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
1973
2078
  sampledata?: Record<string, string>[] | undefined;
@@ -1980,7 +2085,7 @@ export declare const UIProps: z.ZodObject<{
1980
2085
  fallback?: boolean | undefined;
1981
2086
  subset?: boolean | undefined;
1982
2087
  }> | undefined;
1983
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
2088
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
1984
2089
  } | undefined;
1985
2090
  }>;
1986
2091
  export declare const PreviewProps: z.ZodObject<{
@@ -2113,6 +2218,9 @@ export declare const PreviewProps: z.ZodObject<{
2113
2218
  }>;
2114
2219
  rotate: z.ZodOptional<z.ZodNumber>;
2115
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>;
2116
2224
  }, "strip", z.ZodTypeAny, {
2117
2225
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
2118
2226
  height: number;
@@ -2122,6 +2230,9 @@ export declare const PreviewProps: z.ZodObject<{
2122
2230
  y: number;
2123
2231
  };
2124
2232
  rotate?: number | undefined;
2233
+ backgroundcolor?: string | undefined;
2234
+ barcolor?: string | undefined;
2235
+ textcolor?: string | undefined;
2125
2236
  }, {
2126
2237
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
2127
2238
  height: number;
@@ -2131,6 +2242,9 @@ export declare const PreviewProps: z.ZodObject<{
2131
2242
  y: number;
2132
2243
  };
2133
2244
  rotate?: number | undefined;
2245
+ backgroundcolor?: string | undefined;
2246
+ barcolor?: string | undefined;
2247
+ textcolor?: string | undefined;
2134
2248
  }>]>>, "many">;
2135
2249
  basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
2136
2250
  sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
@@ -2176,6 +2290,9 @@ export declare const PreviewProps: z.ZodObject<{
2176
2290
  y: number;
2177
2291
  };
2178
2292
  rotate?: number | undefined;
2293
+ backgroundcolor?: string | undefined;
2294
+ barcolor?: string | undefined;
2295
+ textcolor?: string | undefined;
2179
2296
  }>[];
2180
2297
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2181
2298
  sampledata?: Record<string, string>[] | undefined;
@@ -2221,6 +2338,9 @@ export declare const PreviewProps: z.ZodObject<{
2221
2338
  y: number;
2222
2339
  };
2223
2340
  rotate?: number | undefined;
2341
+ backgroundcolor?: string | undefined;
2342
+ barcolor?: string | undefined;
2343
+ textcolor?: string | undefined;
2224
2344
  }>[];
2225
2345
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2226
2346
  sampledata?: Record<string, string>[] | undefined;
@@ -2240,21 +2360,21 @@ export declare const PreviewProps: z.ZodObject<{
2240
2360
  fallback?: boolean | undefined;
2241
2361
  subset?: boolean | undefined;
2242
2362
  }>>>;
2243
- lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
2363
+ lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
2244
2364
  }, "strip", z.ZodTypeAny, {
2245
2365
  font?: Record<string, {
2246
2366
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2247
2367
  fallback?: boolean | undefined;
2248
2368
  subset?: boolean | undefined;
2249
2369
  }> | undefined;
2250
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
2370
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
2251
2371
  }, {
2252
2372
  font?: Record<string, {
2253
2373
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2254
2374
  fallback?: boolean | undefined;
2255
2375
  subset?: boolean | undefined;
2256
2376
  }> | undefined;
2257
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
2377
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
2258
2378
  }>>;
2259
2379
  domContainer: z.ZodType<HTMLElement, z.ZodTypeDef, HTMLElement>;
2260
2380
  inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">;
@@ -2300,6 +2420,9 @@ export declare const PreviewProps: z.ZodObject<{
2300
2420
  y: number;
2301
2421
  };
2302
2422
  rotate?: number | undefined;
2423
+ backgroundcolor?: string | undefined;
2424
+ barcolor?: string | undefined;
2425
+ textcolor?: string | undefined;
2303
2426
  }>[];
2304
2427
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2305
2428
  sampledata?: Record<string, string>[] | undefined;
@@ -2313,7 +2436,7 @@ export declare const PreviewProps: z.ZodObject<{
2313
2436
  fallback?: boolean | undefined;
2314
2437
  subset?: boolean | undefined;
2315
2438
  }> | undefined;
2316
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
2439
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
2317
2440
  } | undefined;
2318
2441
  }, {
2319
2442
  template: {
@@ -2357,6 +2480,9 @@ export declare const PreviewProps: z.ZodObject<{
2357
2480
  y: number;
2358
2481
  };
2359
2482
  rotate?: number | undefined;
2483
+ backgroundcolor?: string | undefined;
2484
+ barcolor?: string | undefined;
2485
+ textcolor?: string | undefined;
2360
2486
  }>[];
2361
2487
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2362
2488
  sampledata?: Record<string, string>[] | undefined;
@@ -2370,7 +2496,7 @@ export declare const PreviewProps: z.ZodObject<{
2370
2496
  fallback?: boolean | undefined;
2371
2497
  subset?: boolean | undefined;
2372
2498
  }> | undefined;
2373
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
2499
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
2374
2500
  } | undefined;
2375
2501
  }>;
2376
2502
  export declare const PreviewReactProps: z.ZodObject<{
@@ -2503,6 +2629,9 @@ export declare const PreviewReactProps: z.ZodObject<{
2503
2629
  }>;
2504
2630
  rotate: z.ZodOptional<z.ZodNumber>;
2505
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>;
2506
2635
  }, "strip", z.ZodTypeAny, {
2507
2636
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
2508
2637
  height: number;
@@ -2512,6 +2641,9 @@ export declare const PreviewReactProps: z.ZodObject<{
2512
2641
  y: number;
2513
2642
  };
2514
2643
  rotate?: number | undefined;
2644
+ backgroundcolor?: string | undefined;
2645
+ barcolor?: string | undefined;
2646
+ textcolor?: string | undefined;
2515
2647
  }, {
2516
2648
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
2517
2649
  height: number;
@@ -2521,6 +2653,9 @@ export declare const PreviewReactProps: z.ZodObject<{
2521
2653
  y: number;
2522
2654
  };
2523
2655
  rotate?: number | undefined;
2656
+ backgroundcolor?: string | undefined;
2657
+ barcolor?: string | undefined;
2658
+ textcolor?: string | undefined;
2524
2659
  }>]>>, "many">;
2525
2660
  basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
2526
2661
  sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
@@ -2566,6 +2701,9 @@ export declare const PreviewReactProps: z.ZodObject<{
2566
2701
  y: number;
2567
2702
  };
2568
2703
  rotate?: number | undefined;
2704
+ backgroundcolor?: string | undefined;
2705
+ barcolor?: string | undefined;
2706
+ textcolor?: string | undefined;
2569
2707
  }>[];
2570
2708
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2571
2709
  sampledata?: Record<string, string>[] | undefined;
@@ -2611,6 +2749,9 @@ export declare const PreviewReactProps: z.ZodObject<{
2611
2749
  y: number;
2612
2750
  };
2613
2751
  rotate?: number | undefined;
2752
+ backgroundcolor?: string | undefined;
2753
+ barcolor?: string | undefined;
2754
+ textcolor?: string | undefined;
2614
2755
  }>[];
2615
2756
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2616
2757
  sampledata?: Record<string, string>[] | undefined;
@@ -2630,21 +2771,21 @@ export declare const PreviewReactProps: z.ZodObject<{
2630
2771
  fallback?: boolean | undefined;
2631
2772
  subset?: boolean | undefined;
2632
2773
  }>>>;
2633
- lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
2774
+ lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
2634
2775
  }, "strip", z.ZodTypeAny, {
2635
2776
  font?: Record<string, {
2636
2777
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2637
2778
  fallback?: boolean | undefined;
2638
2779
  subset?: boolean | undefined;
2639
2780
  }> | undefined;
2640
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
2781
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
2641
2782
  }, {
2642
2783
  font?: Record<string, {
2643
2784
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2644
2785
  fallback?: boolean | undefined;
2645
2786
  subset?: boolean | undefined;
2646
2787
  }> | undefined;
2647
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
2788
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
2648
2789
  }>>;
2649
2790
  inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">;
2650
2791
  onChangeInput: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
@@ -2712,6 +2853,9 @@ export declare const PreviewReactProps: z.ZodObject<{
2712
2853
  y: number;
2713
2854
  };
2714
2855
  rotate?: number | undefined;
2856
+ backgroundcolor?: string | undefined;
2857
+ barcolor?: string | undefined;
2858
+ textcolor?: string | undefined;
2715
2859
  }>[];
2716
2860
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2717
2861
  sampledata?: Record<string, string>[] | undefined;
@@ -2728,7 +2872,7 @@ export declare const PreviewReactProps: z.ZodObject<{
2728
2872
  fallback?: boolean | undefined;
2729
2873
  subset?: boolean | undefined;
2730
2874
  }> | undefined;
2731
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
2875
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
2732
2876
  } | undefined;
2733
2877
  onChangeInput?: ((args_0: {
2734
2878
  index: number;
@@ -2777,6 +2921,9 @@ export declare const PreviewReactProps: z.ZodObject<{
2777
2921
  y: number;
2778
2922
  };
2779
2923
  rotate?: number | undefined;
2924
+ backgroundcolor?: string | undefined;
2925
+ barcolor?: string | undefined;
2926
+ textcolor?: string | undefined;
2780
2927
  }>[];
2781
2928
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2782
2929
  sampledata?: Record<string, string>[] | undefined;
@@ -2793,7 +2940,7 @@ export declare const PreviewReactProps: z.ZodObject<{
2793
2940
  fallback?: boolean | undefined;
2794
2941
  subset?: boolean | undefined;
2795
2942
  }> | undefined;
2796
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
2943
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
2797
2944
  } | undefined;
2798
2945
  onChangeInput?: ((args_0: {
2799
2946
  index: number;
@@ -2931,6 +3078,9 @@ export declare const DesignerProps: z.ZodObject<{
2931
3078
  }>;
2932
3079
  rotate: z.ZodOptional<z.ZodNumber>;
2933
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>;
2934
3084
  }, "strip", z.ZodTypeAny, {
2935
3085
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
2936
3086
  height: number;
@@ -2940,6 +3090,9 @@ export declare const DesignerProps: z.ZodObject<{
2940
3090
  y: number;
2941
3091
  };
2942
3092
  rotate?: number | undefined;
3093
+ backgroundcolor?: string | undefined;
3094
+ barcolor?: string | undefined;
3095
+ textcolor?: string | undefined;
2943
3096
  }, {
2944
3097
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
2945
3098
  height: number;
@@ -2949,6 +3102,9 @@ export declare const DesignerProps: z.ZodObject<{
2949
3102
  y: number;
2950
3103
  };
2951
3104
  rotate?: number | undefined;
3105
+ backgroundcolor?: string | undefined;
3106
+ barcolor?: string | undefined;
3107
+ textcolor?: string | undefined;
2952
3108
  }>]>>, "many">;
2953
3109
  basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
2954
3110
  sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
@@ -2994,6 +3150,9 @@ export declare const DesignerProps: z.ZodObject<{
2994
3150
  y: number;
2995
3151
  };
2996
3152
  rotate?: number | undefined;
3153
+ backgroundcolor?: string | undefined;
3154
+ barcolor?: string | undefined;
3155
+ textcolor?: string | undefined;
2997
3156
  }>[];
2998
3157
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
2999
3158
  sampledata?: Record<string, string>[] | undefined;
@@ -3039,6 +3198,9 @@ export declare const DesignerProps: z.ZodObject<{
3039
3198
  y: number;
3040
3199
  };
3041
3200
  rotate?: number | undefined;
3201
+ backgroundcolor?: string | undefined;
3202
+ barcolor?: string | undefined;
3203
+ textcolor?: string | undefined;
3042
3204
  }>[];
3043
3205
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3044
3206
  sampledata?: Record<string, string>[] | undefined;
@@ -3058,21 +3220,21 @@ export declare const DesignerProps: z.ZodObject<{
3058
3220
  fallback?: boolean | undefined;
3059
3221
  subset?: boolean | undefined;
3060
3222
  }>>>;
3061
- lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
3223
+ lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
3062
3224
  }, "strip", z.ZodTypeAny, {
3063
3225
  font?: Record<string, {
3064
3226
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3065
3227
  fallback?: boolean | undefined;
3066
3228
  subset?: boolean | undefined;
3067
3229
  }> | undefined;
3068
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
3230
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
3069
3231
  }, {
3070
3232
  font?: Record<string, {
3071
3233
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3072
3234
  fallback?: boolean | undefined;
3073
3235
  subset?: boolean | undefined;
3074
3236
  }> | undefined;
3075
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
3237
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
3076
3238
  }>>;
3077
3239
  domContainer: z.ZodType<HTMLElement, z.ZodTypeDef, HTMLElement>;
3078
3240
  }, "strict", z.ZodTypeAny, {
@@ -3117,6 +3279,9 @@ export declare const DesignerProps: z.ZodObject<{
3117
3279
  y: number;
3118
3280
  };
3119
3281
  rotate?: number | undefined;
3282
+ backgroundcolor?: string | undefined;
3283
+ barcolor?: string | undefined;
3284
+ textcolor?: string | undefined;
3120
3285
  }>[];
3121
3286
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3122
3287
  sampledata?: Record<string, string>[] | undefined;
@@ -3129,7 +3294,7 @@ export declare const DesignerProps: z.ZodObject<{
3129
3294
  fallback?: boolean | undefined;
3130
3295
  subset?: boolean | undefined;
3131
3296
  }> | undefined;
3132
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
3297
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
3133
3298
  } | undefined;
3134
3299
  }, {
3135
3300
  template: {
@@ -3173,6 +3338,9 @@ export declare const DesignerProps: z.ZodObject<{
3173
3338
  y: number;
3174
3339
  };
3175
3340
  rotate?: number | undefined;
3341
+ backgroundcolor?: string | undefined;
3342
+ barcolor?: string | undefined;
3343
+ textcolor?: string | undefined;
3176
3344
  }>[];
3177
3345
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3178
3346
  sampledata?: Record<string, string>[] | undefined;
@@ -3185,7 +3353,7 @@ export declare const DesignerProps: z.ZodObject<{
3185
3353
  fallback?: boolean | undefined;
3186
3354
  subset?: boolean | undefined;
3187
3355
  }> | undefined;
3188
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
3356
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
3189
3357
  } | undefined;
3190
3358
  }>;
3191
3359
  export declare const DesignerReactProps: z.ZodObject<{
@@ -3318,6 +3486,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3318
3486
  }>;
3319
3487
  rotate: z.ZodOptional<z.ZodNumber>;
3320
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>;
3321
3492
  }, "strip", z.ZodTypeAny, {
3322
3493
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
3323
3494
  height: number;
@@ -3327,6 +3498,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3327
3498
  y: number;
3328
3499
  };
3329
3500
  rotate?: number | undefined;
3501
+ backgroundcolor?: string | undefined;
3502
+ barcolor?: string | undefined;
3503
+ textcolor?: string | undefined;
3330
3504
  }, {
3331
3505
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
3332
3506
  height: number;
@@ -3336,6 +3510,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3336
3510
  y: number;
3337
3511
  };
3338
3512
  rotate?: number | undefined;
3513
+ backgroundcolor?: string | undefined;
3514
+ barcolor?: string | undefined;
3515
+ textcolor?: string | undefined;
3339
3516
  }>]>>, "many">;
3340
3517
  basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
3341
3518
  sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
@@ -3381,6 +3558,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3381
3558
  y: number;
3382
3559
  };
3383
3560
  rotate?: number | undefined;
3561
+ backgroundcolor?: string | undefined;
3562
+ barcolor?: string | undefined;
3563
+ textcolor?: string | undefined;
3384
3564
  }>[];
3385
3565
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3386
3566
  sampledata?: Record<string, string>[] | undefined;
@@ -3426,6 +3606,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3426
3606
  y: number;
3427
3607
  };
3428
3608
  rotate?: number | undefined;
3609
+ backgroundcolor?: string | undefined;
3610
+ barcolor?: string | undefined;
3611
+ textcolor?: string | undefined;
3429
3612
  }>[];
3430
3613
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3431
3614
  sampledata?: Record<string, string>[] | undefined;
@@ -3445,21 +3628,21 @@ export declare const DesignerReactProps: z.ZodObject<{
3445
3628
  fallback?: boolean | undefined;
3446
3629
  subset?: boolean | undefined;
3447
3630
  }>>>;
3448
- lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl"]>>;
3631
+ lang: z.ZodOptional<z.ZodEnum<["en", "ja", "ar", "th", "pl", "it"]>>;
3449
3632
  }, "strip", z.ZodTypeAny, {
3450
3633
  font?: Record<string, {
3451
3634
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3452
3635
  fallback?: boolean | undefined;
3453
3636
  subset?: boolean | undefined;
3454
3637
  }> | undefined;
3455
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
3638
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
3456
3639
  }, {
3457
3640
  font?: Record<string, {
3458
3641
  data: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3459
3642
  fallback?: boolean | undefined;
3460
3643
  subset?: boolean | undefined;
3461
3644
  }> | undefined;
3462
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
3645
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
3463
3646
  }>>;
3464
3647
  onSaveTemplate: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
3465
3648
  schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -3590,6 +3773,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3590
3773
  }>;
3591
3774
  rotate: z.ZodOptional<z.ZodNumber>;
3592
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>;
3593
3779
  }, "strip", z.ZodTypeAny, {
3594
3780
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
3595
3781
  height: number;
@@ -3599,6 +3785,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3599
3785
  y: number;
3600
3786
  };
3601
3787
  rotate?: number | undefined;
3788
+ backgroundcolor?: string | undefined;
3789
+ barcolor?: string | undefined;
3790
+ textcolor?: string | undefined;
3602
3791
  }, {
3603
3792
  type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce" | "gs1datamatrix";
3604
3793
  height: number;
@@ -3608,6 +3797,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3608
3797
  y: number;
3609
3798
  };
3610
3799
  rotate?: number | undefined;
3800
+ backgroundcolor?: string | undefined;
3801
+ barcolor?: string | undefined;
3802
+ textcolor?: string | undefined;
3611
3803
  }>]>>, "many">;
3612
3804
  basePdf: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
3613
3805
  sampledata: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
@@ -3653,6 +3845,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3653
3845
  y: number;
3654
3846
  };
3655
3847
  rotate?: number | undefined;
3848
+ backgroundcolor?: string | undefined;
3849
+ barcolor?: string | undefined;
3850
+ textcolor?: string | undefined;
3656
3851
  }>[];
3657
3852
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3658
3853
  sampledata?: Record<string, string>[] | undefined;
@@ -3698,6 +3893,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3698
3893
  y: number;
3699
3894
  };
3700
3895
  rotate?: number | undefined;
3896
+ backgroundcolor?: string | undefined;
3897
+ barcolor?: string | undefined;
3898
+ textcolor?: string | undefined;
3701
3899
  }>[];
3702
3900
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3703
3901
  sampledata?: Record<string, string>[] | undefined;
@@ -3755,6 +3953,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3755
3953
  y: number;
3756
3954
  };
3757
3955
  rotate?: number | undefined;
3956
+ backgroundcolor?: string | undefined;
3957
+ barcolor?: string | undefined;
3958
+ textcolor?: string | undefined;
3758
3959
  }>[];
3759
3960
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3760
3961
  sampledata?: Record<string, string>[] | undefined;
@@ -3805,6 +4006,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3805
4006
  y: number;
3806
4007
  };
3807
4008
  rotate?: number | undefined;
4009
+ backgroundcolor?: string | undefined;
4010
+ barcolor?: string | undefined;
4011
+ textcolor?: string | undefined;
3808
4012
  }>[];
3809
4013
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3810
4014
  sampledata?: Record<string, string>[] | undefined;
@@ -3816,7 +4020,7 @@ export declare const DesignerReactProps: z.ZodObject<{
3816
4020
  fallback?: boolean | undefined;
3817
4021
  subset?: boolean | undefined;
3818
4022
  }> | undefined;
3819
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
4023
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
3820
4024
  } | undefined;
3821
4025
  }, {
3822
4026
  template: {
@@ -3860,6 +4064,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3860
4064
  y: number;
3861
4065
  };
3862
4066
  rotate?: number | undefined;
4067
+ backgroundcolor?: string | undefined;
4068
+ barcolor?: string | undefined;
4069
+ textcolor?: string | undefined;
3863
4070
  }>[];
3864
4071
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3865
4072
  sampledata?: Record<string, string>[] | undefined;
@@ -3910,6 +4117,9 @@ export declare const DesignerReactProps: z.ZodObject<{
3910
4117
  y: number;
3911
4118
  };
3912
4119
  rotate?: number | undefined;
4120
+ backgroundcolor?: string | undefined;
4121
+ barcolor?: string | undefined;
4122
+ textcolor?: string | undefined;
3913
4123
  }>[];
3914
4124
  basePdf: (string | ArrayBuffer | Uint8Array) & (string | ArrayBuffer | Uint8Array | undefined);
3915
4125
  sampledata?: Record<string, string>[] | undefined;
@@ -3921,6 +4131,6 @@ export declare const DesignerReactProps: z.ZodObject<{
3921
4131
  fallback?: boolean | undefined;
3922
4132
  subset?: boolean | undefined;
3923
4133
  }> | undefined;
3924
- lang?: "th" | "en" | "ja" | "ar" | "pl" | undefined;
4134
+ lang?: "th" | "en" | "ja" | "ar" | "pl" | "it" | undefined;
3925
4135
  } | undefined;
3926
4136
  }>;