@pdfme/common 4.2.4-dev.3 → 4.2.4-dev.5

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(),
@@ -81,6 +82,7 @@ exports.Schema = zod_1.z
81
82
  rotate: zod_1.z.number().optional(),
82
83
  opacity: zod_1.z.number().optional(),
83
84
  readOnly: zod_1.z.boolean().optional(),
85
+ required: zod_1.z.boolean().optional(),
84
86
  })
85
87
  .passthrough();
86
88
  const SchemaForUIAdditionalInfo = zod_1.z.object({
@@ -139,6 +141,7 @@ exports.UIOptions = exports.CommonOptions.extend({
139
141
  labels: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
140
142
  theme: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
141
143
  icons: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
144
+ requiredByDefault: zod_1.z.boolean().optional(),
142
145
  });
143
146
  const HTMLElementSchema = zod_1.z.any().refine((v) => v instanceof HTMLElement);
144
147
  exports.UIProps = CommonProps.extend({
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC;AAE7E,QAAA,IAAI,GAAG,OAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACrB,QAAA,IAAI,GAAG,OAAC,CAA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"}
@@ -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(),
@@ -78,6 +79,7 @@ export const Schema = z
78
79
  rotate: z.number().optional(),
79
80
  opacity: z.number().optional(),
80
81
  readOnly: z.boolean().optional(),
82
+ required: z.boolean().optional(),
81
83
  })
82
84
  .passthrough();
83
85
  const SchemaForUIAdditionalInfo = z.object({
@@ -136,6 +138,7 @@ export const UIOptions = CommonOptions.extend({
136
138
  labels: z.record(z.string(), z.string()).optional(),
137
139
  theme: z.record(z.string(), z.unknown()).optional(),
138
140
  icons: z.record(z.string(), z.string()).optional(),
141
+ requiredByDefault: z.boolean().optional(),
139
142
  });
140
143
  const HTMLElementSchema = z.any().refine((v) => v instanceof HTMLElement);
141
144
  export const UIProps = CommonProps.extend({
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC;AAE1F,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAClC,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,+CAA+C;IAC/C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAA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AC;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;
@@ -71,6 +72,7 @@ export declare const Dict: z.ZodObject<{
71
72
  height: string;
72
73
  rotate: string;
73
74
  edit: string;
75
+ required: string;
74
76
  plsInputName: string;
75
77
  fieldMustUniq: string;
76
78
  notUniq: string;
@@ -132,6 +134,7 @@ export declare const Dict: z.ZodObject<{
132
134
  height: string;
133
135
  rotate: string;
134
136
  edit: string;
137
+ required: string;
135
138
  plsInputName: string;
136
139
  fieldMustUniq: string;
137
140
  notUniq: string;
@@ -214,6 +217,7 @@ export declare const Schema: z.ZodObject<{
214
217
  rotate: z.ZodOptional<z.ZodNumber>;
215
218
  opacity: z.ZodOptional<z.ZodNumber>;
216
219
  readOnly: z.ZodOptional<z.ZodBoolean>;
220
+ required: z.ZodOptional<z.ZodBoolean>;
217
221
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
218
222
  type: z.ZodString;
219
223
  content: z.ZodOptional<z.ZodString>;
@@ -232,6 +236,7 @@ export declare const Schema: z.ZodObject<{
232
236
  rotate: z.ZodOptional<z.ZodNumber>;
233
237
  opacity: z.ZodOptional<z.ZodNumber>;
234
238
  readOnly: z.ZodOptional<z.ZodBoolean>;
239
+ required: z.ZodOptional<z.ZodBoolean>;
235
240
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
236
241
  type: z.ZodString;
237
242
  content: z.ZodOptional<z.ZodString>;
@@ -250,12 +255,14 @@ export declare const Schema: z.ZodObject<{
250
255
  rotate: z.ZodOptional<z.ZodNumber>;
251
256
  opacity: z.ZodOptional<z.ZodNumber>;
252
257
  readOnly: z.ZodOptional<z.ZodBoolean>;
258
+ required: z.ZodOptional<z.ZodBoolean>;
253
259
  }, z.ZodTypeAny, "passthrough">>;
254
260
  export declare const SchemaForUI: z.ZodObject<{
255
261
  width: z.ZodNumber;
256
262
  opacity: z.ZodOptional<z.ZodNumber>;
257
263
  height: z.ZodNumber;
258
264
  rotate: z.ZodOptional<z.ZodNumber>;
265
+ required: z.ZodOptional<z.ZodBoolean>;
259
266
  type: z.ZodString;
260
267
  content: z.ZodOptional<z.ZodString>;
261
268
  position: z.ZodObject<{
@@ -283,6 +290,7 @@ export declare const SchemaForUI: z.ZodObject<{
283
290
  key: string;
284
291
  opacity?: number | undefined;
285
292
  rotate?: number | undefined;
293
+ required?: boolean | undefined;
286
294
  content?: string | undefined;
287
295
  readOnly?: boolean | undefined;
288
296
  }, {
@@ -297,6 +305,7 @@ export declare const SchemaForUI: z.ZodObject<{
297
305
  key: string;
298
306
  opacity?: number | undefined;
299
307
  rotate?: number | undefined;
308
+ required?: boolean | undefined;
300
309
  content?: string | undefined;
301
310
  readOnly?: boolean | undefined;
302
311
  }>;
@@ -345,6 +354,7 @@ export declare const Template: z.ZodObject<{
345
354
  rotate: z.ZodOptional<z.ZodNumber>;
346
355
  opacity: z.ZodOptional<z.ZodNumber>;
347
356
  readOnly: z.ZodOptional<z.ZodBoolean>;
357
+ required: z.ZodOptional<z.ZodBoolean>;
348
358
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
349
359
  type: z.ZodString;
350
360
  content: z.ZodOptional<z.ZodString>;
@@ -363,6 +373,7 @@ export declare const Template: z.ZodObject<{
363
373
  rotate: z.ZodOptional<z.ZodNumber>;
364
374
  opacity: z.ZodOptional<z.ZodNumber>;
365
375
  readOnly: z.ZodOptional<z.ZodBoolean>;
376
+ required: z.ZodOptional<z.ZodBoolean>;
366
377
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
367
378
  type: z.ZodString;
368
379
  content: z.ZodOptional<z.ZodString>;
@@ -381,6 +392,7 @@ export declare const Template: z.ZodObject<{
381
392
  rotate: z.ZodOptional<z.ZodNumber>;
382
393
  opacity: z.ZodOptional<z.ZodNumber>;
383
394
  readOnly: z.ZodOptional<z.ZodBoolean>;
395
+ required: z.ZodOptional<z.ZodBoolean>;
384
396
  }, z.ZodTypeAny, "passthrough">>>, "many">;
385
397
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
386
398
  width: z.ZodNumber;
@@ -415,6 +427,7 @@ export declare const Template: z.ZodObject<{
415
427
  rotate: z.ZodOptional<z.ZodNumber>;
416
428
  opacity: z.ZodOptional<z.ZodNumber>;
417
429
  readOnly: z.ZodOptional<z.ZodBoolean>;
430
+ required: z.ZodOptional<z.ZodBoolean>;
418
431
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
419
432
  type: z.ZodString;
420
433
  content: z.ZodOptional<z.ZodString>;
@@ -433,6 +446,7 @@ export declare const Template: z.ZodObject<{
433
446
  rotate: z.ZodOptional<z.ZodNumber>;
434
447
  opacity: z.ZodOptional<z.ZodNumber>;
435
448
  readOnly: z.ZodOptional<z.ZodBoolean>;
449
+ required: z.ZodOptional<z.ZodBoolean>;
436
450
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
437
451
  type: z.ZodString;
438
452
  content: z.ZodOptional<z.ZodString>;
@@ -451,6 +465,7 @@ export declare const Template: z.ZodObject<{
451
465
  rotate: z.ZodOptional<z.ZodNumber>;
452
466
  opacity: z.ZodOptional<z.ZodNumber>;
453
467
  readOnly: z.ZodOptional<z.ZodBoolean>;
468
+ required: z.ZodOptional<z.ZodBoolean>;
454
469
  }, z.ZodTypeAny, "passthrough">>>, "many">;
455
470
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
456
471
  width: z.ZodNumber;
@@ -485,6 +500,7 @@ export declare const Template: z.ZodObject<{
485
500
  rotate: z.ZodOptional<z.ZodNumber>;
486
501
  opacity: z.ZodOptional<z.ZodNumber>;
487
502
  readOnly: z.ZodOptional<z.ZodBoolean>;
503
+ required: z.ZodOptional<z.ZodBoolean>;
488
504
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
489
505
  type: z.ZodString;
490
506
  content: z.ZodOptional<z.ZodString>;
@@ -503,6 +519,7 @@ export declare const Template: z.ZodObject<{
503
519
  rotate: z.ZodOptional<z.ZodNumber>;
504
520
  opacity: z.ZodOptional<z.ZodNumber>;
505
521
  readOnly: z.ZodOptional<z.ZodBoolean>;
522
+ required: z.ZodOptional<z.ZodBoolean>;
506
523
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
507
524
  type: z.ZodString;
508
525
  content: z.ZodOptional<z.ZodString>;
@@ -521,6 +538,7 @@ export declare const Template: z.ZodObject<{
521
538
  rotate: z.ZodOptional<z.ZodNumber>;
522
539
  opacity: z.ZodOptional<z.ZodNumber>;
523
540
  readOnly: z.ZodOptional<z.ZodBoolean>;
541
+ required: z.ZodOptional<z.ZodBoolean>;
524
542
  }, z.ZodTypeAny, "passthrough">>>, "many">;
525
543
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
526
544
  width: z.ZodNumber;
@@ -687,6 +705,7 @@ export declare const GenerateProps: z.ZodObject<{
687
705
  rotate: z.ZodOptional<z.ZodNumber>;
688
706
  opacity: z.ZodOptional<z.ZodNumber>;
689
707
  readOnly: z.ZodOptional<z.ZodBoolean>;
708
+ required: z.ZodOptional<z.ZodBoolean>;
690
709
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
691
710
  type: z.ZodString;
692
711
  content: z.ZodOptional<z.ZodString>;
@@ -705,6 +724,7 @@ export declare const GenerateProps: z.ZodObject<{
705
724
  rotate: z.ZodOptional<z.ZodNumber>;
706
725
  opacity: z.ZodOptional<z.ZodNumber>;
707
726
  readOnly: z.ZodOptional<z.ZodBoolean>;
727
+ required: z.ZodOptional<z.ZodBoolean>;
708
728
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
709
729
  type: z.ZodString;
710
730
  content: z.ZodOptional<z.ZodString>;
@@ -723,6 +743,7 @@ export declare const GenerateProps: z.ZodObject<{
723
743
  rotate: z.ZodOptional<z.ZodNumber>;
724
744
  opacity: z.ZodOptional<z.ZodNumber>;
725
745
  readOnly: z.ZodOptional<z.ZodBoolean>;
746
+ required: z.ZodOptional<z.ZodBoolean>;
726
747
  }, z.ZodTypeAny, "passthrough">>>, "many">;
727
748
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
728
749
  width: z.ZodNumber;
@@ -757,6 +778,7 @@ export declare const GenerateProps: z.ZodObject<{
757
778
  rotate: z.ZodOptional<z.ZodNumber>;
758
779
  opacity: z.ZodOptional<z.ZodNumber>;
759
780
  readOnly: z.ZodOptional<z.ZodBoolean>;
781
+ required: z.ZodOptional<z.ZodBoolean>;
760
782
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
761
783
  type: z.ZodString;
762
784
  content: z.ZodOptional<z.ZodString>;
@@ -775,6 +797,7 @@ export declare const GenerateProps: z.ZodObject<{
775
797
  rotate: z.ZodOptional<z.ZodNumber>;
776
798
  opacity: z.ZodOptional<z.ZodNumber>;
777
799
  readOnly: z.ZodOptional<z.ZodBoolean>;
800
+ required: z.ZodOptional<z.ZodBoolean>;
778
801
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
779
802
  type: z.ZodString;
780
803
  content: z.ZodOptional<z.ZodString>;
@@ -793,6 +816,7 @@ export declare const GenerateProps: z.ZodObject<{
793
816
  rotate: z.ZodOptional<z.ZodNumber>;
794
817
  opacity: z.ZodOptional<z.ZodNumber>;
795
818
  readOnly: z.ZodOptional<z.ZodBoolean>;
819
+ required: z.ZodOptional<z.ZodBoolean>;
796
820
  }, z.ZodTypeAny, "passthrough">>>, "many">;
797
821
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
798
822
  width: z.ZodNumber;
@@ -827,6 +851,7 @@ export declare const GenerateProps: z.ZodObject<{
827
851
  rotate: z.ZodOptional<z.ZodNumber>;
828
852
  opacity: z.ZodOptional<z.ZodNumber>;
829
853
  readOnly: z.ZodOptional<z.ZodBoolean>;
854
+ required: z.ZodOptional<z.ZodBoolean>;
830
855
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
831
856
  type: z.ZodString;
832
857
  content: z.ZodOptional<z.ZodString>;
@@ -845,6 +870,7 @@ export declare const GenerateProps: z.ZodObject<{
845
870
  rotate: z.ZodOptional<z.ZodNumber>;
846
871
  opacity: z.ZodOptional<z.ZodNumber>;
847
872
  readOnly: z.ZodOptional<z.ZodBoolean>;
873
+ required: z.ZodOptional<z.ZodBoolean>;
848
874
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
849
875
  type: z.ZodString;
850
876
  content: z.ZodOptional<z.ZodString>;
@@ -863,6 +889,7 @@ export declare const GenerateProps: z.ZodObject<{
863
889
  rotate: z.ZodOptional<z.ZodNumber>;
864
890
  opacity: z.ZodOptional<z.ZodNumber>;
865
891
  readOnly: z.ZodOptional<z.ZodBoolean>;
892
+ required: z.ZodOptional<z.ZodBoolean>;
866
893
  }, z.ZodTypeAny, "passthrough">>>, "many">;
867
894
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
868
895
  width: z.ZodNumber;
@@ -986,6 +1013,7 @@ export declare const GenerateProps: z.ZodObject<{
986
1013
  rotate: z.ZodOptional<z.ZodNumber>;
987
1014
  opacity: z.ZodOptional<z.ZodNumber>;
988
1015
  readOnly: z.ZodOptional<z.ZodBoolean>;
1016
+ required: z.ZodOptional<z.ZodBoolean>;
989
1017
  }, z.ZodTypeAny, "passthrough">>[];
990
1018
  basePdf: (string | ArrayBuffer | Uint8Array | {
991
1019
  width: number;
@@ -1051,6 +1079,7 @@ export declare const GenerateProps: z.ZodObject<{
1051
1079
  rotate: z.ZodOptional<z.ZodNumber>;
1052
1080
  opacity: z.ZodOptional<z.ZodNumber>;
1053
1081
  readOnly: z.ZodOptional<z.ZodBoolean>;
1082
+ required: z.ZodOptional<z.ZodBoolean>;
1054
1083
  }, z.ZodTypeAny, "passthrough">>[];
1055
1084
  basePdf: (string | ArrayBuffer | Uint8Array | {
1056
1085
  width: number;
@@ -1115,6 +1144,7 @@ export declare const UIOptions: z.ZodObject<{
1115
1144
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1116
1145
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1117
1146
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1147
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1118
1148
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1119
1149
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1120
1150
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1133,6 +1163,7 @@ export declare const UIOptions: z.ZodObject<{
1133
1163
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1134
1164
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1135
1165
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1166
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1136
1167
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1137
1168
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1138
1169
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1151,6 +1182,7 @@ export declare const UIOptions: z.ZodObject<{
1151
1182
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1152
1183
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1153
1184
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1185
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1154
1186
  }, z.ZodTypeAny, "passthrough">>;
1155
1187
  export declare const UIProps: z.ZodObject<{
1156
1188
  template: z.ZodObject<{
@@ -1172,6 +1204,7 @@ export declare const UIProps: z.ZodObject<{
1172
1204
  rotate: z.ZodOptional<z.ZodNumber>;
1173
1205
  opacity: z.ZodOptional<z.ZodNumber>;
1174
1206
  readOnly: z.ZodOptional<z.ZodBoolean>;
1207
+ required: z.ZodOptional<z.ZodBoolean>;
1175
1208
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1176
1209
  type: z.ZodString;
1177
1210
  content: z.ZodOptional<z.ZodString>;
@@ -1190,6 +1223,7 @@ export declare const UIProps: z.ZodObject<{
1190
1223
  rotate: z.ZodOptional<z.ZodNumber>;
1191
1224
  opacity: z.ZodOptional<z.ZodNumber>;
1192
1225
  readOnly: z.ZodOptional<z.ZodBoolean>;
1226
+ required: z.ZodOptional<z.ZodBoolean>;
1193
1227
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1194
1228
  type: z.ZodString;
1195
1229
  content: z.ZodOptional<z.ZodString>;
@@ -1208,6 +1242,7 @@ export declare const UIProps: z.ZodObject<{
1208
1242
  rotate: z.ZodOptional<z.ZodNumber>;
1209
1243
  opacity: z.ZodOptional<z.ZodNumber>;
1210
1244
  readOnly: z.ZodOptional<z.ZodBoolean>;
1245
+ required: z.ZodOptional<z.ZodBoolean>;
1211
1246
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1212
1247
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1213
1248
  width: z.ZodNumber;
@@ -1242,6 +1277,7 @@ export declare const UIProps: z.ZodObject<{
1242
1277
  rotate: z.ZodOptional<z.ZodNumber>;
1243
1278
  opacity: z.ZodOptional<z.ZodNumber>;
1244
1279
  readOnly: z.ZodOptional<z.ZodBoolean>;
1280
+ required: z.ZodOptional<z.ZodBoolean>;
1245
1281
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1246
1282
  type: z.ZodString;
1247
1283
  content: z.ZodOptional<z.ZodString>;
@@ -1260,6 +1296,7 @@ export declare const UIProps: z.ZodObject<{
1260
1296
  rotate: z.ZodOptional<z.ZodNumber>;
1261
1297
  opacity: z.ZodOptional<z.ZodNumber>;
1262
1298
  readOnly: z.ZodOptional<z.ZodBoolean>;
1299
+ required: z.ZodOptional<z.ZodBoolean>;
1263
1300
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1264
1301
  type: z.ZodString;
1265
1302
  content: z.ZodOptional<z.ZodString>;
@@ -1278,6 +1315,7 @@ export declare const UIProps: z.ZodObject<{
1278
1315
  rotate: z.ZodOptional<z.ZodNumber>;
1279
1316
  opacity: z.ZodOptional<z.ZodNumber>;
1280
1317
  readOnly: z.ZodOptional<z.ZodBoolean>;
1318
+ required: z.ZodOptional<z.ZodBoolean>;
1281
1319
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1282
1320
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1283
1321
  width: z.ZodNumber;
@@ -1312,6 +1350,7 @@ export declare const UIProps: z.ZodObject<{
1312
1350
  rotate: z.ZodOptional<z.ZodNumber>;
1313
1351
  opacity: z.ZodOptional<z.ZodNumber>;
1314
1352
  readOnly: z.ZodOptional<z.ZodBoolean>;
1353
+ required: z.ZodOptional<z.ZodBoolean>;
1315
1354
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1316
1355
  type: z.ZodString;
1317
1356
  content: z.ZodOptional<z.ZodString>;
@@ -1330,6 +1369,7 @@ export declare const UIProps: z.ZodObject<{
1330
1369
  rotate: z.ZodOptional<z.ZodNumber>;
1331
1370
  opacity: z.ZodOptional<z.ZodNumber>;
1332
1371
  readOnly: z.ZodOptional<z.ZodBoolean>;
1372
+ required: z.ZodOptional<z.ZodBoolean>;
1333
1373
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1334
1374
  type: z.ZodString;
1335
1375
  content: z.ZodOptional<z.ZodString>;
@@ -1348,6 +1388,7 @@ export declare const UIProps: z.ZodObject<{
1348
1388
  rotate: z.ZodOptional<z.ZodNumber>;
1349
1389
  opacity: z.ZodOptional<z.ZodNumber>;
1350
1390
  readOnly: z.ZodOptional<z.ZodBoolean>;
1391
+ required: z.ZodOptional<z.ZodBoolean>;
1351
1392
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1352
1393
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1353
1394
  width: z.ZodNumber;
@@ -1396,6 +1437,7 @@ export declare const UIProps: z.ZodObject<{
1396
1437
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1397
1438
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1398
1439
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1440
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1399
1441
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1400
1442
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1401
1443
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1414,6 +1456,7 @@ export declare const UIProps: z.ZodObject<{
1414
1456
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1415
1457
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1416
1458
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1459
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1417
1460
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1418
1461
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1419
1462
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1432,6 +1475,7 @@ export declare const UIProps: z.ZodObject<{
1432
1475
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1433
1476
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1434
1477
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1478
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1435
1479
  }, z.ZodTypeAny, "passthrough">>>;
1436
1480
  }, "strip", z.ZodTypeAny, {
1437
1481
  template: {
@@ -1453,6 +1497,7 @@ export declare const UIProps: z.ZodObject<{
1453
1497
  rotate: z.ZodOptional<z.ZodNumber>;
1454
1498
  opacity: z.ZodOptional<z.ZodNumber>;
1455
1499
  readOnly: z.ZodOptional<z.ZodBoolean>;
1500
+ required: z.ZodOptional<z.ZodBoolean>;
1456
1501
  }, z.ZodTypeAny, "passthrough">>[];
1457
1502
  basePdf: (string | ArrayBuffer | Uint8Array | {
1458
1503
  width: number;
@@ -1491,6 +1536,7 @@ export declare const UIProps: z.ZodObject<{
1491
1536
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1492
1537
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1493
1538
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1539
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1494
1540
  }, z.ZodTypeAny, "passthrough"> | undefined;
1495
1541
  }, {
1496
1542
  template: {
@@ -1512,6 +1558,7 @@ export declare const UIProps: z.ZodObject<{
1512
1558
  rotate: z.ZodOptional<z.ZodNumber>;
1513
1559
  opacity: z.ZodOptional<z.ZodNumber>;
1514
1560
  readOnly: z.ZodOptional<z.ZodBoolean>;
1561
+ required: z.ZodOptional<z.ZodBoolean>;
1515
1562
  }, z.ZodTypeAny, "passthrough">>[];
1516
1563
  basePdf: (string | ArrayBuffer | Uint8Array | {
1517
1564
  width: number;
@@ -1550,6 +1597,7 @@ export declare const UIProps: z.ZodObject<{
1550
1597
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1551
1598
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1552
1599
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1600
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1553
1601
  }, z.ZodTypeAny, "passthrough"> | undefined;
1554
1602
  }>;
1555
1603
  export declare const PreviewProps: z.ZodObject<{
@@ -1571,6 +1619,7 @@ export declare const PreviewProps: z.ZodObject<{
1571
1619
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1572
1620
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1573
1621
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1622
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1574
1623
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1575
1624
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1576
1625
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1589,6 +1638,7 @@ export declare const PreviewProps: z.ZodObject<{
1589
1638
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1590
1639
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1591
1640
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1641
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1592
1642
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1593
1643
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1594
1644
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1607,6 +1657,7 @@ export declare const PreviewProps: z.ZodObject<{
1607
1657
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1608
1658
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1609
1659
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1660
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1610
1661
  }, z.ZodTypeAny, "passthrough">>>;
1611
1662
  template: z.ZodObject<{
1612
1663
  schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -1627,6 +1678,7 @@ export declare const PreviewProps: z.ZodObject<{
1627
1678
  rotate: z.ZodOptional<z.ZodNumber>;
1628
1679
  opacity: z.ZodOptional<z.ZodNumber>;
1629
1680
  readOnly: z.ZodOptional<z.ZodBoolean>;
1681
+ required: z.ZodOptional<z.ZodBoolean>;
1630
1682
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1631
1683
  type: z.ZodString;
1632
1684
  content: z.ZodOptional<z.ZodString>;
@@ -1645,6 +1697,7 @@ export declare const PreviewProps: z.ZodObject<{
1645
1697
  rotate: z.ZodOptional<z.ZodNumber>;
1646
1698
  opacity: z.ZodOptional<z.ZodNumber>;
1647
1699
  readOnly: z.ZodOptional<z.ZodBoolean>;
1700
+ required: z.ZodOptional<z.ZodBoolean>;
1648
1701
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1649
1702
  type: z.ZodString;
1650
1703
  content: z.ZodOptional<z.ZodString>;
@@ -1663,6 +1716,7 @@ export declare const PreviewProps: z.ZodObject<{
1663
1716
  rotate: z.ZodOptional<z.ZodNumber>;
1664
1717
  opacity: z.ZodOptional<z.ZodNumber>;
1665
1718
  readOnly: z.ZodOptional<z.ZodBoolean>;
1719
+ required: z.ZodOptional<z.ZodBoolean>;
1666
1720
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1667
1721
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1668
1722
  width: z.ZodNumber;
@@ -1697,6 +1751,7 @@ export declare const PreviewProps: z.ZodObject<{
1697
1751
  rotate: z.ZodOptional<z.ZodNumber>;
1698
1752
  opacity: z.ZodOptional<z.ZodNumber>;
1699
1753
  readOnly: z.ZodOptional<z.ZodBoolean>;
1754
+ required: z.ZodOptional<z.ZodBoolean>;
1700
1755
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1701
1756
  type: z.ZodString;
1702
1757
  content: z.ZodOptional<z.ZodString>;
@@ -1715,6 +1770,7 @@ export declare const PreviewProps: z.ZodObject<{
1715
1770
  rotate: z.ZodOptional<z.ZodNumber>;
1716
1771
  opacity: z.ZodOptional<z.ZodNumber>;
1717
1772
  readOnly: z.ZodOptional<z.ZodBoolean>;
1773
+ required: z.ZodOptional<z.ZodBoolean>;
1718
1774
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1719
1775
  type: z.ZodString;
1720
1776
  content: z.ZodOptional<z.ZodString>;
@@ -1733,6 +1789,7 @@ export declare const PreviewProps: z.ZodObject<{
1733
1789
  rotate: z.ZodOptional<z.ZodNumber>;
1734
1790
  opacity: z.ZodOptional<z.ZodNumber>;
1735
1791
  readOnly: z.ZodOptional<z.ZodBoolean>;
1792
+ required: z.ZodOptional<z.ZodBoolean>;
1736
1793
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1737
1794
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1738
1795
  width: z.ZodNumber;
@@ -1767,6 +1824,7 @@ export declare const PreviewProps: z.ZodObject<{
1767
1824
  rotate: z.ZodOptional<z.ZodNumber>;
1768
1825
  opacity: z.ZodOptional<z.ZodNumber>;
1769
1826
  readOnly: z.ZodOptional<z.ZodBoolean>;
1827
+ required: z.ZodOptional<z.ZodBoolean>;
1770
1828
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1771
1829
  type: z.ZodString;
1772
1830
  content: z.ZodOptional<z.ZodString>;
@@ -1785,6 +1843,7 @@ export declare const PreviewProps: z.ZodObject<{
1785
1843
  rotate: z.ZodOptional<z.ZodNumber>;
1786
1844
  opacity: z.ZodOptional<z.ZodNumber>;
1787
1845
  readOnly: z.ZodOptional<z.ZodBoolean>;
1846
+ required: z.ZodOptional<z.ZodBoolean>;
1788
1847
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1789
1848
  type: z.ZodString;
1790
1849
  content: z.ZodOptional<z.ZodString>;
@@ -1803,6 +1862,7 @@ export declare const PreviewProps: z.ZodObject<{
1803
1862
  rotate: z.ZodOptional<z.ZodNumber>;
1804
1863
  opacity: z.ZodOptional<z.ZodNumber>;
1805
1864
  readOnly: z.ZodOptional<z.ZodBoolean>;
1865
+ required: z.ZodOptional<z.ZodBoolean>;
1806
1866
  }, z.ZodTypeAny, "passthrough">>>, "many">;
1807
1867
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
1808
1868
  width: z.ZodNumber;
@@ -1854,6 +1914,7 @@ export declare const PreviewProps: z.ZodObject<{
1854
1914
  rotate: z.ZodOptional<z.ZodNumber>;
1855
1915
  opacity: z.ZodOptional<z.ZodNumber>;
1856
1916
  readOnly: z.ZodOptional<z.ZodBoolean>;
1917
+ required: z.ZodOptional<z.ZodBoolean>;
1857
1918
  }, z.ZodTypeAny, "passthrough">>[];
1858
1919
  basePdf: (string | ArrayBuffer | Uint8Array | {
1859
1920
  width: number;
@@ -1888,6 +1949,7 @@ export declare const PreviewProps: z.ZodObject<{
1888
1949
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1889
1950
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1890
1951
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1952
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1891
1953
  }, z.ZodTypeAny, "passthrough"> | undefined;
1892
1954
  plugins?: Record<string, {
1893
1955
  ui?: any;
@@ -1914,6 +1976,7 @@ export declare const PreviewProps: z.ZodObject<{
1914
1976
  rotate: z.ZodOptional<z.ZodNumber>;
1915
1977
  opacity: z.ZodOptional<z.ZodNumber>;
1916
1978
  readOnly: z.ZodOptional<z.ZodBoolean>;
1979
+ required: z.ZodOptional<z.ZodBoolean>;
1917
1980
  }, z.ZodTypeAny, "passthrough">>[];
1918
1981
  basePdf: (string | ArrayBuffer | Uint8Array | {
1919
1982
  width: number;
@@ -1948,6 +2011,7 @@ export declare const PreviewProps: z.ZodObject<{
1948
2011
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1949
2012
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1950
2013
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2014
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1951
2015
  }, z.ZodTypeAny, "passthrough"> | undefined;
1952
2016
  plugins?: Record<string, {
1953
2017
  ui?: any;
@@ -1974,6 +2038,7 @@ export declare const DesignerProps: z.ZodObject<{
1974
2038
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1975
2039
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1976
2040
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2041
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1977
2042
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1978
2043
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1979
2044
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -1992,6 +2057,7 @@ export declare const DesignerProps: z.ZodObject<{
1992
2057
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1993
2058
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1994
2059
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2060
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
1995
2061
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1996
2062
  font: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1997
2063
  data: z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
@@ -2010,6 +2076,7 @@ export declare const DesignerProps: z.ZodObject<{
2010
2076
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2011
2077
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2012
2078
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2079
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
2013
2080
  }, z.ZodTypeAny, "passthrough">>>;
2014
2081
  template: z.ZodObject<{
2015
2082
  schemas: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -2030,6 +2097,7 @@ export declare const DesignerProps: z.ZodObject<{
2030
2097
  rotate: z.ZodOptional<z.ZodNumber>;
2031
2098
  opacity: z.ZodOptional<z.ZodNumber>;
2032
2099
  readOnly: z.ZodOptional<z.ZodBoolean>;
2100
+ required: z.ZodOptional<z.ZodBoolean>;
2033
2101
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2034
2102
  type: z.ZodString;
2035
2103
  content: z.ZodOptional<z.ZodString>;
@@ -2048,6 +2116,7 @@ export declare const DesignerProps: z.ZodObject<{
2048
2116
  rotate: z.ZodOptional<z.ZodNumber>;
2049
2117
  opacity: z.ZodOptional<z.ZodNumber>;
2050
2118
  readOnly: z.ZodOptional<z.ZodBoolean>;
2119
+ required: z.ZodOptional<z.ZodBoolean>;
2051
2120
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2052
2121
  type: z.ZodString;
2053
2122
  content: z.ZodOptional<z.ZodString>;
@@ -2066,6 +2135,7 @@ export declare const DesignerProps: z.ZodObject<{
2066
2135
  rotate: z.ZodOptional<z.ZodNumber>;
2067
2136
  opacity: z.ZodOptional<z.ZodNumber>;
2068
2137
  readOnly: z.ZodOptional<z.ZodBoolean>;
2138
+ required: z.ZodOptional<z.ZodBoolean>;
2069
2139
  }, z.ZodTypeAny, "passthrough">>>, "many">;
2070
2140
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
2071
2141
  width: z.ZodNumber;
@@ -2100,6 +2170,7 @@ export declare const DesignerProps: z.ZodObject<{
2100
2170
  rotate: z.ZodOptional<z.ZodNumber>;
2101
2171
  opacity: z.ZodOptional<z.ZodNumber>;
2102
2172
  readOnly: z.ZodOptional<z.ZodBoolean>;
2173
+ required: z.ZodOptional<z.ZodBoolean>;
2103
2174
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2104
2175
  type: z.ZodString;
2105
2176
  content: z.ZodOptional<z.ZodString>;
@@ -2118,6 +2189,7 @@ export declare const DesignerProps: z.ZodObject<{
2118
2189
  rotate: z.ZodOptional<z.ZodNumber>;
2119
2190
  opacity: z.ZodOptional<z.ZodNumber>;
2120
2191
  readOnly: z.ZodOptional<z.ZodBoolean>;
2192
+ required: z.ZodOptional<z.ZodBoolean>;
2121
2193
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2122
2194
  type: z.ZodString;
2123
2195
  content: z.ZodOptional<z.ZodString>;
@@ -2136,6 +2208,7 @@ export declare const DesignerProps: z.ZodObject<{
2136
2208
  rotate: z.ZodOptional<z.ZodNumber>;
2137
2209
  opacity: z.ZodOptional<z.ZodNumber>;
2138
2210
  readOnly: z.ZodOptional<z.ZodBoolean>;
2211
+ required: z.ZodOptional<z.ZodBoolean>;
2139
2212
  }, z.ZodTypeAny, "passthrough">>>, "many">;
2140
2213
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
2141
2214
  width: z.ZodNumber;
@@ -2170,6 +2243,7 @@ export declare const DesignerProps: z.ZodObject<{
2170
2243
  rotate: z.ZodOptional<z.ZodNumber>;
2171
2244
  opacity: z.ZodOptional<z.ZodNumber>;
2172
2245
  readOnly: z.ZodOptional<z.ZodBoolean>;
2246
+ required: z.ZodOptional<z.ZodBoolean>;
2173
2247
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2174
2248
  type: z.ZodString;
2175
2249
  content: z.ZodOptional<z.ZodString>;
@@ -2188,6 +2262,7 @@ export declare const DesignerProps: z.ZodObject<{
2188
2262
  rotate: z.ZodOptional<z.ZodNumber>;
2189
2263
  opacity: z.ZodOptional<z.ZodNumber>;
2190
2264
  readOnly: z.ZodOptional<z.ZodBoolean>;
2265
+ required: z.ZodOptional<z.ZodBoolean>;
2191
2266
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2192
2267
  type: z.ZodString;
2193
2268
  content: z.ZodOptional<z.ZodString>;
@@ -2206,6 +2281,7 @@ export declare const DesignerProps: z.ZodObject<{
2206
2281
  rotate: z.ZodOptional<z.ZodNumber>;
2207
2282
  opacity: z.ZodOptional<z.ZodNumber>;
2208
2283
  readOnly: z.ZodOptional<z.ZodBoolean>;
2284
+ required: z.ZodOptional<z.ZodBoolean>;
2209
2285
  }, z.ZodTypeAny, "passthrough">>>, "many">;
2210
2286
  basePdf: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>, z.ZodObject<{
2211
2287
  width: z.ZodNumber;
@@ -2256,6 +2332,7 @@ export declare const DesignerProps: z.ZodObject<{
2256
2332
  rotate: z.ZodOptional<z.ZodNumber>;
2257
2333
  opacity: z.ZodOptional<z.ZodNumber>;
2258
2334
  readOnly: z.ZodOptional<z.ZodBoolean>;
2335
+ required: z.ZodOptional<z.ZodBoolean>;
2259
2336
  }, z.ZodTypeAny, "passthrough">>[];
2260
2337
  basePdf: (string | ArrayBuffer | Uint8Array | {
2261
2338
  width: number;
@@ -2289,6 +2366,7 @@ export declare const DesignerProps: z.ZodObject<{
2289
2366
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2290
2367
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2291
2368
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2369
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
2292
2370
  }, z.ZodTypeAny, "passthrough"> | undefined;
2293
2371
  plugins?: Record<string, {
2294
2372
  ui?: any;
@@ -2315,6 +2393,7 @@ export declare const DesignerProps: z.ZodObject<{
2315
2393
  rotate: z.ZodOptional<z.ZodNumber>;
2316
2394
  opacity: z.ZodOptional<z.ZodNumber>;
2317
2395
  readOnly: z.ZodOptional<z.ZodBoolean>;
2396
+ required: z.ZodOptional<z.ZodBoolean>;
2318
2397
  }, z.ZodTypeAny, "passthrough">>[];
2319
2398
  basePdf: (string | ArrayBuffer | Uint8Array | {
2320
2399
  width: number;
@@ -2348,6 +2427,7 @@ export declare const DesignerProps: z.ZodObject<{
2348
2427
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2349
2428
  theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2350
2429
  icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2430
+ requiredByDefault: z.ZodOptional<z.ZodBoolean>;
2351
2431
  }, z.ZodTypeAny, "passthrough"> | undefined;
2352
2432
  plugins?: Record<string, {
2353
2433
  ui?: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfme/common",
3
- "version": "4.2.4-dev.3",
3
+ "version": "4.2.4-dev.5",
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(),
@@ -87,6 +88,7 @@ export const Schema = z
87
88
  rotate: z.number().optional(),
88
89
  opacity: z.number().optional(),
89
90
  readOnly: z.boolean().optional(),
91
+ required: z.boolean().optional(),
90
92
  })
91
93
  .passthrough();
92
94
 
@@ -162,6 +164,7 @@ export const UIOptions = CommonOptions.extend({
162
164
  labels: z.record(z.string(), z.string()).optional(),
163
165
  theme: z.record(z.string(), z.unknown()).optional(),
164
166
  icons: z.record(z.string(), z.string()).optional(),
167
+ requiredByDefault: z.boolean().optional(),
165
168
  });
166
169
 
167
170
  const HTMLElementSchema: z.ZodSchema<HTMLElement> = z.any().refine((v) => v instanceof HTMLElement);