@pdfme/common 4.2.4 → 4.2.5-dev.3

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.
@@ -15,6 +15,7 @@ exports.Dict = zod_1.z.object({
15
15
  height: zod_1.z.string(),
16
16
  rotate: zod_1.z.string(),
17
17
  edit: zod_1.z.string(),
18
+ required: zod_1.z.string(),
18
19
  plsInputName: zod_1.z.string(),
19
20
  fieldMustUniq: zod_1.z.string(),
20
21
  notUniq: zod_1.z.string(),
@@ -29,7 +30,9 @@ exports.Dict = zod_1.z.object({
29
30
  addPageAfter: zod_1.z.string(),
30
31
  removePage: zod_1.z.string(),
31
32
  removePageConfirm: zod_1.z.string(),
32
- hexColorPrompt: zod_1.z.string(),
33
+ // --------------------validation-------------------
34
+ 'validation.uniqueName': zod_1.z.string(),
35
+ 'validation.hexColor': zod_1.z.string(),
33
36
  // -----------------used in schemas-----------------
34
37
  'schemas.color': zod_1.z.string(),
35
38
  'schemas.borderWidth': zod_1.z.string(),
@@ -81,6 +84,7 @@ exports.Schema = zod_1.z
81
84
  rotate: zod_1.z.number().optional(),
82
85
  opacity: zod_1.z.number().optional(),
83
86
  readOnly: zod_1.z.boolean().optional(),
87
+ required: zod_1.z.boolean().optional(),
84
88
  })
85
89
  .passthrough();
86
90
  const SchemaForUIAdditionalInfo = zod_1.z.object({
@@ -139,6 +143,7 @@ exports.UIOptions = exports.CommonOptions.extend({
139
143
  labels: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
140
144
  theme: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
141
145
  icons: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
146
+ requiredByDefault: zod_1.z.boolean().optional(),
142
147
  });
143
148
  const HTMLElementSchema = zod_1.z.any().refine((v) => v instanceof HTMLElement);
144
149
  exports.UIProps = CommonProps.extend({
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/sch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AAC,CAAC,YAAY,WAAW,CAAC,CAAC;AAEvF,QAAA,OAAO,GAAG,WAAW,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,iBAAiB;IAC/B,OAAO,EAAE,iBAAS,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAEU,QAAA,YAAY,GAAG,eAAO,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,cAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;AAE3D,QAAA,aAAa,GAAG,eAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC"}
@@ -12,6 +12,7 @@ export const Dict = z.object({
12
12
  height: z.string(),
13
13
  rotate: z.string(),
14
14
  edit: z.string(),
15
+ required: z.string(),
15
16
  plsInputName: z.string(),
16
17
  fieldMustUniq: z.string(),
17
18
  notUniq: z.string(),
@@ -26,7 +27,9 @@ export const Dict = z.object({
26
27
  addPageAfter: z.string(),
27
28
  removePage: z.string(),
28
29
  removePageConfirm: z.string(),
29
- hexColorPrompt: z.string(),
30
+ // --------------------validation-------------------
31
+ 'validation.uniqueName': z.string(),
32
+ 'validation.hexColor': z.string(),
30
33
  // -----------------used in schemas-----------------
31
34
  'schemas.color': z.string(),
32
35
  'schemas.borderWidth': z.string(),
@@ -78,6 +81,7 @@ export const Schema = z
78
81
  rotate: z.number().optional(),
79
82
  opacity: z.number().optional(),
80
83
  readOnly: z.boolean().optional(),
84
+ required: z.boolean().optional(),
81
85
  })
82
86
  .passthrough();
83
87
  const SchemaForUIAdditionalInfo = z.object({
@@ -136,6 +140,7 @@ export const UIOptions = CommonOptions.extend({
136
140
  labels: z.record(z.string(), z.string()).optional(),
137
141
  theme: z.record(z.string(), z.unknown()).optional(),
138
142
  icons: z.record(z.string(), z.string()).optional(),
143
+ requiredByDefault: z.boolean().optional(),
139
144
  });
140
145
  const HTMLElementSchema = z.any().refine((v) => v instanceof HTMLElement);
141
146
  export const UIProps = CommonProps.extend({
@@ -1 +1 @@
1
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AC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACnD,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IACnD,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAA6B,CAAC,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,WAAW,CAAC,CAAC;AAEpG,MAAM,CAAC,MAAM,OAAO,GAAG,WAAW,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,iBAAiB;IAC/B,OAAO,EAAE,SAAS,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;AAExE,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC"}
@@ -10,6 +10,7 @@ export declare const Dict: z.ZodObject<{
10
10
  height: z.ZodString;
11
11
  rotate: z.ZodString;
12
12
  edit: z.ZodString;
13
+ required: z.ZodString;
13
14
  plsInputName: z.ZodString;
14
15
  fieldMustUniq: z.ZodString;
15
16
  notUniq: z.ZodString;
@@ -24,7 +25,8 @@ export declare const Dict: z.ZodObject<{
24
25
  addPageAfter: z.ZodString;
25
26
  removePage: z.ZodString;
26
27
  removePageConfirm: z.ZodString;
27
- hexColorPrompt: z.ZodString;
28
+ 'validation.uniqueName': z.ZodString;
29
+ 'validation.hexColor': z.ZodString;
28
30
  'schemas.color': z.ZodString;
29
31
  'schemas.borderWidth': z.ZodString;
30
32
  'schemas.borderColor': z.ZodString;
@@ -71,6 +73,7 @@ export declare const Dict: z.ZodObject<{
71
73
  height: string;
72
74
  rotate: string;
73
75
  edit: string;
76
+ required: string;
74
77
  plsInputName: string;
75
78
  fieldMustUniq: string;
76
79
  notUniq: string;
@@ -85,7 +88,8 @@ export declare const Dict: z.ZodObject<{
85
88
  addPageAfter: string;
86
89
  removePage: string;
87
90
  removePageConfirm: string;
88
- hexColorPrompt: string;
91
+ 'validation.uniqueName': string;
92
+ 'validation.hexColor': string;
89
93
  'schemas.color': string;
90
94
  'schemas.borderWidth': string;
91
95
  'schemas.borderColor': string;
@@ -132,6 +136,7 @@ export declare const Dict: z.ZodObject<{
132
136
  height: string;
133
137
  rotate: string;
134
138
  edit: string;
139
+ required: string;
135
140
  plsInputName: string;
136
141
  fieldMustUniq: string;
137
142
  notUniq: string;
@@ -146,7 +151,8 @@ export declare const Dict: z.ZodObject<{
146
151
  addPageAfter: string;
147
152
  removePage: string;
148
153
  removePageConfirm: string;
149
- hexColorPrompt: string;
154
+ 'validation.uniqueName': string;
155
+ 'validation.hexColor': string;
150
156
  'schemas.color': string;
151
157
  'schemas.borderWidth': string;
152
158
  'schemas.borderColor': string;
@@ -214,6 +220,7 @@ export declare const Schema: z.ZodObject<{
214
220
  rotate: z.ZodOptional<z.ZodNumber>;
215
221
  opacity: z.ZodOptional<z.ZodNumber>;
216
222
  readOnly: z.ZodOptional<z.ZodBoolean>;
223
+ required: z.ZodOptional<z.ZodBoolean>;
217
224
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
218
225
  type: z.ZodString;
219
226
  content: z.ZodOptional<z.ZodString>;
@@ -232,6 +239,7 @@ export declare const Schema: z.ZodObject<{
232
239
  rotate: z.ZodOptional<z.ZodNumber>;
233
240
  opacity: z.ZodOptional<z.ZodNumber>;
234
241
  readOnly: z.ZodOptional<z.ZodBoolean>;
242
+ required: z.ZodOptional<z.ZodBoolean>;
235
243
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
236
244
  type: z.ZodString;
237
245
  content: z.ZodOptional<z.ZodString>;
@@ -250,12 +258,14 @@ export declare const Schema: z.ZodObject<{
250
258
  rotate: z.ZodOptional<z.ZodNumber>;
251
259
  opacity: z.ZodOptional<z.ZodNumber>;
252
260
  readOnly: z.ZodOptional<z.ZodBoolean>;
261
+ required: z.ZodOptional<z.ZodBoolean>;
253
262
  }, z.ZodTypeAny, "passthrough">>;
254
263
  export declare const SchemaForUI: z.ZodObject<{
255
264
  width: z.ZodNumber;
256
265
  opacity: z.ZodOptional<z.ZodNumber>;
257
266
  height: z.ZodNumber;
258
267
  rotate: z.ZodOptional<z.ZodNumber>;
268
+ required: z.ZodOptional<z.ZodBoolean>;
259
269
  type: z.ZodString;
260
270
  content: z.ZodOptional<z.ZodString>;
261
271
  position: z.ZodObject<{
@@ -283,6 +293,7 @@ export declare const SchemaForUI: z.ZodObject<{
283
293
  key: string;
284
294
  opacity?: number | undefined;
285
295
  rotate?: number | undefined;
296
+ required?: boolean | undefined;
286
297
  content?: string | undefined;
287
298
  readOnly?: boolean | undefined;
288
299
  }, {
@@ -297,6 +308,7 @@ export declare const SchemaForUI: z.ZodObject<{
297
308
  key: string;
298
309
  opacity?: number | undefined;
299
310
  rotate?: number | undefined;
311
+ required?: boolean | undefined;
300
312
  content?: string | undefined;
301
313
  readOnly?: boolean | undefined;
302
314
  }>;
@@ -345,6 +357,7 @@ export declare const Template: z.ZodObject<{
345
357
  rotate: z.ZodOptional<z.ZodNumber>;
346
358
  opacity: z.ZodOptional<z.ZodNumber>;
347
359
  readOnly: z.ZodOptional<z.ZodBoolean>;
360
+ required: z.ZodOptional<z.ZodBoolean>;
348
361
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
349
362
  type: z.ZodString;
350
363
  content: z.ZodOptional<z.ZodString>;
@@ -363,6 +376,7 @@ export declare const Template: z.ZodObject<{
363
376
  rotate: z.ZodOptional<z.ZodNumber>;
364
377
  opacity: z.ZodOptional<z.ZodNumber>;
365
378
  readOnly: z.ZodOptional<z.ZodBoolean>;
379
+ required: z.ZodOptional<z.ZodBoolean>;
366
380
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
367
381
  type: z.ZodString;
368
382
  content: z.ZodOptional<z.ZodString>;
@@ -381,6 +395,7 @@ export declare const Template: z.ZodObject<{
381
395
  rotate: z.ZodOptional<z.ZodNumber>;
382
396
  opacity: z.ZodOptional<z.ZodNumber>;
383
397
  readOnly: z.ZodOptional<z.ZodBoolean>;
398
+ required: z.ZodOptional<z.ZodBoolean>;
384
399
  }, z.ZodTypeAny, "passthrough">>>, "many">;
385
400
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
386
401
  width: z.ZodNumber;
@@ -415,6 +430,7 @@ export declare const Template: z.ZodObject<{
415
430
  rotate: z.ZodOptional<z.ZodNumber>;
416
431
  opacity: z.ZodOptional<z.ZodNumber>;
417
432
  readOnly: z.ZodOptional<z.ZodBoolean>;
433
+ required: z.ZodOptional<z.ZodBoolean>;
418
434
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
419
435
  type: z.ZodString;
420
436
  content: z.ZodOptional<z.ZodString>;
@@ -433,6 +449,7 @@ export declare const Template: z.ZodObject<{
433
449
  rotate: z.ZodOptional<z.ZodNumber>;
434
450
  opacity: z.ZodOptional<z.ZodNumber>;
435
451
  readOnly: z.ZodOptional<z.ZodBoolean>;
452
+ required: z.ZodOptional<z.ZodBoolean>;
436
453
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
437
454
  type: z.ZodString;
438
455
  content: z.ZodOptional<z.ZodString>;
@@ -451,6 +468,7 @@ export declare const Template: z.ZodObject<{
451
468
  rotate: z.ZodOptional<z.ZodNumber>;
452
469
  opacity: z.ZodOptional<z.ZodNumber>;
453
470
  readOnly: z.ZodOptional<z.ZodBoolean>;
471
+ required: z.ZodOptional<z.ZodBoolean>;
454
472
  }, z.ZodTypeAny, "passthrough">>>, "many">;
455
473
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
456
474
  width: z.ZodNumber;
@@ -485,6 +503,7 @@ export declare const Template: z.ZodObject<{
485
503
  rotate: z.ZodOptional<z.ZodNumber>;
486
504
  opacity: z.ZodOptional<z.ZodNumber>;
487
505
  readOnly: z.ZodOptional<z.ZodBoolean>;
506
+ required: z.ZodOptional<z.ZodBoolean>;
488
507
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
489
508
  type: z.ZodString;
490
509
  content: z.ZodOptional<z.ZodString>;
@@ -503,6 +522,7 @@ export declare const Template: z.ZodObject<{
503
522
  rotate: z.ZodOptional<z.ZodNumber>;
504
523
  opacity: z.ZodOptional<z.ZodNumber>;
505
524
  readOnly: z.ZodOptional<z.ZodBoolean>;
525
+ required: z.ZodOptional<z.ZodBoolean>;
506
526
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
507
527
  type: z.ZodString;
508
528
  content: z.ZodOptional<z.ZodString>;
@@ -521,6 +541,7 @@ export declare const Template: z.ZodObject<{
521
541
  rotate: z.ZodOptional<z.ZodNumber>;
522
542
  opacity: z.ZodOptional<z.ZodNumber>;
523
543
  readOnly: z.ZodOptional<z.ZodBoolean>;
544
+ required: z.ZodOptional<z.ZodBoolean>;
524
545
  }, z.ZodTypeAny, "passthrough">>>, "many">;
525
546
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
526
547
  width: z.ZodNumber;
@@ -687,6 +708,7 @@ export declare const GenerateProps: z.ZodObject<{
687
708
  rotate: z.ZodOptional<z.ZodNumber>;
688
709
  opacity: z.ZodOptional<z.ZodNumber>;
689
710
  readOnly: z.ZodOptional<z.ZodBoolean>;
711
+ required: z.ZodOptional<z.ZodBoolean>;
690
712
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
691
713
  type: z.ZodString;
692
714
  content: z.ZodOptional<z.ZodString>;
@@ -705,6 +727,7 @@ export declare const GenerateProps: z.ZodObject<{
705
727
  rotate: z.ZodOptional<z.ZodNumber>;
706
728
  opacity: z.ZodOptional<z.ZodNumber>;
707
729
  readOnly: z.ZodOptional<z.ZodBoolean>;
730
+ required: z.ZodOptional<z.ZodBoolean>;
708
731
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
709
732
  type: z.ZodString;
710
733
  content: z.ZodOptional<z.ZodString>;
@@ -723,6 +746,7 @@ export declare const GenerateProps: z.ZodObject<{
723
746
  rotate: z.ZodOptional<z.ZodNumber>;
724
747
  opacity: z.ZodOptional<z.ZodNumber>;
725
748
  readOnly: z.ZodOptional<z.ZodBoolean>;
749
+ required: z.ZodOptional<z.ZodBoolean>;
726
750
  }, z.ZodTypeAny, "passthrough">>>, "many">;
727
751
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
728
752
  width: z.ZodNumber;
@@ -757,6 +781,7 @@ export declare const GenerateProps: z.ZodObject<{
757
781
  rotate: z.ZodOptional<z.ZodNumber>;
758
782
  opacity: z.ZodOptional<z.ZodNumber>;
759
783
  readOnly: z.ZodOptional<z.ZodBoolean>;
784
+ required: z.ZodOptional<z.ZodBoolean>;
760
785
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
761
786
  type: z.ZodString;
762
787
  content: z.ZodOptional<z.ZodString>;
@@ -775,6 +800,7 @@ export declare const GenerateProps: z.ZodObject<{
775
800
  rotate: z.ZodOptional<z.ZodNumber>;
776
801
  opacity: z.ZodOptional<z.ZodNumber>;
777
802
  readOnly: z.ZodOptional<z.ZodBoolean>;
803
+ required: z.ZodOptional<z.ZodBoolean>;
778
804
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
779
805
  type: z.ZodString;
780
806
  content: z.ZodOptional<z.ZodString>;
@@ -793,6 +819,7 @@ export declare const GenerateProps: z.ZodObject<{
793
819
  rotate: z.ZodOptional<z.ZodNumber>;
794
820
  opacity: z.ZodOptional<z.ZodNumber>;
795
821
  readOnly: z.ZodOptional<z.ZodBoolean>;
822
+ required: z.ZodOptional<z.ZodBoolean>;
796
823
  }, z.ZodTypeAny, "passthrough">>>, "many">;
797
824
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
798
825
  width: z.ZodNumber;
@@ -827,6 +854,7 @@ export declare const GenerateProps: z.ZodObject<{
827
854
  rotate: z.ZodOptional<z.ZodNumber>;
828
855
  opacity: z.ZodOptional<z.ZodNumber>;
829
856
  readOnly: z.ZodOptional<z.ZodBoolean>;
857
+ required: z.ZodOptional<z.ZodBoolean>;
830
858
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
831
859
  type: z.ZodString;
832
860
  content: z.ZodOptional<z.ZodString>;
@@ -845,6 +873,7 @@ export declare const GenerateProps: z.ZodObject<{
845
873
  rotate: z.ZodOptional<z.ZodNumber>;
846
874
  opacity: z.ZodOptional<z.ZodNumber>;
847
875
  readOnly: z.ZodOptional<z.ZodBoolean>;
876
+ required: z.ZodOptional<z.ZodBoolean>;
848
877
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
849
878
  type: z.ZodString;
850
879
  content: z.ZodOptional<z.ZodString>;
@@ -863,6 +892,7 @@ export declare const GenerateProps: z.ZodObject<{
863
892
  rotate: z.ZodOptional<z.ZodNumber>;
864
893
  opacity: z.ZodOptional<z.ZodNumber>;
865
894
  readOnly: z.ZodOptional<z.ZodBoolean>;
895
+ required: z.ZodOptional<z.ZodBoolean>;
866
896
  }, z.ZodTypeAny, "passthrough">>>, "many">;
867
897
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
868
898
  width: z.ZodNumber;
@@ -986,6 +1016,7 @@ export declare const GenerateProps: z.ZodObject<{
986
1016
  rotate: z.ZodOptional<z.ZodNumber>;
987
1017
  opacity: z.ZodOptional<z.ZodNumber>;
988
1018
  readOnly: z.ZodOptional<z.ZodBoolean>;
1019
+ required: z.ZodOptional<z.ZodBoolean>;
989
1020
  }, z.ZodTypeAny, "passthrough">>[];
990
1021
  basePdf: (string | ArrayBuffer | Uint8Array | {
991
1022
  width: number;
@@ -1051,6 +1082,7 @@ export declare const GenerateProps: z.ZodObject<{
1051
1082
  rotate: z.ZodOptional<z.ZodNumber>;
1052
1083
  opacity: z.ZodOptional<z.ZodNumber>;
1053
1084
  readOnly: z.ZodOptional<z.ZodBoolean>;
1085
+ required: z.ZodOptional<z.ZodBoolean>;
1054
1086
  }, z.ZodTypeAny, "passthrough">>[];
1055
1087
  basePdf: (string | ArrayBuffer | Uint8Array | {
1056
1088
  width: number;
@@ -1115,6 +1147,7 @@ export declare const UIOptions: z.ZodObject<{
1115
1147
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1116
1148
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1117
1149
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1150
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1118
1151
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1119
1152
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1120
1153
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1133,6 +1166,7 @@ export declare const UIOptions: z.ZodObject<{
1133
1166
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1134
1167
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1135
1168
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1169
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1136
1170
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1137
1171
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1138
1172
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1151,6 +1185,7 @@ export declare const UIOptions: z.ZodObject<{
1151
1185
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1152
1186
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1153
1187
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1188
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1154
1189
  }, z.ZodTypeAny, "passthrough">>;
1155
1190
  export declare const UIProps: z.ZodObject<{
1156
1191
  template: z.ZodObject<{
@@ -1172,6 +1207,7 @@ export declare const UIProps: z.ZodObject<{
1172
1207
  rotate: z.ZodOptional<z.ZodNumber>;
1173
1208
  opacity: z.ZodOptional<z.ZodNumber>;
1174
1209
  readOnly: z.ZodOptional<z.ZodBoolean>;
1210
+ required: z.ZodOptional<z.ZodBoolean>;
1175
1211
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1176
1212
  type: z.ZodString;
1177
1213
  content: z.ZodOptional<z.ZodString>;
@@ -1190,6 +1226,7 @@ export declare const UIProps: z.ZodObject<{
1190
1226
  rotate: z.ZodOptional<z.ZodNumber>;
1191
1227
  opacity: z.ZodOptional<z.ZodNumber>;
1192
1228
  readOnly: z.ZodOptional<z.ZodBoolean>;
1229
+ required: z.ZodOptional<z.ZodBoolean>;
1193
1230
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1194
1231
  type: z.ZodString;
1195
1232
  content: z.ZodOptional<z.ZodString>;
@@ -1208,6 +1245,7 @@ export declare const UIProps: z.ZodObject<{
1208
1245
  rotate: z.ZodOptional<z.ZodNumber>;
1209
1246
  opacity: z.ZodOptional<z.ZodNumber>;
1210
1247
  readOnly: z.ZodOptional<z.ZodBoolean>;
1248
+ required: z.ZodOptional<z.ZodBoolean>;
1211
1249
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1212
1250
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1213
1251
  width: z.ZodNumber;
@@ -1242,6 +1280,7 @@ export declare const UIProps: z.ZodObject<{
1242
1280
  rotate: z.ZodOptional<z.ZodNumber>;
1243
1281
  opacity: z.ZodOptional<z.ZodNumber>;
1244
1282
  readOnly: z.ZodOptional<z.ZodBoolean>;
1283
+ required: z.ZodOptional<z.ZodBoolean>;
1245
1284
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1246
1285
  type: z.ZodString;
1247
1286
  content: z.ZodOptional<z.ZodString>;
@@ -1260,6 +1299,7 @@ export declare const UIProps: z.ZodObject<{
1260
1299
  rotate: z.ZodOptional<z.ZodNumber>;
1261
1300
  opacity: z.ZodOptional<z.ZodNumber>;
1262
1301
  readOnly: z.ZodOptional<z.ZodBoolean>;
1302
+ required: z.ZodOptional<z.ZodBoolean>;
1263
1303
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1264
1304
  type: z.ZodString;
1265
1305
  content: z.ZodOptional<z.ZodString>;
@@ -1278,6 +1318,7 @@ export declare const UIProps: z.ZodObject<{
1278
1318
  rotate: z.ZodOptional<z.ZodNumber>;
1279
1319
  opacity: z.ZodOptional<z.ZodNumber>;
1280
1320
  readOnly: z.ZodOptional<z.ZodBoolean>;
1321
+ required: z.ZodOptional<z.ZodBoolean>;
1281
1322
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1282
1323
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1283
1324
  width: z.ZodNumber;
@@ -1312,6 +1353,7 @@ export declare const UIProps: z.ZodObject<{
1312
1353
  rotate: z.ZodOptional<z.ZodNumber>;
1313
1354
  opacity: z.ZodOptional<z.ZodNumber>;
1314
1355
  readOnly: z.ZodOptional<z.ZodBoolean>;
1356
+ required: z.ZodOptional<z.ZodBoolean>;
1315
1357
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1316
1358
  type: z.ZodString;
1317
1359
  content: z.ZodOptional<z.ZodString>;
@@ -1330,6 +1372,7 @@ export declare const UIProps: z.ZodObject<{
1330
1372
  rotate: z.ZodOptional<z.ZodNumber>;
1331
1373
  opacity: z.ZodOptional<z.ZodNumber>;
1332
1374
  readOnly: z.ZodOptional<z.ZodBoolean>;
1375
+ required: z.ZodOptional<z.ZodBoolean>;
1333
1376
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1334
1377
  type: z.ZodString;
1335
1378
  content: z.ZodOptional<z.ZodString>;
@@ -1348,6 +1391,7 @@ export declare const UIProps: z.ZodObject<{
1348
1391
  rotate: z.ZodOptional<z.ZodNumber>;
1349
1392
  opacity: z.ZodOptional<z.ZodNumber>;
1350
1393
  readOnly: z.ZodOptional<z.ZodBoolean>;
1394
+ required: z.ZodOptional<z.ZodBoolean>;
1351
1395
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1352
1396
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1353
1397
  width: z.ZodNumber;
@@ -1396,6 +1440,7 @@ export declare const UIProps: z.ZodObject<{
1396
1440
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1397
1441
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1398
1442
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1443
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1399
1444
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1400
1445
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1401
1446
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1414,6 +1459,7 @@ export declare const UIProps: z.ZodObject<{
1414
1459
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1415
1460
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1416
1461
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1462
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1417
1463
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1418
1464
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1419
1465
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1432,6 +1478,7 @@ export declare const UIProps: z.ZodObject<{
1432
1478
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1433
1479
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1434
1480
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1481
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1435
1482
  }, z.ZodTypeAny, "passthrough">>>;
1436
1483
  }, "strip", z.ZodTypeAny, {
1437
1484
  template: {
@@ -1453,6 +1500,7 @@ export declare const UIProps: z.ZodObject<{
1453
1500
  rotate: z.ZodOptional<z.ZodNumber>;
1454
1501
  opacity: z.ZodOptional<z.ZodNumber>;
1455
1502
  readOnly: z.ZodOptional<z.ZodBoolean>;
1503
+ required: z.ZodOptional<z.ZodBoolean>;
1456
1504
  }, z.ZodTypeAny, "passthrough">>[];
1457
1505
  basePdf: (string | ArrayBuffer | Uint8Array | {
1458
1506
  width: number;
@@ -1491,6 +1539,7 @@ export declare const UIProps: z.ZodObject<{
1491
1539
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1492
1540
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1493
1541
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1542
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1494
1543
  }, z.ZodTypeAny, "passthrough"> | undefined;
1495
1544
  }, {
1496
1545
  template: {
@@ -1512,6 +1561,7 @@ export declare const UIProps: z.ZodObject<{
1512
1561
  rotate: z.ZodOptional<z.ZodNumber>;
1513
1562
  opacity: z.ZodOptional<z.ZodNumber>;
1514
1563
  readOnly: z.ZodOptional<z.ZodBoolean>;
1564
+ required: z.ZodOptional<z.ZodBoolean>;
1515
1565
  }, z.ZodTypeAny, "passthrough">>[];
1516
1566
  basePdf: (string | ArrayBuffer | Uint8Array | {
1517
1567
  width: number;
@@ -1550,6 +1600,7 @@ export declare const UIProps: z.ZodObject<{
1550
1600
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1551
1601
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1552
1602
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1603
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1553
1604
  }, z.ZodTypeAny, "passthrough"> | undefined;
1554
1605
  }>;
1555
1606
  export declare const PreviewProps: z.ZodObject<{
@@ -1571,6 +1622,7 @@ export declare const PreviewProps: z.ZodObject<{
1571
1622
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1572
1623
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1573
1624
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1625
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1574
1626
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1575
1627
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1576
1628
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1589,6 +1641,7 @@ export declare const PreviewProps: z.ZodObject<{
1589
1641
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1590
1642
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1591
1643
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1644
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1592
1645
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1593
1646
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1594
1647
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1607,6 +1660,7 @@ export declare const PreviewProps: z.ZodObject<{
1607
1660
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1608
1661
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1609
1662
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1663
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1610
1664
  }, z.ZodTypeAny, "passthrough">>>;
1611
1665
  template: z.ZodObject<{
1612
1666
  schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -1627,6 +1681,7 @@ export declare const PreviewProps: z.ZodObject<{
1627
1681
  rotate: z.ZodOptional<z.ZodNumber>;
1628
1682
  opacity: z.ZodOptional<z.ZodNumber>;
1629
1683
  readOnly: z.ZodOptional<z.ZodBoolean>;
1684
+ required: z.ZodOptional<z.ZodBoolean>;
1630
1685
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1631
1686
  type: z.ZodString;
1632
1687
  content: z.ZodOptional<z.ZodString>;
@@ -1645,6 +1700,7 @@ export declare const PreviewProps: z.ZodObject<{
1645
1700
  rotate: z.ZodOptional<z.ZodNumber>;
1646
1701
  opacity: z.ZodOptional<z.ZodNumber>;
1647
1702
  readOnly: z.ZodOptional<z.ZodBoolean>;
1703
+ required: z.ZodOptional<z.ZodBoolean>;
1648
1704
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1649
1705
  type: z.ZodString;
1650
1706
  content: z.ZodOptional<z.ZodString>;
@@ -1663,6 +1719,7 @@ export declare const PreviewProps: z.ZodObject<{
1663
1719
  rotate: z.ZodOptional<z.ZodNumber>;
1664
1720
  opacity: z.ZodOptional<z.ZodNumber>;
1665
1721
  readOnly: z.ZodOptional<z.ZodBoolean>;
1722
+ required: z.ZodOptional<z.ZodBoolean>;
1666
1723
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1667
1724
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1668
1725
  width: z.ZodNumber;
@@ -1697,6 +1754,7 @@ export declare const PreviewProps: z.ZodObject<{
1697
1754
  rotate: z.ZodOptional<z.ZodNumber>;
1698
1755
  opacity: z.ZodOptional<z.ZodNumber>;
1699
1756
  readOnly: z.ZodOptional<z.ZodBoolean>;
1757
+ required: z.ZodOptional<z.ZodBoolean>;
1700
1758
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1701
1759
  type: z.ZodString;
1702
1760
  content: z.ZodOptional<z.ZodString>;
@@ -1715,6 +1773,7 @@ export declare const PreviewProps: z.ZodObject<{
1715
1773
  rotate: z.ZodOptional<z.ZodNumber>;
1716
1774
  opacity: z.ZodOptional<z.ZodNumber>;
1717
1775
  readOnly: z.ZodOptional<z.ZodBoolean>;
1776
+ required: z.ZodOptional<z.ZodBoolean>;
1718
1777
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1719
1778
  type: z.ZodString;
1720
1779
  content: z.ZodOptional<z.ZodString>;
@@ -1733,6 +1792,7 @@ export declare const PreviewProps: z.ZodObject<{
1733
1792
  rotate: z.ZodOptional<z.ZodNumber>;
1734
1793
  opacity: z.ZodOptional<z.ZodNumber>;
1735
1794
  readOnly: z.ZodOptional<z.ZodBoolean>;
1795
+ required: z.ZodOptional<z.ZodBoolean>;
1736
1796
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1737
1797
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1738
1798
  width: z.ZodNumber;
@@ -1767,6 +1827,7 @@ export declare const PreviewProps: z.ZodObject<{
1767
1827
  rotate: z.ZodOptional<z.ZodNumber>;
1768
1828
  opacity: z.ZodOptional<z.ZodNumber>;
1769
1829
  readOnly: z.ZodOptional<z.ZodBoolean>;
1830
+ required: z.ZodOptional<z.ZodBoolean>;
1770
1831
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1771
1832
  type: z.ZodString;
1772
1833
  content: z.ZodOptional<z.ZodString>;
@@ -1785,6 +1846,7 @@ export declare const PreviewProps: z.ZodObject<{
1785
1846
  rotate: z.ZodOptional<z.ZodNumber>;
1786
1847
  opacity: z.ZodOptional<z.ZodNumber>;
1787
1848
  readOnly: z.ZodOptional<z.ZodBoolean>;
1849
+ required: z.ZodOptional<z.ZodBoolean>;
1788
1850
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1789
1851
  type: z.ZodString;
1790
1852
  content: z.ZodOptional<z.ZodString>;
@@ -1803,6 +1865,7 @@ export declare const PreviewProps: z.ZodObject<{
1803
1865
  rotate: z.ZodOptional<z.ZodNumber>;
1804
1866
  opacity: z.ZodOptional<z.ZodNumber>;
1805
1867
  readOnly: z.ZodOptional<z.ZodBoolean>;
1868
+ required: z.ZodOptional<z.ZodBoolean>;
1806
1869
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1807
1870
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1808
1871
  width: z.ZodNumber;
@@ -1854,6 +1917,7 @@ export declare const PreviewProps: z.ZodObject<{
1854
1917
  rotate: z.ZodOptional<z.ZodNumber>;
1855
1918
  opacity: z.ZodOptional<z.ZodNumber>;
1856
1919
  readOnly: z.ZodOptional<z.ZodBoolean>;
1920
+ required: z.ZodOptional<z.ZodBoolean>;
1857
1921
  }, z.ZodTypeAny, "passthrough">>[];
1858
1922
  basePdf: (string | ArrayBuffer | Uint8Array | {
1859
1923
  width: number;
@@ -1888,6 +1952,7 @@ export declare const PreviewProps: z.ZodObject<{
1888
1952
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1889
1953
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1890
1954
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1955
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1891
1956
  }, z.ZodTypeAny, "passthrough"> | undefined;
1892
1957
  plugins?: Record<string, {
1893
1958
  ui?: any;
@@ -1914,6 +1979,7 @@ export declare const PreviewProps: z.ZodObject<{
1914
1979
  rotate: z.ZodOptional<z.ZodNumber>;
1915
1980
  opacity: z.ZodOptional<z.ZodNumber>;
1916
1981
  readOnly: z.ZodOptional<z.ZodBoolean>;
1982
+ required: z.ZodOptional<z.ZodBoolean>;
1917
1983
  }, z.ZodTypeAny, "passthrough">>[];
1918
1984
  basePdf: (string | ArrayBuffer | Uint8Array | {
1919
1985
  width: number;
@@ -1948,6 +2014,7 @@ export declare const PreviewProps: z.ZodObject<{
1948
2014
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1949
2015
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1950
2016
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2017
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1951
2018
  }, z.ZodTypeAny, "passthrough"> | undefined;
1952
2019
  plugins?: Record<string, {
1953
2020
  ui?: any;
@@ -1974,6 +2041,7 @@ export declare const DesignerProps: z.ZodObject<{
1974
2041
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1975
2042
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1976
2043
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2044
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1977
2045
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1978
2046
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1979
2047
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1992,6 +2060,7 @@ export declare const DesignerProps: z.ZodObject<{
1992
2060
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1993
2061
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1994
2062
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2063
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1995
2064
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1996
2065
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1997
2066
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -2010,6 +2079,7 @@ export declare const DesignerProps: z.ZodObject<{
2010
2079
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2011
2080
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2012
2081
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2082
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
2013
2083
  }, z.ZodTypeAny, "passthrough">>>;
2014
2084
  template: z.ZodObject<{
2015
2085
  schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -2030,6 +2100,7 @@ export declare const DesignerProps: z.ZodObject<{
2030
2100
  rotate: z.ZodOptional<z.ZodNumber>;
2031
2101
  opacity: z.ZodOptional<z.ZodNumber>;
2032
2102
  readOnly: z.ZodOptional<z.ZodBoolean>;
2103
+ required: z.ZodOptional<z.ZodBoolean>;
2033
2104
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2034
2105
  type: z.ZodString;
2035
2106
  content: z.ZodOptional<z.ZodString>;
@@ -2048,6 +2119,7 @@ export declare const DesignerProps: z.ZodObject<{
2048
2119
  rotate: z.ZodOptional<z.ZodNumber>;
2049
2120
  opacity: z.ZodOptional<z.ZodNumber>;
2050
2121
  readOnly: z.ZodOptional<z.ZodBoolean>;
2122
+ required: z.ZodOptional<z.ZodBoolean>;
2051
2123
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2052
2124
  type: z.ZodString;
2053
2125
  content: z.ZodOptional<z.ZodString>;
@@ -2066,6 +2138,7 @@ export declare const DesignerProps: z.ZodObject<{
2066
2138
  rotate: z.ZodOptional<z.ZodNumber>;
2067
2139
  opacity: z.ZodOptional<z.ZodNumber>;
2068
2140
  readOnly: z.ZodOptional<z.ZodBoolean>;
2141
+ required: z.ZodOptional<z.ZodBoolean>;
2069
2142
  }, z.ZodTypeAny, "passthrough">>>, "many">;
2070
2143
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
2071
2144
  width: z.ZodNumber;
@@ -2100,6 +2173,7 @@ export declare const DesignerProps: z.ZodObject<{
2100
2173
  rotate: z.ZodOptional<z.ZodNumber>;
2101
2174
  opacity: z.ZodOptional<z.ZodNumber>;
2102
2175
  readOnly: z.ZodOptional<z.ZodBoolean>;
2176
+ required: z.ZodOptional<z.ZodBoolean>;
2103
2177
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2104
2178
  type: z.ZodString;
2105
2179
  content: z.ZodOptional<z.ZodString>;
@@ -2118,6 +2192,7 @@ export declare const DesignerProps: z.ZodObject<{
2118
2192
  rotate: z.ZodOptional<z.ZodNumber>;
2119
2193
  opacity: z.ZodOptional<z.ZodNumber>;
2120
2194
  readOnly: z.ZodOptional<z.ZodBoolean>;
2195
+ required: z.ZodOptional<z.ZodBoolean>;
2121
2196
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2122
2197
  type: z.ZodString;
2123
2198
  content: z.ZodOptional<z.ZodString>;
@@ -2136,6 +2211,7 @@ export declare const DesignerProps: z.ZodObject<{
2136
2211
  rotate: z.ZodOptional<z.ZodNumber>;
2137
2212
  opacity: z.ZodOptional<z.ZodNumber>;
2138
2213
  readOnly: z.ZodOptional<z.ZodBoolean>;
2214
+ required: z.ZodOptional<z.ZodBoolean>;
2139
2215
  }, z.ZodTypeAny, "passthrough">>>, "many">;
2140
2216
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
2141
2217
  width: z.ZodNumber;
@@ -2170,6 +2246,7 @@ export declare const DesignerProps: z.ZodObject<{
2170
2246
  rotate: z.ZodOptional<z.ZodNumber>;
2171
2247
  opacity: z.ZodOptional<z.ZodNumber>;
2172
2248
  readOnly: z.ZodOptional<z.ZodBoolean>;
2249
+ required: z.ZodOptional<z.ZodBoolean>;
2173
2250
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2174
2251
  type: z.ZodString;
2175
2252
  content: z.ZodOptional<z.ZodString>;
@@ -2188,6 +2265,7 @@ export declare const DesignerProps: z.ZodObject<{
2188
2265
  rotate: z.ZodOptional<z.ZodNumber>;
2189
2266
  opacity: z.ZodOptional<z.ZodNumber>;
2190
2267
  readOnly: z.ZodOptional<z.ZodBoolean>;
2268
+ required: z.ZodOptional<z.ZodBoolean>;
2191
2269
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2192
2270
  type: z.ZodString;
2193
2271
  content: z.ZodOptional<z.ZodString>;
@@ -2206,6 +2284,7 @@ export declare const DesignerProps: z.ZodObject<{
2206
2284
  rotate: z.ZodOptional<z.ZodNumber>;
2207
2285
  opacity: z.ZodOptional<z.ZodNumber>;
2208
2286
  readOnly: z.ZodOptional<z.ZodBoolean>;
2287
+ required: z.ZodOptional<z.ZodBoolean>;
2209
2288
  }, z.ZodTypeAny, "passthrough">>>, "many">;
2210
2289
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
2211
2290
  width: z.ZodNumber;
@@ -2256,6 +2335,7 @@ export declare const DesignerProps: z.ZodObject<{
2256
2335
  rotate: z.ZodOptional<z.ZodNumber>;
2257
2336
  opacity: z.ZodOptional<z.ZodNumber>;
2258
2337
  readOnly: z.ZodOptional<z.ZodBoolean>;
2338
+ required: z.ZodOptional<z.ZodBoolean>;
2259
2339
  }, z.ZodTypeAny, "passthrough">>[];
2260
2340
  basePdf: (string | ArrayBuffer | Uint8Array | {
2261
2341
  width: number;
@@ -2289,6 +2369,7 @@ export declare const DesignerProps: z.ZodObject<{
2289
2369
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2290
2370
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2291
2371
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2372
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
2292
2373
  }, z.ZodTypeAny, "passthrough"> | undefined;
2293
2374
  plugins?: Record<string, {
2294
2375
  ui?: any;
@@ -2315,6 +2396,7 @@ export declare const DesignerProps: z.ZodObject<{
2315
2396
  rotate: z.ZodOptional<z.ZodNumber>;
2316
2397
  opacity: z.ZodOptional<z.ZodNumber>;
2317
2398
  readOnly: z.ZodOptional<z.ZodBoolean>;
2399
+ required: z.ZodOptional<z.ZodBoolean>;
2318
2400
  }, z.ZodTypeAny, "passthrough">>[];
2319
2401
  basePdf: (string | ArrayBuffer | Uint8Array | {
2320
2402
  width: number;
@@ -2348,6 +2430,7 @@ export declare const DesignerProps: z.ZodObject<{
2348
2430
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2349
2431
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2350
2432
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2433
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
2351
2434
  }, z.ZodTypeAny, "passthrough"> | undefined;
2352
2435
  plugins?: Record<string, {
2353
2436
  ui?: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfme/common",
3
- "version": "4.2.4",
3
+ "version": "4.2.5-dev.3",
4
4
  "sideEffects": false,
5
5
  "author": "hand-dot",
6
6
  "license": "MIT",
package/src/schema.ts CHANGED
@@ -14,6 +14,7 @@ export const Dict = z.object({
14
14
  height: z.string(),
15
15
  rotate: z.string(),
16
16
  edit: z.string(),
17
+ required: z.string(),
17
18
  plsInputName: z.string(),
18
19
  fieldMustUniq: z.string(),
19
20
  notUniq: z.string(),
@@ -28,7 +29,10 @@ export const Dict = z.object({
28
29
  addPageAfter: z.string(),
29
30
  removePage: z.string(),
30
31
  removePageConfirm: z.string(),
31
- hexColorPrompt: z.string(),
32
+ // --------------------validation-------------------
33
+ 'validation.uniqueName': z.string(),
34
+ 'validation.hexColor': z.string(),
35
+
32
36
  // -----------------used in schemas-----------------
33
37
  'schemas.color': z.string(),
34
38
  'schemas.borderWidth': z.string(),
@@ -87,6 +91,7 @@ export const Schema = z
87
91
  rotate: z.number().optional(),
88
92
  opacity: z.number().optional(),
89
93
  readOnly: z.boolean().optional(),
94
+ required: z.boolean().optional(),
90
95
  })
91
96
  .passthrough();
92
97
 
@@ -162,6 +167,7 @@ export const UIOptions = CommonOptions.extend({
162
167
  labels: z.record(z.string(), z.string()).optional(),
163
168
  theme: z.record(z.string(), z.unknown()).optional(),
164
169
  icons: z.record(z.string(), z.string()).optional(),
170
+ requiredByDefault: z.boolean().optional(),
165
171
  });
166
172
 
167
173
  const HTMLElementSchema: z.ZodSchema<HTMLElement> = z.any().refine((v) => v instanceof HTMLElement);