@opencrvs/toolkit 1.8.0-rc.fa8bcf6 → 1.8.0-rc.facf9d6

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 (39) hide show
  1. package/dist/commons/api/router.d.ts +7597 -4530
  2. package/dist/commons/conditionals/conditionals.d.ts +7 -6
  3. package/dist/commons/events/ActionConfig.d.ts +47498 -39631
  4. package/dist/commons/events/ActionDocument.d.ts +620 -413
  5. package/dist/commons/events/ActionInput.d.ts +255 -183
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +637 -48
  7. package/dist/commons/events/Constants.d.ts +2 -0
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  9. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  10. package/dist/commons/events/Draft.d.ts +29 -26
  11. package/dist/commons/events/EventConfig.d.ts +18414 -16593
  12. package/dist/commons/events/EventDocument.d.ts +373 -325
  13. package/dist/commons/events/EventIndex.d.ts +706 -291
  14. package/dist/commons/events/EventInput.d.ts +0 -13
  15. package/dist/commons/events/EventMetadata.d.ts +290 -14
  16. package/dist/commons/events/FieldConfig.d.ts +1305 -441
  17. package/dist/commons/events/FieldType.d.ts +3 -2
  18. package/dist/commons/events/FieldTypeMapping.d.ts +16 -6
  19. package/dist/commons/events/FieldValue.d.ts +8 -3
  20. package/dist/commons/events/FormConfig.d.ts +8993 -3809
  21. package/dist/commons/events/PageConfig.d.ts +1912 -636
  22. package/dist/commons/events/SummaryConfig.d.ts +17 -0
  23. package/dist/commons/events/User.d.ts +31 -7
  24. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  25. package/dist/commons/events/WorkqueueConfig.d.ts +4491 -10
  26. package/dist/commons/events/defineConfig.d.ts +3576 -3692
  27. package/dist/commons/events/event.d.ts +37 -8
  28. package/dist/commons/events/field.d.ts +28 -23
  29. package/dist/commons/events/index.d.ts +4 -0
  30. package/dist/commons/events/scopes.d.ts +21 -2
  31. package/dist/commons/events/serializer.d.ts +2 -0
  32. package/dist/commons/events/test.utils.d.ts +33 -13
  33. package/dist/commons/events/utils.d.ts +619 -291
  34. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  35. package/dist/conditionals/index.js +28 -8
  36. package/dist/events/index.js +3204 -1546
  37. package/dist/scopes/index.d.ts +158 -1
  38. package/dist/scopes/index.js +152 -1
  39. package/package.json +1 -1
@@ -1,15 +1,21 @@
1
1
  import { z } from 'zod';
2
2
  import { TranslationConfig } from './TranslationConfig';
3
3
  import { FieldType } from './FieldType';
4
+ export declare const FieldReference: z.ZodObject<{
5
+ $$field: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ $$field: string;
8
+ }, {
9
+ $$field: string;
10
+ }>;
4
11
  declare const BaseField: z.ZodObject<{
5
12
  id: z.ZodString;
6
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
7
13
  parent: z.ZodOptional<z.ZodObject<{
8
- _fieldId: z.ZodOptional<z.ZodString>;
14
+ $$field: z.ZodString;
9
15
  }, "strip", z.ZodTypeAny, {
10
- _fieldId?: string | undefined;
16
+ $$field: string;
11
17
  }, {
12
- _fieldId?: string | undefined;
18
+ $$field: string;
13
19
  }>>;
14
20
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
15
21
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -41,19 +47,23 @@ declare const BaseField: z.ZodObject<{
41
47
  description: string;
42
48
  defaultMessage: string;
43
49
  }>;
50
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
51
+ id: string;
52
+ description: string;
53
+ defaultMessage: string;
54
+ }>>;
44
55
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
45
56
  }, "strip", z.ZodTypeAny, {
46
57
  id: string;
47
58
  label: TranslationConfig;
48
59
  parent?: {
49
- _fieldId?: string | undefined;
60
+ $$field: string;
50
61
  } | undefined;
51
62
  validation?: {
52
63
  message: TranslationConfig;
53
64
  validator: import(".").JSONSchema;
54
65
  }[] | undefined;
55
66
  required?: boolean | undefined;
56
- defaultValue?: string | number | boolean | undefined;
57
67
  conditionals?: ({
58
68
  type: "SHOW";
59
69
  conditional: import(".").JSONSchema;
@@ -65,6 +75,7 @@ declare const BaseField: z.ZodObject<{
65
75
  conditional: import(".").JSONSchema;
66
76
  })[] | undefined;
67
77
  placeholder?: TranslationConfig | undefined;
78
+ helperText?: TranslationConfig | undefined;
68
79
  hideLabel?: boolean | undefined;
69
80
  }, {
70
81
  id: string;
@@ -74,7 +85,7 @@ declare const BaseField: z.ZodObject<{
74
85
  defaultMessage: string;
75
86
  };
76
87
  parent?: {
77
- _fieldId?: string | undefined;
88
+ $$field: string;
78
89
  } | undefined;
79
90
  validation?: {
80
91
  message: {
@@ -85,7 +96,6 @@ declare const BaseField: z.ZodObject<{
85
96
  validator: import(".").JSONSchema;
86
97
  }[] | undefined;
87
98
  required?: boolean | undefined;
88
- defaultValue?: string | number | boolean | undefined;
89
99
  conditionals?: ({
90
100
  type: "SHOW";
91
101
  conditional: import(".").JSONSchema;
@@ -101,18 +111,22 @@ declare const BaseField: z.ZodObject<{
101
111
  description: string;
102
112
  defaultMessage: string;
103
113
  } | undefined;
114
+ helperText?: {
115
+ id: string;
116
+ description: string;
117
+ defaultMessage: string;
118
+ } | undefined;
104
119
  hideLabel?: boolean | undefined;
105
120
  }>;
106
121
  export type BaseField = z.infer<typeof BaseField>;
107
122
  declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
108
123
  id: z.ZodString;
109
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
110
124
  parent: z.ZodOptional<z.ZodObject<{
111
- _fieldId: z.ZodOptional<z.ZodString>;
125
+ $$field: z.ZodString;
112
126
  }, "strip", z.ZodTypeAny, {
113
- _fieldId?: string | undefined;
127
+ $$field: string;
114
128
  }, {
115
- _fieldId?: string | undefined;
129
+ $$field: string;
116
130
  }>>;
117
131
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
118
132
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -144,6 +158,11 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
144
158
  description: string;
145
159
  defaultMessage: string;
146
160
  }>;
161
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
162
+ id: string;
163
+ description: string;
164
+ defaultMessage: string;
165
+ }>>;
147
166
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
148
167
  }, {
149
168
  type: z.ZodLiteral<"DIVIDER">;
@@ -152,14 +171,13 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
152
171
  id: string;
153
172
  label: TranslationConfig;
154
173
  parent?: {
155
- _fieldId?: string | undefined;
174
+ $$field: string;
156
175
  } | undefined;
157
176
  validation?: {
158
177
  message: TranslationConfig;
159
178
  validator: import(".").JSONSchema;
160
179
  }[] | undefined;
161
180
  required?: boolean | undefined;
162
- defaultValue?: string | number | boolean | undefined;
163
181
  conditionals?: ({
164
182
  type: "SHOW";
165
183
  conditional: import(".").JSONSchema;
@@ -171,6 +189,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
171
189
  conditional: import(".").JSONSchema;
172
190
  })[] | undefined;
173
191
  placeholder?: TranslationConfig | undefined;
192
+ helperText?: TranslationConfig | undefined;
174
193
  hideLabel?: boolean | undefined;
175
194
  }, {
176
195
  type: "DIVIDER";
@@ -181,7 +200,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
181
200
  defaultMessage: string;
182
201
  };
183
202
  parent?: {
184
- _fieldId?: string | undefined;
203
+ $$field: string;
185
204
  } | undefined;
186
205
  validation?: {
187
206
  message: {
@@ -192,7 +211,6 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
192
211
  validator: import(".").JSONSchema;
193
212
  }[] | undefined;
194
213
  required?: boolean | undefined;
195
- defaultValue?: string | number | boolean | undefined;
196
214
  conditionals?: ({
197
215
  type: "SHOW";
198
216
  conditional: import(".").JSONSchema;
@@ -208,18 +226,22 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
208
226
  description: string;
209
227
  defaultMessage: string;
210
228
  } | undefined;
229
+ helperText?: {
230
+ id: string;
231
+ description: string;
232
+ defaultMessage: string;
233
+ } | undefined;
211
234
  hideLabel?: boolean | undefined;
212
235
  }>;
213
236
  export type Divider = z.infer<typeof Divider>;
214
237
  declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
215
238
  id: z.ZodString;
216
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
217
239
  parent: z.ZodOptional<z.ZodObject<{
218
- _fieldId: z.ZodOptional<z.ZodString>;
240
+ $$field: z.ZodString;
219
241
  }, "strip", z.ZodTypeAny, {
220
- _fieldId?: string | undefined;
242
+ $$field: string;
221
243
  }, {
222
- _fieldId?: string | undefined;
244
+ $$field: string;
223
245
  }>>;
224
246
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
225
247
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -251,6 +273,11 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
251
273
  description: string;
252
274
  defaultMessage: string;
253
275
  }>;
276
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
277
+ id: string;
278
+ description: string;
279
+ defaultMessage: string;
280
+ }>>;
254
281
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
255
282
  }, {
256
283
  type: z.ZodLiteral<"TEXT">;
@@ -292,14 +319,13 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
292
319
  id: string;
293
320
  label: TranslationConfig;
294
321
  parent?: {
295
- _fieldId?: string | undefined;
322
+ $$field: string;
296
323
  } | undefined;
297
324
  validation?: {
298
325
  message: TranslationConfig;
299
326
  validator: import(".").JSONSchema;
300
327
  }[] | undefined;
301
328
  required?: boolean | undefined;
302
- defaultValue?: string | undefined;
303
329
  conditionals?: ({
304
330
  type: "SHOW";
305
331
  conditional: import(".").JSONSchema;
@@ -311,7 +337,9 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
311
337
  conditional: import(".").JSONSchema;
312
338
  })[] | undefined;
313
339
  placeholder?: TranslationConfig | undefined;
340
+ helperText?: TranslationConfig | undefined;
314
341
  hideLabel?: boolean | undefined;
342
+ defaultValue?: string | undefined;
315
343
  configuration?: {
316
344
  type?: "text" | "password" | undefined;
317
345
  maxLength?: number | undefined;
@@ -327,7 +355,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
327
355
  defaultMessage: string;
328
356
  };
329
357
  parent?: {
330
- _fieldId?: string | undefined;
358
+ $$field: string;
331
359
  } | undefined;
332
360
  validation?: {
333
361
  message: {
@@ -338,7 +366,6 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
338
366
  validator: import(".").JSONSchema;
339
367
  }[] | undefined;
340
368
  required?: boolean | undefined;
341
- defaultValue?: string | undefined;
342
369
  conditionals?: ({
343
370
  type: "SHOW";
344
371
  conditional: import(".").JSONSchema;
@@ -354,7 +381,13 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
354
381
  description: string;
355
382
  defaultMessage: string;
356
383
  } | undefined;
384
+ helperText?: {
385
+ id: string;
386
+ description: string;
387
+ defaultMessage: string;
388
+ } | undefined;
357
389
  hideLabel?: boolean | undefined;
390
+ defaultValue?: string | undefined;
358
391
  configuration?: {
359
392
  type?: "text" | "password" | undefined;
360
393
  maxLength?: number | undefined;
@@ -373,13 +406,12 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
373
406
  export type TextField = z.infer<typeof TextField>;
374
407
  declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
375
408
  id: z.ZodString;
376
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
377
409
  parent: z.ZodOptional<z.ZodObject<{
378
- _fieldId: z.ZodOptional<z.ZodString>;
410
+ $$field: z.ZodString;
379
411
  }, "strip", z.ZodTypeAny, {
380
- _fieldId?: string | undefined;
412
+ $$field: string;
381
413
  }, {
382
- _fieldId?: string | undefined;
414
+ $$field: string;
383
415
  }>>;
384
416
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
385
417
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -411,6 +443,11 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
411
443
  description: string;
412
444
  defaultMessage: string;
413
445
  }>;
446
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
447
+ id: string;
448
+ description: string;
449
+ defaultMessage: string;
450
+ }>>;
414
451
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
415
452
  }, {
416
453
  type: z.ZodLiteral<"NUMBER">;
@@ -452,14 +489,13 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
452
489
  id: string;
453
490
  label: TranslationConfig;
454
491
  parent?: {
455
- _fieldId?: string | undefined;
492
+ $$field: string;
456
493
  } | undefined;
457
494
  validation?: {
458
495
  message: TranslationConfig;
459
496
  validator: import(".").JSONSchema;
460
497
  }[] | undefined;
461
498
  required?: boolean | undefined;
462
- defaultValue?: number | undefined;
463
499
  conditionals?: ({
464
500
  type: "SHOW";
465
501
  conditional: import(".").JSONSchema;
@@ -471,7 +507,9 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
471
507
  conditional: import(".").JSONSchema;
472
508
  })[] | undefined;
473
509
  placeholder?: TranslationConfig | undefined;
510
+ helperText?: TranslationConfig | undefined;
474
511
  hideLabel?: boolean | undefined;
512
+ defaultValue?: number | undefined;
475
513
  configuration?: {
476
514
  prefix?: TranslationConfig | undefined;
477
515
  postfix?: TranslationConfig | undefined;
@@ -487,7 +525,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
487
525
  defaultMessage: string;
488
526
  };
489
527
  parent?: {
490
- _fieldId?: string | undefined;
528
+ $$field: string;
491
529
  } | undefined;
492
530
  validation?: {
493
531
  message: {
@@ -498,7 +536,6 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
498
536
  validator: import(".").JSONSchema;
499
537
  }[] | undefined;
500
538
  required?: boolean | undefined;
501
- defaultValue?: number | undefined;
502
539
  conditionals?: ({
503
540
  type: "SHOW";
504
541
  conditional: import(".").JSONSchema;
@@ -514,7 +551,13 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
514
551
  description: string;
515
552
  defaultMessage: string;
516
553
  } | undefined;
554
+ helperText?: {
555
+ id: string;
556
+ description: string;
557
+ defaultMessage: string;
558
+ } | undefined;
517
559
  hideLabel?: boolean | undefined;
560
+ defaultValue?: number | undefined;
518
561
  configuration?: {
519
562
  prefix?: {
520
563
  id: string;
@@ -532,13 +575,12 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
532
575
  }>;
533
576
  declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
534
577
  id: z.ZodString;
535
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
536
578
  parent: z.ZodOptional<z.ZodObject<{
537
- _fieldId: z.ZodOptional<z.ZodString>;
579
+ $$field: z.ZodString;
538
580
  }, "strip", z.ZodTypeAny, {
539
- _fieldId?: string | undefined;
581
+ $$field: string;
540
582
  }, {
541
- _fieldId?: string | undefined;
583
+ $$field: string;
542
584
  }>>;
543
585
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
544
586
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -570,6 +612,11 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
570
612
  description: string;
571
613
  defaultMessage: string;
572
614
  }>;
615
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
616
+ id: string;
617
+ description: string;
618
+ defaultMessage: string;
619
+ }>>;
573
620
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
574
621
  }, {
575
622
  type: z.ZodLiteral<"TEXTAREA">;
@@ -614,14 +661,13 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
614
661
  id: string;
615
662
  label: TranslationConfig;
616
663
  parent?: {
617
- _fieldId?: string | undefined;
664
+ $$field: string;
618
665
  } | undefined;
619
666
  validation?: {
620
667
  message: TranslationConfig;
621
668
  validator: import(".").JSONSchema;
622
669
  }[] | undefined;
623
670
  required?: boolean | undefined;
624
- defaultValue?: string | undefined;
625
671
  conditionals?: ({
626
672
  type: "SHOW";
627
673
  conditional: import(".").JSONSchema;
@@ -633,7 +679,9 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
633
679
  conditional: import(".").JSONSchema;
634
680
  })[] | undefined;
635
681
  placeholder?: TranslationConfig | undefined;
682
+ helperText?: TranslationConfig | undefined;
636
683
  hideLabel?: boolean | undefined;
684
+ defaultValue?: string | undefined;
637
685
  configuration?: {
638
686
  maxLength?: number | undefined;
639
687
  prefix?: TranslationConfig | undefined;
@@ -650,7 +698,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
650
698
  defaultMessage: string;
651
699
  };
652
700
  parent?: {
653
- _fieldId?: string | undefined;
701
+ $$field: string;
654
702
  } | undefined;
655
703
  validation?: {
656
704
  message: {
@@ -661,7 +709,6 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
661
709
  validator: import(".").JSONSchema;
662
710
  }[] | undefined;
663
711
  required?: boolean | undefined;
664
- defaultValue?: string | undefined;
665
712
  conditionals?: ({
666
713
  type: "SHOW";
667
714
  conditional: import(".").JSONSchema;
@@ -677,7 +724,13 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
677
724
  description: string;
678
725
  defaultMessage: string;
679
726
  } | undefined;
727
+ helperText?: {
728
+ id: string;
729
+ description: string;
730
+ defaultMessage: string;
731
+ } | undefined;
680
732
  hideLabel?: boolean | undefined;
733
+ defaultValue?: string | undefined;
681
734
  configuration?: {
682
735
  maxLength?: number | undefined;
683
736
  prefix?: {
@@ -700,13 +753,12 @@ export declare const MimeType: z.ZodEnum<["image/png", "image/jpg", "image/jpeg"
700
753
  export type MimeType = z.infer<typeof MimeType>;
701
754
  declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
702
755
  id: z.ZodString;
703
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
704
756
  parent: z.ZodOptional<z.ZodObject<{
705
- _fieldId: z.ZodOptional<z.ZodString>;
757
+ $$field: z.ZodString;
706
758
  }, "strip", z.ZodTypeAny, {
707
- _fieldId?: string | undefined;
759
+ $$field: string;
708
760
  }, {
709
- _fieldId?: string | undefined;
761
+ $$field: string;
710
762
  }>>;
711
763
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
712
764
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -738,6 +790,11 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
738
790
  description: string;
739
791
  defaultMessage: string;
740
792
  }>;
793
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
794
+ id: string;
795
+ description: string;
796
+ defaultMessage: string;
797
+ }>>;
741
798
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
742
799
  }, {
743
800
  type: z.ZodLiteral<"SIGNATURE">;
@@ -746,6 +803,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
746
803
  description: string;
747
804
  defaultMessage: string;
748
805
  }>;
806
+ defaultValue: z.ZodOptional<z.ZodString>;
749
807
  configuration: z.ZodDefault<z.ZodObject<{
750
808
  maxFileSize: z.ZodDefault<z.ZodNumber>;
751
809
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
@@ -766,14 +824,13 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
766
824
  };
767
825
  signaturePromptLabel: TranslationConfig;
768
826
  parent?: {
769
- _fieldId?: string | undefined;
827
+ $$field: string;
770
828
  } | undefined;
771
829
  validation?: {
772
830
  message: TranslationConfig;
773
831
  validator: import(".").JSONSchema;
774
832
  }[] | undefined;
775
833
  required?: boolean | undefined;
776
- defaultValue?: string | number | boolean | undefined;
777
834
  conditionals?: ({
778
835
  type: "SHOW";
779
836
  conditional: import(".").JSONSchema;
@@ -785,7 +842,9 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
785
842
  conditional: import(".").JSONSchema;
786
843
  })[] | undefined;
787
844
  placeholder?: TranslationConfig | undefined;
845
+ helperText?: TranslationConfig | undefined;
788
846
  hideLabel?: boolean | undefined;
847
+ defaultValue?: string | undefined;
789
848
  }, {
790
849
  type: "SIGNATURE";
791
850
  id: string;
@@ -800,7 +859,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
800
859
  defaultMessage: string;
801
860
  };
802
861
  parent?: {
803
- _fieldId?: string | undefined;
862
+ $$field: string;
804
863
  } | undefined;
805
864
  validation?: {
806
865
  message: {
@@ -811,7 +870,6 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
811
870
  validator: import(".").JSONSchema;
812
871
  }[] | undefined;
813
872
  required?: boolean | undefined;
814
- defaultValue?: string | number | boolean | undefined;
815
873
  conditionals?: ({
816
874
  type: "SHOW";
817
875
  conditional: import(".").JSONSchema;
@@ -827,7 +885,13 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
827
885
  description: string;
828
886
  defaultMessage: string;
829
887
  } | undefined;
888
+ helperText?: {
889
+ id: string;
890
+ description: string;
891
+ defaultMessage: string;
892
+ } | undefined;
830
893
  hideLabel?: boolean | undefined;
894
+ defaultValue?: string | undefined;
831
895
  configuration?: {
832
896
  maxFileSize?: number | undefined;
833
897
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
@@ -836,13 +900,12 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
836
900
  export type SignatureField = z.infer<typeof SignatureField>;
837
901
  export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
838
902
  id: z.ZodString;
839
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
840
903
  parent: z.ZodOptional<z.ZodObject<{
841
- _fieldId: z.ZodOptional<z.ZodString>;
904
+ $$field: z.ZodString;
842
905
  }, "strip", z.ZodTypeAny, {
843
- _fieldId?: string | undefined;
906
+ $$field: string;
844
907
  }, {
845
- _fieldId?: string | undefined;
908
+ $$field: string;
846
909
  }>>;
847
910
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
848
911
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -874,6 +937,11 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
874
937
  description: string;
875
938
  defaultMessage: string;
876
939
  }>;
940
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
941
+ id: string;
942
+ description: string;
943
+ defaultMessage: string;
944
+ }>>;
877
945
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
878
946
  }, {
879
947
  type: z.ZodLiteral<"EMAIL">;
@@ -890,14 +958,13 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
890
958
  id: string;
891
959
  label: TranslationConfig;
892
960
  parent?: {
893
- _fieldId?: string | undefined;
961
+ $$field: string;
894
962
  } | undefined;
895
963
  validation?: {
896
964
  message: TranslationConfig;
897
965
  validator: import(".").JSONSchema;
898
966
  }[] | undefined;
899
967
  required?: boolean | undefined;
900
- defaultValue?: string | undefined;
901
968
  conditionals?: ({
902
969
  type: "SHOW";
903
970
  conditional: import(".").JSONSchema;
@@ -909,7 +976,9 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
909
976
  conditional: import(".").JSONSchema;
910
977
  })[] | undefined;
911
978
  placeholder?: TranslationConfig | undefined;
979
+ helperText?: TranslationConfig | undefined;
912
980
  hideLabel?: boolean | undefined;
981
+ defaultValue?: string | undefined;
913
982
  configuration?: {
914
983
  maxLength?: number | undefined;
915
984
  } | undefined;
@@ -922,7 +991,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
922
991
  defaultMessage: string;
923
992
  };
924
993
  parent?: {
925
- _fieldId?: string | undefined;
994
+ $$field: string;
926
995
  } | undefined;
927
996
  validation?: {
928
997
  message: {
@@ -933,7 +1002,6 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
933
1002
  validator: import(".").JSONSchema;
934
1003
  }[] | undefined;
935
1004
  required?: boolean | undefined;
936
- defaultValue?: string | undefined;
937
1005
  conditionals?: ({
938
1006
  type: "SHOW";
939
1007
  conditional: import(".").JSONSchema;
@@ -949,7 +1017,13 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
949
1017
  description: string;
950
1018
  defaultMessage: string;
951
1019
  } | undefined;
1020
+ helperText?: {
1021
+ id: string;
1022
+ description: string;
1023
+ defaultMessage: string;
1024
+ } | undefined;
952
1025
  hideLabel?: boolean | undefined;
1026
+ defaultValue?: string | undefined;
953
1027
  configuration?: {
954
1028
  maxLength?: number | undefined;
955
1029
  } | undefined;
@@ -957,13 +1031,12 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
957
1031
  export type EmailField = z.infer<typeof EmailField>;
958
1032
  declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
959
1033
  id: z.ZodString;
960
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
961
1034
  parent: z.ZodOptional<z.ZodObject<{
962
- _fieldId: z.ZodOptional<z.ZodString>;
1035
+ $$field: z.ZodString;
963
1036
  }, "strip", z.ZodTypeAny, {
964
- _fieldId?: string | undefined;
1037
+ $$field: string;
965
1038
  }, {
966
- _fieldId?: string | undefined;
1039
+ $$field: string;
967
1040
  }>>;
968
1041
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
969
1042
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -995,6 +1068,11 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
995
1068
  description: string;
996
1069
  defaultMessage: string;
997
1070
  }>;
1071
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1072
+ id: string;
1073
+ description: string;
1074
+ defaultMessage: string;
1075
+ }>>;
998
1076
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
999
1077
  }, {
1000
1078
  type: z.ZodLiteral<"DATE">;
@@ -1019,14 +1097,13 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1019
1097
  id: string;
1020
1098
  label: TranslationConfig;
1021
1099
  parent?: {
1022
- _fieldId?: string | undefined;
1100
+ $$field: string;
1023
1101
  } | undefined;
1024
1102
  validation?: {
1025
1103
  message: TranslationConfig;
1026
1104
  validator: import(".").JSONSchema;
1027
1105
  }[] | undefined;
1028
1106
  required?: boolean | undefined;
1029
- defaultValue?: string | undefined;
1030
1107
  conditionals?: ({
1031
1108
  type: "SHOW";
1032
1109
  conditional: import(".").JSONSchema;
@@ -1038,7 +1115,9 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1038
1115
  conditional: import(".").JSONSchema;
1039
1116
  })[] | undefined;
1040
1117
  placeholder?: TranslationConfig | undefined;
1118
+ helperText?: TranslationConfig | undefined;
1041
1119
  hideLabel?: boolean | undefined;
1120
+ defaultValue?: string | undefined;
1042
1121
  configuration?: {
1043
1122
  notice?: TranslationConfig | undefined;
1044
1123
  } | undefined;
@@ -1051,7 +1130,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1051
1130
  defaultMessage: string;
1052
1131
  };
1053
1132
  parent?: {
1054
- _fieldId?: string | undefined;
1133
+ $$field: string;
1055
1134
  } | undefined;
1056
1135
  validation?: {
1057
1136
  message: {
@@ -1062,7 +1141,6 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1062
1141
  validator: import(".").JSONSchema;
1063
1142
  }[] | undefined;
1064
1143
  required?: boolean | undefined;
1065
- defaultValue?: string | undefined;
1066
1144
  conditionals?: ({
1067
1145
  type: "SHOW";
1068
1146
  conditional: import(".").JSONSchema;
@@ -1078,7 +1156,13 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1078
1156
  description: string;
1079
1157
  defaultMessage: string;
1080
1158
  } | undefined;
1159
+ helperText?: {
1160
+ id: string;
1161
+ description: string;
1162
+ defaultMessage: string;
1163
+ } | undefined;
1081
1164
  hideLabel?: boolean | undefined;
1165
+ defaultValue?: string | undefined;
1082
1166
  configuration?: {
1083
1167
  notice?: {
1084
1168
  id: string;
@@ -1088,17 +1172,182 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
1088
1172
  } | undefined;
1089
1173
  }>;
1090
1174
  export type DateField = z.infer<typeof DateField>;
1175
+ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
1176
+ id: z.ZodString;
1177
+ parent: z.ZodOptional<z.ZodObject<{
1178
+ $$field: z.ZodString;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ $$field: string;
1181
+ }, {
1182
+ $$field: string;
1183
+ }>>;
1184
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1185
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1186
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1187
+ id: string;
1188
+ description: string;
1189
+ defaultMessage: string;
1190
+ }>>;
1191
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
1192
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1193
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1194
+ id: string;
1195
+ description: string;
1196
+ defaultMessage: string;
1197
+ }>;
1198
+ }, "strip", z.ZodTypeAny, {
1199
+ message: TranslationConfig;
1200
+ validator: import(".").JSONSchema;
1201
+ }, {
1202
+ message: {
1203
+ id: string;
1204
+ description: string;
1205
+ defaultMessage: string;
1206
+ };
1207
+ validator: import(".").JSONSchema;
1208
+ }>, "many">>>;
1209
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1210
+ id: string;
1211
+ description: string;
1212
+ defaultMessage: string;
1213
+ }>;
1214
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1215
+ id: string;
1216
+ description: string;
1217
+ defaultMessage: string;
1218
+ }>>;
1219
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1220
+ }, {
1221
+ type: z.ZodLiteral<"DATE_RANGE">;
1222
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
1223
+ configuration: z.ZodOptional<z.ZodObject<{
1224
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1225
+ id: string;
1226
+ description: string;
1227
+ defaultMessage: string;
1228
+ }>>;
1229
+ }, "strip", z.ZodTypeAny, {
1230
+ notice?: TranslationConfig | undefined;
1231
+ }, {
1232
+ notice?: {
1233
+ id: string;
1234
+ description: string;
1235
+ defaultMessage: string;
1236
+ } | undefined;
1237
+ }>>;
1238
+ }>, "strip", z.ZodTypeAny, {
1239
+ type: "DATE_RANGE";
1240
+ id: string;
1241
+ label: TranslationConfig;
1242
+ parent?: {
1243
+ $$field: string;
1244
+ } | undefined;
1245
+ validation?: {
1246
+ message: TranslationConfig;
1247
+ validator: import(".").JSONSchema;
1248
+ }[] | undefined;
1249
+ required?: boolean | undefined;
1250
+ conditionals?: ({
1251
+ type: "SHOW";
1252
+ conditional: import(".").JSONSchema;
1253
+ } | {
1254
+ type: "ENABLE";
1255
+ conditional: import(".").JSONSchema;
1256
+ } | {
1257
+ type: "DISPLAY_ON_REVIEW";
1258
+ conditional: import(".").JSONSchema;
1259
+ })[] | undefined;
1260
+ placeholder?: TranslationConfig | undefined;
1261
+ helperText?: TranslationConfig | undefined;
1262
+ hideLabel?: boolean | undefined;
1263
+ defaultValue?: string | [string, string] | undefined;
1264
+ configuration?: {
1265
+ notice?: TranslationConfig | undefined;
1266
+ } | undefined;
1267
+ }, {
1268
+ type: "DATE_RANGE";
1269
+ id: string;
1270
+ label: {
1271
+ id: string;
1272
+ description: string;
1273
+ defaultMessage: string;
1274
+ };
1275
+ parent?: {
1276
+ $$field: string;
1277
+ } | undefined;
1278
+ validation?: {
1279
+ message: {
1280
+ id: string;
1281
+ description: string;
1282
+ defaultMessage: string;
1283
+ };
1284
+ validator: import(".").JSONSchema;
1285
+ }[] | undefined;
1286
+ required?: boolean | undefined;
1287
+ conditionals?: ({
1288
+ type: "SHOW";
1289
+ conditional: import(".").JSONSchema;
1290
+ } | {
1291
+ type: "ENABLE";
1292
+ conditional: import(".").JSONSchema;
1293
+ } | {
1294
+ type: "DISPLAY_ON_REVIEW";
1295
+ conditional: import(".").JSONSchema;
1296
+ })[] | undefined;
1297
+ placeholder?: {
1298
+ id: string;
1299
+ description: string;
1300
+ defaultMessage: string;
1301
+ } | undefined;
1302
+ helperText?: {
1303
+ id: string;
1304
+ description: string;
1305
+ defaultMessage: string;
1306
+ } | undefined;
1307
+ hideLabel?: boolean | undefined;
1308
+ defaultValue?: string | [string, string] | undefined;
1309
+ configuration?: {
1310
+ notice?: {
1311
+ id: string;
1312
+ description: string;
1313
+ defaultMessage: string;
1314
+ } | undefined;
1315
+ } | undefined;
1316
+ }>;
1317
+ export type DateRangeField = z.infer<typeof DateRangeField>;
1091
1318
  declare const HtmlFontVariant: z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>;
1092
1319
  export type HtmlFontVariant = z.infer<typeof HtmlFontVariant>;
1320
+ declare const ParagraphConfiguration: z.ZodDefault<z.ZodObject<{
1321
+ styles: z.ZodOptional<z.ZodObject<{
1322
+ fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
1323
+ hint: z.ZodOptional<z.ZodBoolean>;
1324
+ }, "strip", z.ZodTypeAny, {
1325
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1326
+ hint?: boolean | undefined;
1327
+ }, {
1328
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1329
+ hint?: boolean | undefined;
1330
+ }>>;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ styles?: {
1333
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1334
+ hint?: boolean | undefined;
1335
+ } | undefined;
1336
+ }, {
1337
+ styles?: {
1338
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1339
+ hint?: boolean | undefined;
1340
+ } | undefined;
1341
+ }>>;
1342
+ export type ParagraphConfiguration = z.infer<typeof ParagraphConfiguration>;
1093
1343
  declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1094
1344
  id: z.ZodString;
1095
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1096
1345
  parent: z.ZodOptional<z.ZodObject<{
1097
- _fieldId: z.ZodOptional<z.ZodString>;
1346
+ $$field: z.ZodString;
1098
1347
  }, "strip", z.ZodTypeAny, {
1099
- _fieldId?: string | undefined;
1348
+ $$field: string;
1100
1349
  }, {
1101
- _fieldId?: string | undefined;
1350
+ $$field: string;
1102
1351
  }>>;
1103
1352
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1104
1353
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1130,6 +1379,11 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1130
1379
  description: string;
1131
1380
  defaultMessage: string;
1132
1381
  }>;
1382
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1383
+ id: string;
1384
+ description: string;
1385
+ defaultMessage: string;
1386
+ }>>;
1133
1387
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1134
1388
  }, {
1135
1389
  type: z.ZodLiteral<"PARAGRAPH">;
@@ -1137,18 +1391,23 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1137
1391
  configuration: z.ZodDefault<z.ZodObject<{
1138
1392
  styles: z.ZodOptional<z.ZodObject<{
1139
1393
  fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
1394
+ hint: z.ZodOptional<z.ZodBoolean>;
1140
1395
  }, "strip", z.ZodTypeAny, {
1141
1396
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1397
+ hint?: boolean | undefined;
1142
1398
  }, {
1143
1399
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1400
+ hint?: boolean | undefined;
1144
1401
  }>>;
1145
1402
  }, "strip", z.ZodTypeAny, {
1146
1403
  styles?: {
1147
1404
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1405
+ hint?: boolean | undefined;
1148
1406
  } | undefined;
1149
1407
  }, {
1150
1408
  styles?: {
1151
1409
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1410
+ hint?: boolean | undefined;
1152
1411
  } | undefined;
1153
1412
  }>>;
1154
1413
  }>, "strip", z.ZodTypeAny, {
@@ -1158,17 +1417,17 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1158
1417
  configuration: {
1159
1418
  styles?: {
1160
1419
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1420
+ hint?: boolean | undefined;
1161
1421
  } | undefined;
1162
1422
  };
1163
1423
  parent?: {
1164
- _fieldId?: string | undefined;
1424
+ $$field: string;
1165
1425
  } | undefined;
1166
1426
  validation?: {
1167
1427
  message: TranslationConfig;
1168
1428
  validator: import(".").JSONSchema;
1169
1429
  }[] | undefined;
1170
1430
  required?: boolean | undefined;
1171
- defaultValue?: string | undefined;
1172
1431
  conditionals?: ({
1173
1432
  type: "SHOW";
1174
1433
  conditional: import(".").JSONSchema;
@@ -1180,7 +1439,9 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1180
1439
  conditional: import(".").JSONSchema;
1181
1440
  })[] | undefined;
1182
1441
  placeholder?: TranslationConfig | undefined;
1442
+ helperText?: TranslationConfig | undefined;
1183
1443
  hideLabel?: boolean | undefined;
1444
+ defaultValue?: string | undefined;
1184
1445
  }, {
1185
1446
  type: "PARAGRAPH";
1186
1447
  id: string;
@@ -1190,7 +1451,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1190
1451
  defaultMessage: string;
1191
1452
  };
1192
1453
  parent?: {
1193
- _fieldId?: string | undefined;
1454
+ $$field: string;
1194
1455
  } | undefined;
1195
1456
  validation?: {
1196
1457
  message: {
@@ -1201,7 +1462,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1201
1462
  validator: import(".").JSONSchema;
1202
1463
  }[] | undefined;
1203
1464
  required?: boolean | undefined;
1204
- defaultValue?: string | undefined;
1205
1465
  conditionals?: ({
1206
1466
  type: "SHOW";
1207
1467
  conditional: import(".").JSONSchema;
@@ -1217,23 +1477,29 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
1217
1477
  description: string;
1218
1478
  defaultMessage: string;
1219
1479
  } | undefined;
1480
+ helperText?: {
1481
+ id: string;
1482
+ description: string;
1483
+ defaultMessage: string;
1484
+ } | undefined;
1220
1485
  hideLabel?: boolean | undefined;
1486
+ defaultValue?: string | undefined;
1221
1487
  configuration?: {
1222
1488
  styles?: {
1223
1489
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1490
+ hint?: boolean | undefined;
1224
1491
  } | undefined;
1225
1492
  } | undefined;
1226
1493
  }>;
1227
1494
  export type Paragraph = z.infer<typeof Paragraph>;
1228
1495
  declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1229
1496
  id: z.ZodString;
1230
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1231
1497
  parent: z.ZodOptional<z.ZodObject<{
1232
- _fieldId: z.ZodOptional<z.ZodString>;
1498
+ $$field: z.ZodString;
1233
1499
  }, "strip", z.ZodTypeAny, {
1234
- _fieldId?: string | undefined;
1500
+ $$field: string;
1235
1501
  }, {
1236
- _fieldId?: string | undefined;
1502
+ $$field: string;
1237
1503
  }>>;
1238
1504
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1239
1505
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1265,6 +1531,11 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1265
1531
  description: string;
1266
1532
  defaultMessage: string;
1267
1533
  }>;
1534
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1535
+ id: string;
1536
+ description: string;
1537
+ defaultMessage: string;
1538
+ }>>;
1268
1539
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1269
1540
  }, {
1270
1541
  type: z.ZodLiteral<"PAGE_HEADER">;
@@ -1274,14 +1545,13 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1274
1545
  id: string;
1275
1546
  label: TranslationConfig;
1276
1547
  parent?: {
1277
- _fieldId?: string | undefined;
1548
+ $$field: string;
1278
1549
  } | undefined;
1279
1550
  validation?: {
1280
1551
  message: TranslationConfig;
1281
1552
  validator: import(".").JSONSchema;
1282
1553
  }[] | undefined;
1283
1554
  required?: boolean | undefined;
1284
- defaultValue?: string | undefined;
1285
1555
  conditionals?: ({
1286
1556
  type: "SHOW";
1287
1557
  conditional: import(".").JSONSchema;
@@ -1293,7 +1563,9 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1293
1563
  conditional: import(".").JSONSchema;
1294
1564
  })[] | undefined;
1295
1565
  placeholder?: TranslationConfig | undefined;
1566
+ helperText?: TranslationConfig | undefined;
1296
1567
  hideLabel?: boolean | undefined;
1568
+ defaultValue?: string | undefined;
1297
1569
  }, {
1298
1570
  type: "PAGE_HEADER";
1299
1571
  id: string;
@@ -1303,7 +1575,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1303
1575
  defaultMessage: string;
1304
1576
  };
1305
1577
  parent?: {
1306
- _fieldId?: string | undefined;
1578
+ $$field: string;
1307
1579
  } | undefined;
1308
1580
  validation?: {
1309
1581
  message: {
@@ -1314,7 +1586,6 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1314
1586
  validator: import(".").JSONSchema;
1315
1587
  }[] | undefined;
1316
1588
  required?: boolean | undefined;
1317
- defaultValue?: string | undefined;
1318
1589
  conditionals?: ({
1319
1590
  type: "SHOW";
1320
1591
  conditional: import(".").JSONSchema;
@@ -1330,18 +1601,23 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
1330
1601
  description: string;
1331
1602
  defaultMessage: string;
1332
1603
  } | undefined;
1604
+ helperText?: {
1605
+ id: string;
1606
+ description: string;
1607
+ defaultMessage: string;
1608
+ } | undefined;
1333
1609
  hideLabel?: boolean | undefined;
1610
+ defaultValue?: string | undefined;
1334
1611
  }>;
1335
1612
  export type PageHeader = z.infer<typeof PageHeader>;
1336
1613
  declare const File: z.ZodObject<z.objectUtil.extendShape<{
1337
1614
  id: z.ZodString;
1338
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1339
1615
  parent: z.ZodOptional<z.ZodObject<{
1340
- _fieldId: z.ZodOptional<z.ZodString>;
1616
+ $$field: z.ZodString;
1341
1617
  }, "strip", z.ZodTypeAny, {
1342
- _fieldId?: string | undefined;
1618
+ $$field: string;
1343
1619
  }, {
1344
- _fieldId?: string | undefined;
1620
+ $$field: string;
1345
1621
  }>>;
1346
1622
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1347
1623
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1373,9 +1649,27 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1373
1649
  description: string;
1374
1650
  defaultMessage: string;
1375
1651
  }>;
1652
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1653
+ id: string;
1654
+ description: string;
1655
+ defaultMessage: string;
1656
+ }>>;
1376
1657
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1377
1658
  }, {
1378
1659
  type: z.ZodLiteral<"FILE">;
1660
+ defaultValue: z.ZodOptional<z.ZodObject<{
1661
+ filename: z.ZodString;
1662
+ originalFilename: z.ZodString;
1663
+ type: z.ZodString;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ type: string;
1666
+ filename: string;
1667
+ originalFilename: string;
1668
+ }, {
1669
+ type: string;
1670
+ filename: string;
1671
+ originalFilename: string;
1672
+ }>>;
1379
1673
  configuration: z.ZodDefault<z.ZodObject<{
1380
1674
  maxFileSize: z.ZodDefault<z.ZodNumber>;
1381
1675
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
@@ -1423,14 +1717,13 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1423
1717
  fileName?: TranslationConfig | undefined;
1424
1718
  };
1425
1719
  parent?: {
1426
- _fieldId?: string | undefined;
1720
+ $$field: string;
1427
1721
  } | undefined;
1428
1722
  validation?: {
1429
1723
  message: TranslationConfig;
1430
1724
  validator: import(".").JSONSchema;
1431
1725
  }[] | undefined;
1432
1726
  required?: boolean | undefined;
1433
- defaultValue?: string | number | boolean | undefined;
1434
1727
  conditionals?: ({
1435
1728
  type: "SHOW";
1436
1729
  conditional: import(".").JSONSchema;
@@ -1442,8 +1735,14 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1442
1735
  conditional: import(".").JSONSchema;
1443
1736
  })[] | undefined;
1444
1737
  placeholder?: TranslationConfig | undefined;
1738
+ helperText?: TranslationConfig | undefined;
1445
1739
  hideLabel?: boolean | undefined;
1446
- }, {
1740
+ defaultValue?: {
1741
+ type: string;
1742
+ filename: string;
1743
+ originalFilename: string;
1744
+ } | undefined;
1745
+ }, {
1447
1746
  type: "FILE";
1448
1747
  id: string;
1449
1748
  label: {
@@ -1452,7 +1751,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1452
1751
  defaultMessage: string;
1453
1752
  };
1454
1753
  parent?: {
1455
- _fieldId?: string | undefined;
1754
+ $$field: string;
1456
1755
  } | undefined;
1457
1756
  validation?: {
1458
1757
  message: {
@@ -1463,7 +1762,6 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1463
1762
  validator: import(".").JSONSchema;
1464
1763
  }[] | undefined;
1465
1764
  required?: boolean | undefined;
1466
- defaultValue?: string | number | boolean | undefined;
1467
1765
  conditionals?: ({
1468
1766
  type: "SHOW";
1469
1767
  conditional: import(".").JSONSchema;
@@ -1479,7 +1777,17 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
1479
1777
  description: string;
1480
1778
  defaultMessage: string;
1481
1779
  } | undefined;
1780
+ helperText?: {
1781
+ id: string;
1782
+ description: string;
1783
+ defaultMessage: string;
1784
+ } | undefined;
1482
1785
  hideLabel?: boolean | undefined;
1786
+ defaultValue?: {
1787
+ type: string;
1788
+ filename: string;
1789
+ originalFilename: string;
1790
+ } | undefined;
1483
1791
  configuration?: {
1484
1792
  maxFileSize?: number | undefined;
1485
1793
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
@@ -1514,13 +1822,12 @@ export declare const SelectOption: z.ZodObject<{
1514
1822
  }>;
1515
1823
  declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1516
1824
  id: z.ZodString;
1517
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1518
1825
  parent: z.ZodOptional<z.ZodObject<{
1519
- _fieldId: z.ZodOptional<z.ZodString>;
1826
+ $$field: z.ZodString;
1520
1827
  }, "strip", z.ZodTypeAny, {
1521
- _fieldId?: string | undefined;
1828
+ $$field: string;
1522
1829
  }, {
1523
- _fieldId?: string | undefined;
1830
+ $$field: string;
1524
1831
  }>>;
1525
1832
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1526
1833
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1552,6 +1859,11 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1552
1859
  description: string;
1553
1860
  defaultMessage: string;
1554
1861
  }>;
1862
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1863
+ id: string;
1864
+ description: string;
1865
+ defaultMessage: string;
1866
+ }>>;
1555
1867
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1556
1868
  }, {
1557
1869
  type: z.ZodLiteral<"RADIO_GROUP">;
@@ -1600,14 +1912,13 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1600
1912
  }[];
1601
1913
  label: TranslationConfig;
1602
1914
  parent?: {
1603
- _fieldId?: string | undefined;
1915
+ $$field: string;
1604
1916
  } | undefined;
1605
1917
  validation?: {
1606
1918
  message: TranslationConfig;
1607
1919
  validator: import(".").JSONSchema;
1608
1920
  }[] | undefined;
1609
1921
  required?: boolean | undefined;
1610
- defaultValue?: string | undefined;
1611
1922
  conditionals?: ({
1612
1923
  type: "SHOW";
1613
1924
  conditional: import(".").JSONSchema;
@@ -1619,7 +1930,9 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1619
1930
  conditional: import(".").JSONSchema;
1620
1931
  })[] | undefined;
1621
1932
  placeholder?: TranslationConfig | undefined;
1933
+ helperText?: TranslationConfig | undefined;
1622
1934
  hideLabel?: boolean | undefined;
1935
+ defaultValue?: string | undefined;
1623
1936
  configuration?: {
1624
1937
  styles?: {
1625
1938
  size?: "NORMAL" | "LARGE" | undefined;
@@ -1642,7 +1955,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1642
1955
  defaultMessage: string;
1643
1956
  };
1644
1957
  parent?: {
1645
- _fieldId?: string | undefined;
1958
+ $$field: string;
1646
1959
  } | undefined;
1647
1960
  validation?: {
1648
1961
  message: {
@@ -1653,7 +1966,6 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1653
1966
  validator: import(".").JSONSchema;
1654
1967
  }[] | undefined;
1655
1968
  required?: boolean | undefined;
1656
- defaultValue?: string | undefined;
1657
1969
  conditionals?: ({
1658
1970
  type: "SHOW";
1659
1971
  conditional: import(".").JSONSchema;
@@ -1669,7 +1981,13 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1669
1981
  description: string;
1670
1982
  defaultMessage: string;
1671
1983
  } | undefined;
1984
+ helperText?: {
1985
+ id: string;
1986
+ description: string;
1987
+ defaultMessage: string;
1988
+ } | undefined;
1672
1989
  hideLabel?: boolean | undefined;
1990
+ defaultValue?: string | undefined;
1673
1991
  configuration?: {
1674
1992
  styles?: {
1675
1993
  size?: "NORMAL" | "LARGE" | undefined;
@@ -1679,13 +1997,12 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
1679
1997
  export type RadioGroup = z.infer<typeof RadioGroup>;
1680
1998
  declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1681
1999
  id: z.ZodString;
1682
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1683
2000
  parent: z.ZodOptional<z.ZodObject<{
1684
- _fieldId: z.ZodOptional<z.ZodString>;
2001
+ $$field: z.ZodString;
1685
2002
  }, "strip", z.ZodTypeAny, {
1686
- _fieldId?: string | undefined;
2003
+ $$field: string;
1687
2004
  }, {
1688
- _fieldId?: string | undefined;
2005
+ $$field: string;
1689
2006
  }>>;
1690
2007
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1691
2008
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1717,6 +2034,11 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1717
2034
  description: string;
1718
2035
  defaultMessage: string;
1719
2036
  }>;
2037
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2038
+ id: string;
2039
+ description: string;
2040
+ defaultMessage: string;
2041
+ }>>;
1720
2042
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1721
2043
  }, {
1722
2044
  type: z.ZodLiteral<"BULLET_LIST">;
@@ -1754,14 +2076,13 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1754
2076
  };
1755
2077
  items: TranslationConfig[];
1756
2078
  parent?: {
1757
- _fieldId?: string | undefined;
2079
+ $$field: string;
1758
2080
  } | undefined;
1759
2081
  validation?: {
1760
2082
  message: TranslationConfig;
1761
2083
  validator: import(".").JSONSchema;
1762
2084
  }[] | undefined;
1763
2085
  required?: boolean | undefined;
1764
- defaultValue?: string | undefined;
1765
2086
  conditionals?: ({
1766
2087
  type: "SHOW";
1767
2088
  conditional: import(".").JSONSchema;
@@ -1773,7 +2094,9 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1773
2094
  conditional: import(".").JSONSchema;
1774
2095
  })[] | undefined;
1775
2096
  placeholder?: TranslationConfig | undefined;
2097
+ helperText?: TranslationConfig | undefined;
1776
2098
  hideLabel?: boolean | undefined;
2099
+ defaultValue?: string | undefined;
1777
2100
  }, {
1778
2101
  type: "BULLET_LIST";
1779
2102
  id: string;
@@ -1788,7 +2111,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1788
2111
  defaultMessage: string;
1789
2112
  }[];
1790
2113
  parent?: {
1791
- _fieldId?: string | undefined;
2114
+ $$field: string;
1792
2115
  } | undefined;
1793
2116
  validation?: {
1794
2117
  message: {
@@ -1799,7 +2122,6 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1799
2122
  validator: import(".").JSONSchema;
1800
2123
  }[] | undefined;
1801
2124
  required?: boolean | undefined;
1802
- defaultValue?: string | undefined;
1803
2125
  conditionals?: ({
1804
2126
  type: "SHOW";
1805
2127
  conditional: import(".").JSONSchema;
@@ -1815,7 +2137,13 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1815
2137
  description: string;
1816
2138
  defaultMessage: string;
1817
2139
  } | undefined;
2140
+ helperText?: {
2141
+ id: string;
2142
+ description: string;
2143
+ defaultMessage: string;
2144
+ } | undefined;
1818
2145
  hideLabel?: boolean | undefined;
2146
+ defaultValue?: string | undefined;
1819
2147
  configuration?: {
1820
2148
  styles?: {
1821
2149
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
@@ -1825,13 +2153,12 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
1825
2153
  export type BulletList = z.infer<typeof BulletList>;
1826
2154
  declare const Select: z.ZodObject<z.objectUtil.extendShape<{
1827
2155
  id: z.ZodString;
1828
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1829
2156
  parent: z.ZodOptional<z.ZodObject<{
1830
- _fieldId: z.ZodOptional<z.ZodString>;
2157
+ $$field: z.ZodString;
1831
2158
  }, "strip", z.ZodTypeAny, {
1832
- _fieldId?: string | undefined;
2159
+ $$field: string;
1833
2160
  }, {
1834
- _fieldId?: string | undefined;
2161
+ $$field: string;
1835
2162
  }>>;
1836
2163
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1837
2164
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -1863,6 +2190,11 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
1863
2190
  description: string;
1864
2191
  defaultMessage: string;
1865
2192
  }>;
2193
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2194
+ id: string;
2195
+ description: string;
2196
+ defaultMessage: string;
2197
+ }>>;
1866
2198
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1867
2199
  }, {
1868
2200
  type: z.ZodLiteral<"SELECT">;
@@ -1894,14 +2226,13 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
1894
2226
  }[];
1895
2227
  label: TranslationConfig;
1896
2228
  parent?: {
1897
- _fieldId?: string | undefined;
2229
+ $$field: string;
1898
2230
  } | undefined;
1899
2231
  validation?: {
1900
2232
  message: TranslationConfig;
1901
2233
  validator: import(".").JSONSchema;
1902
2234
  }[] | undefined;
1903
2235
  required?: boolean | undefined;
1904
- defaultValue?: string | undefined;
1905
2236
  conditionals?: ({
1906
2237
  type: "SHOW";
1907
2238
  conditional: import(".").JSONSchema;
@@ -1913,7 +2244,9 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
1913
2244
  conditional: import(".").JSONSchema;
1914
2245
  })[] | undefined;
1915
2246
  placeholder?: TranslationConfig | undefined;
2247
+ helperText?: TranslationConfig | undefined;
1916
2248
  hideLabel?: boolean | undefined;
2249
+ defaultValue?: string | undefined;
1917
2250
  }, {
1918
2251
  type: "SELECT";
1919
2252
  id: string;
@@ -1931,7 +2264,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
1931
2264
  defaultMessage: string;
1932
2265
  };
1933
2266
  parent?: {
1934
- _fieldId?: string | undefined;
2267
+ $$field: string;
1935
2268
  } | undefined;
1936
2269
  validation?: {
1937
2270
  message: {
@@ -1942,7 +2275,6 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
1942
2275
  validator: import(".").JSONSchema;
1943
2276
  }[] | undefined;
1944
2277
  required?: boolean | undefined;
1945
- defaultValue?: string | undefined;
1946
2278
  conditionals?: ({
1947
2279
  type: "SHOW";
1948
2280
  conditional: import(".").JSONSchema;
@@ -1958,17 +2290,22 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
1958
2290
  description: string;
1959
2291
  defaultMessage: string;
1960
2292
  } | undefined;
2293
+ helperText?: {
2294
+ id: string;
2295
+ description: string;
2296
+ defaultMessage: string;
2297
+ } | undefined;
1961
2298
  hideLabel?: boolean | undefined;
2299
+ defaultValue?: string | undefined;
1962
2300
  }>;
1963
2301
  declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
1964
2302
  id: z.ZodString;
1965
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1966
2303
  parent: z.ZodOptional<z.ZodObject<{
1967
- _fieldId: z.ZodOptional<z.ZodString>;
2304
+ $$field: z.ZodString;
1968
2305
  }, "strip", z.ZodTypeAny, {
1969
- _fieldId?: string | undefined;
2306
+ $$field: string;
1970
2307
  }, {
1971
- _fieldId?: string | undefined;
2308
+ $$field: string;
1972
2309
  }>>;
1973
2310
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1974
2311
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2000,6 +2337,11 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2000
2337
  description: string;
2001
2338
  defaultMessage: string;
2002
2339
  }>;
2340
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2341
+ id: string;
2342
+ description: string;
2343
+ defaultMessage: string;
2344
+ }>>;
2003
2345
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2004
2346
  }, {
2005
2347
  type: z.ZodLiteral<"CHECKBOX">;
@@ -2009,14 +2351,13 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2009
2351
  id: string;
2010
2352
  label: TranslationConfig;
2011
2353
  parent?: {
2012
- _fieldId?: string | undefined;
2354
+ $$field: string;
2013
2355
  } | undefined;
2014
2356
  validation?: {
2015
2357
  message: TranslationConfig;
2016
2358
  validator: import(".").JSONSchema;
2017
2359
  }[] | undefined;
2018
2360
  required?: boolean | undefined;
2019
- defaultValue?: boolean | undefined;
2020
2361
  conditionals?: ({
2021
2362
  type: "SHOW";
2022
2363
  conditional: import(".").JSONSchema;
@@ -2028,7 +2369,9 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2028
2369
  conditional: import(".").JSONSchema;
2029
2370
  })[] | undefined;
2030
2371
  placeholder?: TranslationConfig | undefined;
2372
+ helperText?: TranslationConfig | undefined;
2031
2373
  hideLabel?: boolean | undefined;
2374
+ defaultValue?: boolean | undefined;
2032
2375
  }, {
2033
2376
  type: "CHECKBOX";
2034
2377
  id: string;
@@ -2038,7 +2381,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2038
2381
  defaultMessage: string;
2039
2382
  };
2040
2383
  parent?: {
2041
- _fieldId?: string | undefined;
2384
+ $$field: string;
2042
2385
  } | undefined;
2043
2386
  validation?: {
2044
2387
  message: {
@@ -2049,7 +2392,6 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2049
2392
  validator: import(".").JSONSchema;
2050
2393
  }[] | undefined;
2051
2394
  required?: boolean | undefined;
2052
- defaultValue?: boolean | undefined;
2053
2395
  conditionals?: ({
2054
2396
  type: "SHOW";
2055
2397
  conditional: import(".").JSONSchema;
@@ -2065,18 +2407,23 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
2065
2407
  description: string;
2066
2408
  defaultMessage: string;
2067
2409
  } | undefined;
2410
+ helperText?: {
2411
+ id: string;
2412
+ description: string;
2413
+ defaultMessage: string;
2414
+ } | undefined;
2068
2415
  hideLabel?: boolean | undefined;
2416
+ defaultValue?: boolean | undefined;
2069
2417
  }>;
2070
2418
  export type Checkbox = z.infer<typeof Checkbox>;
2071
2419
  declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2072
2420
  id: z.ZodString;
2073
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2074
2421
  parent: z.ZodOptional<z.ZodObject<{
2075
- _fieldId: z.ZodOptional<z.ZodString>;
2422
+ $$field: z.ZodString;
2076
2423
  }, "strip", z.ZodTypeAny, {
2077
- _fieldId?: string | undefined;
2424
+ $$field: string;
2078
2425
  }, {
2079
- _fieldId?: string | undefined;
2426
+ $$field: string;
2080
2427
  }>>;
2081
2428
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2082
2429
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2108,6 +2455,11 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2108
2455
  description: string;
2109
2456
  defaultMessage: string;
2110
2457
  }>;
2458
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2459
+ id: string;
2460
+ description: string;
2461
+ defaultMessage: string;
2462
+ }>>;
2111
2463
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2112
2464
  }, {
2113
2465
  type: z.ZodLiteral<"COUNTRY">;
@@ -2117,14 +2469,13 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2117
2469
  id: string;
2118
2470
  label: TranslationConfig;
2119
2471
  parent?: {
2120
- _fieldId?: string | undefined;
2472
+ $$field: string;
2121
2473
  } | undefined;
2122
2474
  validation?: {
2123
2475
  message: TranslationConfig;
2124
2476
  validator: import(".").JSONSchema;
2125
2477
  }[] | undefined;
2126
2478
  required?: boolean | undefined;
2127
- defaultValue?: string | undefined;
2128
2479
  conditionals?: ({
2129
2480
  type: "SHOW";
2130
2481
  conditional: import(".").JSONSchema;
@@ -2136,7 +2487,9 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2136
2487
  conditional: import(".").JSONSchema;
2137
2488
  })[] | undefined;
2138
2489
  placeholder?: TranslationConfig | undefined;
2490
+ helperText?: TranslationConfig | undefined;
2139
2491
  hideLabel?: boolean | undefined;
2492
+ defaultValue?: string | undefined;
2140
2493
  }, {
2141
2494
  type: "COUNTRY";
2142
2495
  id: string;
@@ -2146,7 +2499,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2146
2499
  defaultMessage: string;
2147
2500
  };
2148
2501
  parent?: {
2149
- _fieldId?: string | undefined;
2502
+ $$field: string;
2150
2503
  } | undefined;
2151
2504
  validation?: {
2152
2505
  message: {
@@ -2157,7 +2510,6 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2157
2510
  validator: import(".").JSONSchema;
2158
2511
  }[] | undefined;
2159
2512
  required?: boolean | undefined;
2160
- defaultValue?: string | undefined;
2161
2513
  conditionals?: ({
2162
2514
  type: "SHOW";
2163
2515
  conditional: import(".").JSONSchema;
@@ -2173,7 +2525,13 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
2173
2525
  description: string;
2174
2526
  defaultMessage: string;
2175
2527
  } | undefined;
2528
+ helperText?: {
2529
+ id: string;
2530
+ description: string;
2531
+ defaultMessage: string;
2532
+ } | undefined;
2176
2533
  hideLabel?: boolean | undefined;
2534
+ defaultValue?: string | undefined;
2177
2535
  }>;
2178
2536
  export type Country = z.infer<typeof Country>;
2179
2537
  export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
@@ -2199,13 +2557,12 @@ declare const AdministrativeAreaConfiguration: z.ZodObject<{
2199
2557
  }>;
2200
2558
  declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2201
2559
  id: z.ZodString;
2202
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2203
2560
  parent: z.ZodOptional<z.ZodObject<{
2204
- _fieldId: z.ZodOptional<z.ZodString>;
2561
+ $$field: z.ZodString;
2205
2562
  }, "strip", z.ZodTypeAny, {
2206
- _fieldId?: string | undefined;
2563
+ $$field: string;
2207
2564
  }, {
2208
- _fieldId?: string | undefined;
2565
+ $$field: string;
2209
2566
  }>>;
2210
2567
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2211
2568
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2237,6 +2594,11 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2237
2594
  description: string;
2238
2595
  defaultMessage: string;
2239
2596
  }>;
2597
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2598
+ id: string;
2599
+ description: string;
2600
+ defaultMessage: string;
2601
+ }>>;
2240
2602
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2241
2603
  }, {
2242
2604
  type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
@@ -2272,14 +2634,13 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2272
2634
  } | undefined;
2273
2635
  };
2274
2636
  parent?: {
2275
- _fieldId?: string | undefined;
2637
+ $$field: string;
2276
2638
  } | undefined;
2277
2639
  validation?: {
2278
2640
  message: TranslationConfig;
2279
2641
  validator: import(".").JSONSchema;
2280
2642
  }[] | undefined;
2281
2643
  required?: boolean | undefined;
2282
- defaultValue?: string | undefined;
2283
2644
  conditionals?: ({
2284
2645
  type: "SHOW";
2285
2646
  conditional: import(".").JSONSchema;
@@ -2291,7 +2652,9 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2291
2652
  conditional: import(".").JSONSchema;
2292
2653
  })[] | undefined;
2293
2654
  placeholder?: TranslationConfig | undefined;
2655
+ helperText?: TranslationConfig | undefined;
2294
2656
  hideLabel?: boolean | undefined;
2657
+ defaultValue?: string | undefined;
2295
2658
  }, {
2296
2659
  type: "ADMINISTRATIVE_AREA";
2297
2660
  id: string;
@@ -2307,7 +2670,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2307
2670
  } | undefined;
2308
2671
  };
2309
2672
  parent?: {
2310
- _fieldId?: string | undefined;
2673
+ $$field: string;
2311
2674
  } | undefined;
2312
2675
  validation?: {
2313
2676
  message: {
@@ -2318,7 +2681,6 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2318
2681
  validator: import(".").JSONSchema;
2319
2682
  }[] | undefined;
2320
2683
  required?: boolean | undefined;
2321
- defaultValue?: string | undefined;
2322
2684
  conditionals?: ({
2323
2685
  type: "SHOW";
2324
2686
  conditional: import(".").JSONSchema;
@@ -2334,18 +2696,23 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
2334
2696
  description: string;
2335
2697
  defaultMessage: string;
2336
2698
  } | undefined;
2699
+ helperText?: {
2700
+ id: string;
2701
+ description: string;
2702
+ defaultMessage: string;
2703
+ } | undefined;
2337
2704
  hideLabel?: boolean | undefined;
2705
+ defaultValue?: string | undefined;
2338
2706
  }>;
2339
2707
  export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
2340
2708
  declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2341
2709
  id: z.ZodString;
2342
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2343
2710
  parent: z.ZodOptional<z.ZodObject<{
2344
- _fieldId: z.ZodOptional<z.ZodString>;
2711
+ $$field: z.ZodString;
2345
2712
  }, "strip", z.ZodTypeAny, {
2346
- _fieldId?: string | undefined;
2713
+ $$field: string;
2347
2714
  }, {
2348
- _fieldId?: string | undefined;
2715
+ $$field: string;
2349
2716
  }>>;
2350
2717
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2351
2718
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2377,6 +2744,11 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2377
2744
  description: string;
2378
2745
  defaultMessage: string;
2379
2746
  }>;
2747
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2748
+ id: string;
2749
+ description: string;
2750
+ defaultMessage: string;
2751
+ }>>;
2380
2752
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2381
2753
  }, {
2382
2754
  type: z.ZodLiteral<"LOCATION">;
@@ -2386,14 +2758,13 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2386
2758
  id: string;
2387
2759
  label: TranslationConfig;
2388
2760
  parent?: {
2389
- _fieldId?: string | undefined;
2761
+ $$field: string;
2390
2762
  } | undefined;
2391
2763
  validation?: {
2392
2764
  message: TranslationConfig;
2393
2765
  validator: import(".").JSONSchema;
2394
2766
  }[] | undefined;
2395
2767
  required?: boolean | undefined;
2396
- defaultValue?: string | undefined;
2397
2768
  conditionals?: ({
2398
2769
  type: "SHOW";
2399
2770
  conditional: import(".").JSONSchema;
@@ -2405,7 +2776,9 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2405
2776
  conditional: import(".").JSONSchema;
2406
2777
  })[] | undefined;
2407
2778
  placeholder?: TranslationConfig | undefined;
2779
+ helperText?: TranslationConfig | undefined;
2408
2780
  hideLabel?: boolean | undefined;
2781
+ defaultValue?: string | undefined;
2409
2782
  }, {
2410
2783
  type: "LOCATION";
2411
2784
  id: string;
@@ -2415,7 +2788,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2415
2788
  defaultMessage: string;
2416
2789
  };
2417
2790
  parent?: {
2418
- _fieldId?: string | undefined;
2791
+ $$field: string;
2419
2792
  } | undefined;
2420
2793
  validation?: {
2421
2794
  message: {
@@ -2426,7 +2799,6 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2426
2799
  validator: import(".").JSONSchema;
2427
2800
  }[] | undefined;
2428
2801
  required?: boolean | undefined;
2429
- defaultValue?: string | undefined;
2430
2802
  conditionals?: ({
2431
2803
  type: "SHOW";
2432
2804
  conditional: import(".").JSONSchema;
@@ -2442,18 +2814,23 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
2442
2814
  description: string;
2443
2815
  defaultMessage: string;
2444
2816
  } | undefined;
2817
+ helperText?: {
2818
+ id: string;
2819
+ description: string;
2820
+ defaultMessage: string;
2821
+ } | undefined;
2445
2822
  hideLabel?: boolean | undefined;
2823
+ defaultValue?: string | undefined;
2446
2824
  }>;
2447
2825
  export type Location = z.infer<typeof Location>;
2448
2826
  declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2449
2827
  id: z.ZodString;
2450
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2451
2828
  parent: z.ZodOptional<z.ZodObject<{
2452
- _fieldId: z.ZodOptional<z.ZodString>;
2829
+ $$field: z.ZodString;
2453
2830
  }, "strip", z.ZodTypeAny, {
2454
- _fieldId?: string | undefined;
2831
+ $$field: string;
2455
2832
  }, {
2456
- _fieldId?: string | undefined;
2833
+ $$field: string;
2457
2834
  }>>;
2458
2835
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2459
2836
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2485,6 +2862,11 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2485
2862
  description: string;
2486
2863
  defaultMessage: string;
2487
2864
  }>;
2865
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2866
+ id: string;
2867
+ description: string;
2868
+ defaultMessage: string;
2869
+ }>>;
2488
2870
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2489
2871
  }, {
2490
2872
  type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
@@ -2506,6 +2888,22 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2506
2888
  defaultMessage: string;
2507
2889
  };
2508
2890
  }>, "many">;
2891
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
2892
+ filename: z.ZodString;
2893
+ originalFilename: z.ZodString;
2894
+ type: z.ZodString;
2895
+ option: z.ZodString;
2896
+ }, "strip", z.ZodTypeAny, {
2897
+ type: string;
2898
+ option: string;
2899
+ filename: string;
2900
+ originalFilename: string;
2901
+ }, {
2902
+ type: string;
2903
+ option: string;
2904
+ filename: string;
2905
+ originalFilename: string;
2906
+ }>, "many">>;
2509
2907
  configuration: z.ZodDefault<z.ZodObject<{
2510
2908
  maxFileSize: z.ZodDefault<z.ZodNumber>;
2511
2909
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
@@ -2529,14 +2927,13 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2529
2927
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2530
2928
  };
2531
2929
  parent?: {
2532
- _fieldId?: string | undefined;
2930
+ $$field: string;
2533
2931
  } | undefined;
2534
2932
  validation?: {
2535
2933
  message: TranslationConfig;
2536
2934
  validator: import(".").JSONSchema;
2537
2935
  }[] | undefined;
2538
2936
  required?: boolean | undefined;
2539
- defaultValue?: string | number | boolean | undefined;
2540
2937
  conditionals?: ({
2541
2938
  type: "SHOW";
2542
2939
  conditional: import(".").JSONSchema;
@@ -2548,7 +2945,14 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2548
2945
  conditional: import(".").JSONSchema;
2549
2946
  })[] | undefined;
2550
2947
  placeholder?: TranslationConfig | undefined;
2948
+ helperText?: TranslationConfig | undefined;
2551
2949
  hideLabel?: boolean | undefined;
2950
+ defaultValue?: {
2951
+ type: string;
2952
+ option: string;
2953
+ filename: string;
2954
+ originalFilename: string;
2955
+ }[] | undefined;
2552
2956
  }, {
2553
2957
  type: "FILE_WITH_OPTIONS";
2554
2958
  id: string;
@@ -2566,7 +2970,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2566
2970
  defaultMessage: string;
2567
2971
  };
2568
2972
  parent?: {
2569
- _fieldId?: string | undefined;
2973
+ $$field: string;
2570
2974
  } | undefined;
2571
2975
  validation?: {
2572
2976
  message: {
@@ -2577,7 +2981,6 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2577
2981
  validator: import(".").JSONSchema;
2578
2982
  }[] | undefined;
2579
2983
  required?: boolean | undefined;
2580
- defaultValue?: string | number | boolean | undefined;
2581
2984
  conditionals?: ({
2582
2985
  type: "SHOW";
2583
2986
  conditional: import(".").JSONSchema;
@@ -2593,7 +2996,18 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2593
2996
  description: string;
2594
2997
  defaultMessage: string;
2595
2998
  } | undefined;
2999
+ helperText?: {
3000
+ id: string;
3001
+ description: string;
3002
+ defaultMessage: string;
3003
+ } | undefined;
2596
3004
  hideLabel?: boolean | undefined;
3005
+ defaultValue?: {
3006
+ type: string;
3007
+ option: string;
3008
+ filename: string;
3009
+ originalFilename: string;
3010
+ }[] | undefined;
2597
3011
  configuration?: {
2598
3012
  maxFileSize?: number | undefined;
2599
3013
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
@@ -2602,13 +3016,12 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
2602
3016
  export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
2603
3017
  declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2604
3018
  id: z.ZodString;
2605
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2606
3019
  parent: z.ZodOptional<z.ZodObject<{
2607
- _fieldId: z.ZodOptional<z.ZodString>;
3020
+ $$field: z.ZodString;
2608
3021
  }, "strip", z.ZodTypeAny, {
2609
- _fieldId?: string | undefined;
3022
+ $$field: string;
2610
3023
  }, {
2611
- _fieldId?: string | undefined;
3024
+ $$field: string;
2612
3025
  }>>;
2613
3026
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2614
3027
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2640,6 +3053,11 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2640
3053
  description: string;
2641
3054
  defaultMessage: string;
2642
3055
  }>;
3056
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3057
+ id: string;
3058
+ description: string;
3059
+ defaultMessage: string;
3060
+ }>>;
2643
3061
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2644
3062
  }, {
2645
3063
  type: z.ZodLiteral<"FACILITY">;
@@ -2649,14 +3067,13 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2649
3067
  id: string;
2650
3068
  label: TranslationConfig;
2651
3069
  parent?: {
2652
- _fieldId?: string | undefined;
3070
+ $$field: string;
2653
3071
  } | undefined;
2654
3072
  validation?: {
2655
3073
  message: TranslationConfig;
2656
3074
  validator: import(".").JSONSchema;
2657
3075
  }[] | undefined;
2658
3076
  required?: boolean | undefined;
2659
- defaultValue?: string | undefined;
2660
3077
  conditionals?: ({
2661
3078
  type: "SHOW";
2662
3079
  conditional: import(".").JSONSchema;
@@ -2668,7 +3085,9 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2668
3085
  conditional: import(".").JSONSchema;
2669
3086
  })[] | undefined;
2670
3087
  placeholder?: TranslationConfig | undefined;
3088
+ helperText?: TranslationConfig | undefined;
2671
3089
  hideLabel?: boolean | undefined;
3090
+ defaultValue?: string | undefined;
2672
3091
  }, {
2673
3092
  type: "FACILITY";
2674
3093
  id: string;
@@ -2678,7 +3097,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2678
3097
  defaultMessage: string;
2679
3098
  };
2680
3099
  parent?: {
2681
- _fieldId?: string | undefined;
3100
+ $$field: string;
2682
3101
  } | undefined;
2683
3102
  validation?: {
2684
3103
  message: {
@@ -2689,7 +3108,6 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2689
3108
  validator: import(".").JSONSchema;
2690
3109
  }[] | undefined;
2691
3110
  required?: boolean | undefined;
2692
- defaultValue?: string | undefined;
2693
3111
  conditionals?: ({
2694
3112
  type: "SHOW";
2695
3113
  conditional: import(".").JSONSchema;
@@ -2705,18 +3123,23 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
2705
3123
  description: string;
2706
3124
  defaultMessage: string;
2707
3125
  } | undefined;
3126
+ helperText?: {
3127
+ id: string;
3128
+ description: string;
3129
+ defaultMessage: string;
3130
+ } | undefined;
2708
3131
  hideLabel?: boolean | undefined;
3132
+ defaultValue?: string | undefined;
2709
3133
  }>;
2710
3134
  export type Facility = z.infer<typeof Facility>;
2711
3135
  declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2712
3136
  id: z.ZodString;
2713
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2714
3137
  parent: z.ZodOptional<z.ZodObject<{
2715
- _fieldId: z.ZodOptional<z.ZodString>;
3138
+ $$field: z.ZodString;
2716
3139
  }, "strip", z.ZodTypeAny, {
2717
- _fieldId?: string | undefined;
3140
+ $$field: string;
2718
3141
  }, {
2719
- _fieldId?: string | undefined;
3142
+ $$field: string;
2720
3143
  }>>;
2721
3144
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2722
3145
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2748,6 +3171,11 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2748
3171
  description: string;
2749
3172
  defaultMessage: string;
2750
3173
  }>;
3174
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3175
+ id: string;
3176
+ description: string;
3177
+ defaultMessage: string;
3178
+ }>>;
2751
3179
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2752
3180
  }, {
2753
3181
  type: z.ZodLiteral<"OFFICE">;
@@ -2757,14 +3185,13 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2757
3185
  id: string;
2758
3186
  label: TranslationConfig;
2759
3187
  parent?: {
2760
- _fieldId?: string | undefined;
3188
+ $$field: string;
2761
3189
  } | undefined;
2762
3190
  validation?: {
2763
3191
  message: TranslationConfig;
2764
3192
  validator: import(".").JSONSchema;
2765
3193
  }[] | undefined;
2766
3194
  required?: boolean | undefined;
2767
- defaultValue?: string | undefined;
2768
3195
  conditionals?: ({
2769
3196
  type: "SHOW";
2770
3197
  conditional: import(".").JSONSchema;
@@ -2776,7 +3203,9 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2776
3203
  conditional: import(".").JSONSchema;
2777
3204
  })[] | undefined;
2778
3205
  placeholder?: TranslationConfig | undefined;
3206
+ helperText?: TranslationConfig | undefined;
2779
3207
  hideLabel?: boolean | undefined;
3208
+ defaultValue?: string | undefined;
2780
3209
  }, {
2781
3210
  type: "OFFICE";
2782
3211
  id: string;
@@ -2786,7 +3215,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2786
3215
  defaultMessage: string;
2787
3216
  };
2788
3217
  parent?: {
2789
- _fieldId?: string | undefined;
3218
+ $$field: string;
2790
3219
  } | undefined;
2791
3220
  validation?: {
2792
3221
  message: {
@@ -2797,7 +3226,6 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2797
3226
  validator: import(".").JSONSchema;
2798
3227
  }[] | undefined;
2799
3228
  required?: boolean | undefined;
2800
- defaultValue?: string | undefined;
2801
3229
  conditionals?: ({
2802
3230
  type: "SHOW";
2803
3231
  conditional: import(".").JSONSchema;
@@ -2813,18 +3241,23 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
2813
3241
  description: string;
2814
3242
  defaultMessage: string;
2815
3243
  } | undefined;
3244
+ helperText?: {
3245
+ id: string;
3246
+ description: string;
3247
+ defaultMessage: string;
3248
+ } | undefined;
2816
3249
  hideLabel?: boolean | undefined;
3250
+ defaultValue?: string | undefined;
2817
3251
  }>;
2818
3252
  export type Office = z.infer<typeof Office>;
2819
3253
  declare const Address: z.ZodObject<z.objectUtil.extendShape<{
2820
3254
  id: z.ZodString;
2821
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2822
3255
  parent: z.ZodOptional<z.ZodObject<{
2823
- _fieldId: z.ZodOptional<z.ZodString>;
3256
+ $$field: z.ZodString;
2824
3257
  }, "strip", z.ZodTypeAny, {
2825
- _fieldId?: string | undefined;
3258
+ $$field: string;
2826
3259
  }, {
2827
- _fieldId?: string | undefined;
3260
+ $$field: string;
2828
3261
  }>>;
2829
3262
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
2830
3263
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -2856,6 +3289,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
2856
3289
  description: string;
2857
3290
  defaultMessage: string;
2858
3291
  }>;
3292
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3293
+ id: string;
3294
+ description: string;
3295
+ defaultMessage: string;
3296
+ }>>;
2859
3297
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2860
3298
  }, {
2861
3299
  type: z.ZodLiteral<"ADDRESS">;
@@ -2951,13 +3389,26 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
2951
3389
  id: string;
2952
3390
  label: TranslationConfig;
2953
3391
  parent?: {
2954
- _fieldId?: string | undefined;
3392
+ $$field: string;
2955
3393
  } | undefined;
2956
3394
  validation?: {
2957
3395
  message: TranslationConfig;
2958
3396
  validator: import(".").JSONSchema;
2959
3397
  }[] | undefined;
2960
3398
  required?: boolean | undefined;
3399
+ conditionals?: ({
3400
+ type: "SHOW";
3401
+ conditional: import(".").JSONSchema;
3402
+ } | {
3403
+ type: "ENABLE";
3404
+ conditional: import(".").JSONSchema;
3405
+ } | {
3406
+ type: "DISPLAY_ON_REVIEW";
3407
+ conditional: import(".").JSONSchema;
3408
+ })[] | undefined;
3409
+ placeholder?: TranslationConfig | undefined;
3410
+ helperText?: TranslationConfig | undefined;
3411
+ hideLabel?: boolean | undefined;
2961
3412
  defaultValue?: {
2962
3413
  country: string;
2963
3414
  district: string;
@@ -2987,18 +3438,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
2987
3438
  addressLine3?: string | undefined;
2988
3439
  postcodeOrZip?: string | undefined;
2989
3440
  } | undefined;
2990
- conditionals?: ({
2991
- type: "SHOW";
2992
- conditional: import(".").JSONSchema;
2993
- } | {
2994
- type: "ENABLE";
2995
- conditional: import(".").JSONSchema;
2996
- } | {
2997
- type: "DISPLAY_ON_REVIEW";
2998
- conditional: import(".").JSONSchema;
2999
- })[] | undefined;
3000
- placeholder?: TranslationConfig | undefined;
3001
- hideLabel?: boolean | undefined;
3002
3441
  }, {
3003
3442
  type: "ADDRESS";
3004
3443
  id: string;
@@ -3008,7 +3447,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3008
3447
  defaultMessage: string;
3009
3448
  };
3010
3449
  parent?: {
3011
- _fieldId?: string | undefined;
3450
+ $$field: string;
3012
3451
  } | undefined;
3013
3452
  validation?: {
3014
3453
  message: {
@@ -3019,6 +3458,27 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3019
3458
  validator: import(".").JSONSchema;
3020
3459
  }[] | undefined;
3021
3460
  required?: boolean | undefined;
3461
+ conditionals?: ({
3462
+ type: "SHOW";
3463
+ conditional: import(".").JSONSchema;
3464
+ } | {
3465
+ type: "ENABLE";
3466
+ conditional: import(".").JSONSchema;
3467
+ } | {
3468
+ type: "DISPLAY_ON_REVIEW";
3469
+ conditional: import(".").JSONSchema;
3470
+ })[] | undefined;
3471
+ placeholder?: {
3472
+ id: string;
3473
+ description: string;
3474
+ defaultMessage: string;
3475
+ } | undefined;
3476
+ helperText?: {
3477
+ id: string;
3478
+ description: string;
3479
+ defaultMessage: string;
3480
+ } | undefined;
3481
+ hideLabel?: boolean | undefined;
3022
3482
  defaultValue?: {
3023
3483
  country: string;
3024
3484
  district: string;
@@ -3048,22 +3508,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
3048
3508
  addressLine3?: string | undefined;
3049
3509
  postcodeOrZip?: string | undefined;
3050
3510
  } | undefined;
3051
- conditionals?: ({
3052
- type: "SHOW";
3053
- conditional: import(".").JSONSchema;
3054
- } | {
3055
- type: "ENABLE";
3056
- conditional: import(".").JSONSchema;
3057
- } | {
3058
- type: "DISPLAY_ON_REVIEW";
3059
- conditional: import(".").JSONSchema;
3060
- })[] | undefined;
3061
- placeholder?: {
3062
- id: string;
3063
- description: string;
3064
- defaultMessage: string;
3065
- } | undefined;
3066
- hideLabel?: boolean | undefined;
3067
3511
  }>;
3068
3512
  export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
3069
3513
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -3100,13 +3544,12 @@ export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
3100
3544
  export type DataEntry = z.infer<typeof DataEntry>;
3101
3545
  declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3102
3546
  id: z.ZodString;
3103
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3104
3547
  parent: z.ZodOptional<z.ZodObject<{
3105
- _fieldId: z.ZodOptional<z.ZodString>;
3548
+ $$field: z.ZodString;
3106
3549
  }, "strip", z.ZodTypeAny, {
3107
- _fieldId?: string | undefined;
3550
+ $$field: string;
3108
3551
  }, {
3109
- _fieldId?: string | undefined;
3552
+ $$field: string;
3110
3553
  }>>;
3111
3554
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3112
3555
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -3138,6 +3581,11 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3138
3581
  description: string;
3139
3582
  defaultMessage: string;
3140
3583
  }>;
3584
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3585
+ id: string;
3586
+ description: string;
3587
+ defaultMessage: string;
3588
+ }>>;
3141
3589
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3142
3590
  }, {
3143
3591
  type: z.ZodLiteral<"DATA">;
@@ -3222,14 +3670,13 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3222
3670
  subtitle?: TranslationConfig | undefined;
3223
3671
  };
3224
3672
  parent?: {
3225
- _fieldId?: string | undefined;
3673
+ $$field: string;
3226
3674
  } | undefined;
3227
3675
  validation?: {
3228
3676
  message: TranslationConfig;
3229
3677
  validator: import(".").JSONSchema;
3230
3678
  }[] | undefined;
3231
3679
  required?: boolean | undefined;
3232
- defaultValue?: string | number | boolean | undefined;
3233
3680
  conditionals?: ({
3234
3681
  type: "SHOW";
3235
3682
  conditional: import(".").JSONSchema;
@@ -3241,6 +3688,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3241
3688
  conditional: import(".").JSONSchema;
3242
3689
  })[] | undefined;
3243
3690
  placeholder?: TranslationConfig | undefined;
3691
+ helperText?: TranslationConfig | undefined;
3244
3692
  hideLabel?: boolean | undefined;
3245
3693
  }, {
3246
3694
  type: "DATA";
@@ -3272,7 +3720,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3272
3720
  } | undefined;
3273
3721
  };
3274
3722
  parent?: {
3275
- _fieldId?: string | undefined;
3723
+ $$field: string;
3276
3724
  } | undefined;
3277
3725
  validation?: {
3278
3726
  message: {
@@ -3283,7 +3731,6 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3283
3731
  validator: import(".").JSONSchema;
3284
3732
  }[] | undefined;
3285
3733
  required?: boolean | undefined;
3286
- defaultValue?: string | number | boolean | undefined;
3287
3734
  conditionals?: ({
3288
3735
  type: "SHOW";
3289
3736
  conditional: import(".").JSONSchema;
@@ -3299,27 +3746,31 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
3299
3746
  description: string;
3300
3747
  defaultMessage: string;
3301
3748
  } | undefined;
3749
+ helperText?: {
3750
+ id: string;
3751
+ description: string;
3752
+ defaultMessage: string;
3753
+ } | undefined;
3302
3754
  hideLabel?: boolean | undefined;
3303
3755
  }>;
3304
3756
  export type DataField = z.infer<typeof DataField>;
3305
3757
  /** @knipignore */
3306
- export type AllFields = typeof Address | typeof TextField | typeof NumberField | typeof TextAreaField | typeof DateField | typeof Paragraph | typeof RadioGroup | typeof BulletList | typeof PageHeader | typeof Select | typeof Checkbox | typeof File | typeof Country | typeof AdministrativeArea | typeof Divider | typeof Location | typeof Facility | typeof Office | typeof SignatureField | typeof EmailField | typeof FileUploadWithOptions | typeof DataField;
3758
+ export type AllFields = typeof Address | typeof TextField | typeof NumberField | typeof TextAreaField | typeof DateField | typeof DateRangeField | typeof Paragraph | typeof RadioGroup | typeof BulletList | typeof PageHeader | typeof Select | typeof Checkbox | typeof File | typeof Country | typeof AdministrativeArea | typeof Divider | typeof Location | typeof Facility | typeof Office | typeof SignatureField | typeof EmailField | typeof FileUploadWithOptions | typeof DataField;
3307
3759
  /** @knipignore */
3308
- export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField>;
3760
+ export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof DateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField>;
3309
3761
  /** @knipignore */
3310
3762
  /**
3311
3763
  * This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
3312
3764
  */
3313
- export type InferredInput = z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof NumberField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeArea> | z.input<typeof Divider> | z.input<typeof Location> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField>;
3765
+ export type InferredInput = z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof NumberField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof DateRangeField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeArea> | z.input<typeof Divider> | z.input<typeof Location> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField>;
3314
3766
  export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
3315
3767
  id: z.ZodString;
3316
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3317
3768
  parent: z.ZodOptional<z.ZodObject<{
3318
- _fieldId: z.ZodOptional<z.ZodString>;
3769
+ $$field: z.ZodString;
3319
3770
  }, "strip", z.ZodTypeAny, {
3320
- _fieldId?: string | undefined;
3771
+ $$field: string;
3321
3772
  }, {
3322
- _fieldId?: string | undefined;
3773
+ $$field: string;
3323
3774
  }>>;
3324
3775
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3325
3776
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -3351,6 +3802,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3351
3802
  description: string;
3352
3803
  defaultMessage: string;
3353
3804
  }>;
3805
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
3806
+ id: string;
3807
+ description: string;
3808
+ defaultMessage: string;
3809
+ }>>;
3354
3810
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3355
3811
  }, {
3356
3812
  type: z.ZodLiteral<"ADDRESS">;
@@ -3446,13 +3902,26 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3446
3902
  id: string;
3447
3903
  label: TranslationConfig;
3448
3904
  parent?: {
3449
- _fieldId?: string | undefined;
3905
+ $$field: string;
3450
3906
  } | undefined;
3451
3907
  validation?: {
3452
3908
  message: TranslationConfig;
3453
3909
  validator: import(".").JSONSchema;
3454
3910
  }[] | undefined;
3455
3911
  required?: boolean | undefined;
3912
+ conditionals?: ({
3913
+ type: "SHOW";
3914
+ conditional: import(".").JSONSchema;
3915
+ } | {
3916
+ type: "ENABLE";
3917
+ conditional: import(".").JSONSchema;
3918
+ } | {
3919
+ type: "DISPLAY_ON_REVIEW";
3920
+ conditional: import(".").JSONSchema;
3921
+ })[] | undefined;
3922
+ placeholder?: TranslationConfig | undefined;
3923
+ helperText?: TranslationConfig | undefined;
3924
+ hideLabel?: boolean | undefined;
3456
3925
  defaultValue?: {
3457
3926
  country: string;
3458
3927
  district: string;
@@ -3482,18 +3951,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3482
3951
  addressLine3?: string | undefined;
3483
3952
  postcodeOrZip?: string | undefined;
3484
3953
  } | undefined;
3485
- conditionals?: ({
3486
- type: "SHOW";
3487
- conditional: import(".").JSONSchema;
3488
- } | {
3489
- type: "ENABLE";
3490
- conditional: import(".").JSONSchema;
3491
- } | {
3492
- type: "DISPLAY_ON_REVIEW";
3493
- conditional: import(".").JSONSchema;
3494
- })[] | undefined;
3495
- placeholder?: TranslationConfig | undefined;
3496
- hideLabel?: boolean | undefined;
3497
3954
  }, {
3498
3955
  type: "ADDRESS";
3499
3956
  id: string;
@@ -3503,7 +3960,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3503
3960
  defaultMessage: string;
3504
3961
  };
3505
3962
  parent?: {
3506
- _fieldId?: string | undefined;
3963
+ $$field: string;
3507
3964
  } | undefined;
3508
3965
  validation?: {
3509
3966
  message: {
@@ -3514,6 +3971,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3514
3971
  validator: import(".").JSONSchema;
3515
3972
  }[] | undefined;
3516
3973
  required?: boolean | undefined;
3974
+ conditionals?: ({
3975
+ type: "SHOW";
3976
+ conditional: import(".").JSONSchema;
3977
+ } | {
3978
+ type: "ENABLE";
3979
+ conditional: import(".").JSONSchema;
3980
+ } | {
3981
+ type: "DISPLAY_ON_REVIEW";
3982
+ conditional: import(".").JSONSchema;
3983
+ })[] | undefined;
3984
+ placeholder?: {
3985
+ id: string;
3986
+ description: string;
3987
+ defaultMessage: string;
3988
+ } | undefined;
3989
+ helperText?: {
3990
+ id: string;
3991
+ description: string;
3992
+ defaultMessage: string;
3993
+ } | undefined;
3994
+ hideLabel?: boolean | undefined;
3517
3995
  defaultValue?: {
3518
3996
  country: string;
3519
3997
  district: string;
@@ -3543,31 +4021,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3543
4021
  addressLine3?: string | undefined;
3544
4022
  postcodeOrZip?: string | undefined;
3545
4023
  } | undefined;
3546
- conditionals?: ({
3547
- type: "SHOW";
3548
- conditional: import(".").JSONSchema;
3549
- } | {
3550
- type: "ENABLE";
3551
- conditional: import(".").JSONSchema;
3552
- } | {
3553
- type: "DISPLAY_ON_REVIEW";
3554
- conditional: import(".").JSONSchema;
3555
- })[] | undefined;
3556
- placeholder?: {
3557
- id: string;
3558
- description: string;
3559
- defaultMessage: string;
3560
- } | undefined;
3561
- hideLabel?: boolean | undefined;
3562
4024
  }>, z.ZodObject<z.objectUtil.extendShape<{
3563
4025
  id: z.ZodString;
3564
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3565
4026
  parent: z.ZodOptional<z.ZodObject<{
3566
- _fieldId: z.ZodOptional<z.ZodString>;
4027
+ $$field: z.ZodString;
3567
4028
  }, "strip", z.ZodTypeAny, {
3568
- _fieldId?: string | undefined;
4029
+ $$field: string;
3569
4030
  }, {
3570
- _fieldId?: string | undefined;
4031
+ $$field: string;
3571
4032
  }>>;
3572
4033
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3573
4034
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -3599,6 +4060,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3599
4060
  description: string;
3600
4061
  defaultMessage: string;
3601
4062
  }>;
4063
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4064
+ id: string;
4065
+ description: string;
4066
+ defaultMessage: string;
4067
+ }>>;
3602
4068
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3603
4069
  }, {
3604
4070
  type: z.ZodLiteral<"TEXT">;
@@ -3640,14 +4106,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3640
4106
  id: string;
3641
4107
  label: TranslationConfig;
3642
4108
  parent?: {
3643
- _fieldId?: string | undefined;
4109
+ $$field: string;
3644
4110
  } | undefined;
3645
4111
  validation?: {
3646
4112
  message: TranslationConfig;
3647
4113
  validator: import(".").JSONSchema;
3648
4114
  }[] | undefined;
3649
4115
  required?: boolean | undefined;
3650
- defaultValue?: string | undefined;
3651
4116
  conditionals?: ({
3652
4117
  type: "SHOW";
3653
4118
  conditional: import(".").JSONSchema;
@@ -3659,7 +4124,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3659
4124
  conditional: import(".").JSONSchema;
3660
4125
  })[] | undefined;
3661
4126
  placeholder?: TranslationConfig | undefined;
4127
+ helperText?: TranslationConfig | undefined;
3662
4128
  hideLabel?: boolean | undefined;
4129
+ defaultValue?: string | undefined;
3663
4130
  configuration?: {
3664
4131
  type?: "text" | "password" | undefined;
3665
4132
  maxLength?: number | undefined;
@@ -3675,7 +4142,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3675
4142
  defaultMessage: string;
3676
4143
  };
3677
4144
  parent?: {
3678
- _fieldId?: string | undefined;
4145
+ $$field: string;
3679
4146
  } | undefined;
3680
4147
  validation?: {
3681
4148
  message: {
@@ -3686,7 +4153,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3686
4153
  validator: import(".").JSONSchema;
3687
4154
  }[] | undefined;
3688
4155
  required?: boolean | undefined;
3689
- defaultValue?: string | undefined;
3690
4156
  conditionals?: ({
3691
4157
  type: "SHOW";
3692
4158
  conditional: import(".").JSONSchema;
@@ -3702,7 +4168,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3702
4168
  description: string;
3703
4169
  defaultMessage: string;
3704
4170
  } | undefined;
4171
+ helperText?: {
4172
+ id: string;
4173
+ description: string;
4174
+ defaultMessage: string;
4175
+ } | undefined;
3705
4176
  hideLabel?: boolean | undefined;
4177
+ defaultValue?: string | undefined;
3706
4178
  configuration?: {
3707
4179
  type?: "text" | "password" | undefined;
3708
4180
  maxLength?: number | undefined;
@@ -3719,13 +4191,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3719
4191
  } | undefined;
3720
4192
  }>, z.ZodObject<z.objectUtil.extendShape<{
3721
4193
  id: z.ZodString;
3722
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3723
4194
  parent: z.ZodOptional<z.ZodObject<{
3724
- _fieldId: z.ZodOptional<z.ZodString>;
4195
+ $$field: z.ZodString;
3725
4196
  }, "strip", z.ZodTypeAny, {
3726
- _fieldId?: string | undefined;
4197
+ $$field: string;
3727
4198
  }, {
3728
- _fieldId?: string | undefined;
4199
+ $$field: string;
3729
4200
  }>>;
3730
4201
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3731
4202
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -3757,6 +4228,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3757
4228
  description: string;
3758
4229
  defaultMessage: string;
3759
4230
  }>;
4231
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4232
+ id: string;
4233
+ description: string;
4234
+ defaultMessage: string;
4235
+ }>>;
3760
4236
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3761
4237
  }, {
3762
4238
  type: z.ZodLiteral<"NUMBER">;
@@ -3798,14 +4274,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3798
4274
  id: string;
3799
4275
  label: TranslationConfig;
3800
4276
  parent?: {
3801
- _fieldId?: string | undefined;
4277
+ $$field: string;
3802
4278
  } | undefined;
3803
4279
  validation?: {
3804
4280
  message: TranslationConfig;
3805
4281
  validator: import(".").JSONSchema;
3806
4282
  }[] | undefined;
3807
4283
  required?: boolean | undefined;
3808
- defaultValue?: number | undefined;
3809
4284
  conditionals?: ({
3810
4285
  type: "SHOW";
3811
4286
  conditional: import(".").JSONSchema;
@@ -3817,7 +4292,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3817
4292
  conditional: import(".").JSONSchema;
3818
4293
  })[] | undefined;
3819
4294
  placeholder?: TranslationConfig | undefined;
4295
+ helperText?: TranslationConfig | undefined;
3820
4296
  hideLabel?: boolean | undefined;
4297
+ defaultValue?: number | undefined;
3821
4298
  configuration?: {
3822
4299
  prefix?: TranslationConfig | undefined;
3823
4300
  postfix?: TranslationConfig | undefined;
@@ -3833,7 +4310,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3833
4310
  defaultMessage: string;
3834
4311
  };
3835
4312
  parent?: {
3836
- _fieldId?: string | undefined;
4313
+ $$field: string;
3837
4314
  } | undefined;
3838
4315
  validation?: {
3839
4316
  message: {
@@ -3844,7 +4321,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3844
4321
  validator: import(".").JSONSchema;
3845
4322
  }[] | undefined;
3846
4323
  required?: boolean | undefined;
3847
- defaultValue?: number | undefined;
3848
4324
  conditionals?: ({
3849
4325
  type: "SHOW";
3850
4326
  conditional: import(".").JSONSchema;
@@ -3860,7 +4336,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3860
4336
  description: string;
3861
4337
  defaultMessage: string;
3862
4338
  } | undefined;
4339
+ helperText?: {
4340
+ id: string;
4341
+ description: string;
4342
+ defaultMessage: string;
4343
+ } | undefined;
3863
4344
  hideLabel?: boolean | undefined;
4345
+ defaultValue?: number | undefined;
3864
4346
  configuration?: {
3865
4347
  prefix?: {
3866
4348
  id: string;
@@ -3877,13 +4359,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3877
4359
  } | undefined;
3878
4360
  }>, z.ZodObject<z.objectUtil.extendShape<{
3879
4361
  id: z.ZodString;
3880
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3881
4362
  parent: z.ZodOptional<z.ZodObject<{
3882
- _fieldId: z.ZodOptional<z.ZodString>;
4363
+ $$field: z.ZodString;
3883
4364
  }, "strip", z.ZodTypeAny, {
3884
- _fieldId?: string | undefined;
4365
+ $$field: string;
3885
4366
  }, {
3886
- _fieldId?: string | undefined;
4367
+ $$field: string;
3887
4368
  }>>;
3888
4369
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
3889
4370
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -3915,6 +4396,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3915
4396
  description: string;
3916
4397
  defaultMessage: string;
3917
4398
  }>;
4399
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4400
+ id: string;
4401
+ description: string;
4402
+ defaultMessage: string;
4403
+ }>>;
3918
4404
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3919
4405
  }, {
3920
4406
  type: z.ZodLiteral<"TEXTAREA">;
@@ -3945,28 +4431,180 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3945
4431
  id: string;
3946
4432
  description: string;
3947
4433
  defaultMessage: string;
3948
- } | undefined;
3949
- postfix?: {
4434
+ } | undefined;
4435
+ postfix?: {
4436
+ id: string;
4437
+ description: string;
4438
+ defaultMessage: string;
4439
+ } | undefined;
4440
+ rows?: number | undefined;
4441
+ cols?: number | undefined;
4442
+ }>>>;
4443
+ }>, "strip", z.ZodTypeAny, {
4444
+ type: "TEXTAREA";
4445
+ id: string;
4446
+ label: TranslationConfig;
4447
+ parent?: {
4448
+ $$field: string;
4449
+ } | undefined;
4450
+ validation?: {
4451
+ message: TranslationConfig;
4452
+ validator: import(".").JSONSchema;
4453
+ }[] | undefined;
4454
+ required?: boolean | undefined;
4455
+ conditionals?: ({
4456
+ type: "SHOW";
4457
+ conditional: import(".").JSONSchema;
4458
+ } | {
4459
+ type: "ENABLE";
4460
+ conditional: import(".").JSONSchema;
4461
+ } | {
4462
+ type: "DISPLAY_ON_REVIEW";
4463
+ conditional: import(".").JSONSchema;
4464
+ })[] | undefined;
4465
+ placeholder?: TranslationConfig | undefined;
4466
+ helperText?: TranslationConfig | undefined;
4467
+ hideLabel?: boolean | undefined;
4468
+ defaultValue?: string | undefined;
4469
+ configuration?: {
4470
+ maxLength?: number | undefined;
4471
+ prefix?: TranslationConfig | undefined;
4472
+ postfix?: TranslationConfig | undefined;
4473
+ rows?: number | undefined;
4474
+ cols?: number | undefined;
4475
+ } | undefined;
4476
+ }, {
4477
+ type: "TEXTAREA";
4478
+ id: string;
4479
+ label: {
4480
+ id: string;
4481
+ description: string;
4482
+ defaultMessage: string;
4483
+ };
4484
+ parent?: {
4485
+ $$field: string;
4486
+ } | undefined;
4487
+ validation?: {
4488
+ message: {
4489
+ id: string;
4490
+ description: string;
4491
+ defaultMessage: string;
4492
+ };
4493
+ validator: import(".").JSONSchema;
4494
+ }[] | undefined;
4495
+ required?: boolean | undefined;
4496
+ conditionals?: ({
4497
+ type: "SHOW";
4498
+ conditional: import(".").JSONSchema;
4499
+ } | {
4500
+ type: "ENABLE";
4501
+ conditional: import(".").JSONSchema;
4502
+ } | {
4503
+ type: "DISPLAY_ON_REVIEW";
4504
+ conditional: import(".").JSONSchema;
4505
+ })[] | undefined;
4506
+ placeholder?: {
4507
+ id: string;
4508
+ description: string;
4509
+ defaultMessage: string;
4510
+ } | undefined;
4511
+ helperText?: {
4512
+ id: string;
4513
+ description: string;
4514
+ defaultMessage: string;
4515
+ } | undefined;
4516
+ hideLabel?: boolean | undefined;
4517
+ defaultValue?: string | undefined;
4518
+ configuration?: {
4519
+ maxLength?: number | undefined;
4520
+ prefix?: {
4521
+ id: string;
4522
+ description: string;
4523
+ defaultMessage: string;
4524
+ } | undefined;
4525
+ postfix?: {
4526
+ id: string;
4527
+ description: string;
4528
+ defaultMessage: string;
4529
+ } | undefined;
4530
+ rows?: number | undefined;
4531
+ cols?: number | undefined;
4532
+ } | undefined;
4533
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4534
+ id: z.ZodString;
4535
+ parent: z.ZodOptional<z.ZodObject<{
4536
+ $$field: z.ZodString;
4537
+ }, "strip", z.ZodTypeAny, {
4538
+ $$field: string;
4539
+ }, {
4540
+ $$field: string;
4541
+ }>>;
4542
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4543
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4544
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4545
+ id: string;
4546
+ description: string;
4547
+ defaultMessage: string;
4548
+ }>>;
4549
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4550
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4551
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4552
+ id: string;
4553
+ description: string;
4554
+ defaultMessage: string;
4555
+ }>;
4556
+ }, "strip", z.ZodTypeAny, {
4557
+ message: TranslationConfig;
4558
+ validator: import(".").JSONSchema;
4559
+ }, {
4560
+ message: {
4561
+ id: string;
4562
+ description: string;
4563
+ defaultMessage: string;
4564
+ };
4565
+ validator: import(".").JSONSchema;
4566
+ }>, "many">>>;
4567
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4568
+ id: string;
4569
+ description: string;
4570
+ defaultMessage: string;
4571
+ }>;
4572
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4573
+ id: string;
4574
+ description: string;
4575
+ defaultMessage: string;
4576
+ }>>;
4577
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4578
+ }, {
4579
+ type: z.ZodLiteral<"DATE">;
4580
+ defaultValue: z.ZodOptional<z.ZodString>;
4581
+ configuration: z.ZodOptional<z.ZodObject<{
4582
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4583
+ id: string;
4584
+ description: string;
4585
+ defaultMessage: string;
4586
+ }>>;
4587
+ }, "strip", z.ZodTypeAny, {
4588
+ notice?: TranslationConfig | undefined;
4589
+ }, {
4590
+ notice?: {
3950
4591
  id: string;
3951
4592
  description: string;
3952
4593
  defaultMessage: string;
3953
4594
  } | undefined;
3954
- rows?: number | undefined;
3955
- cols?: number | undefined;
3956
- }>>>;
4595
+ }>>;
3957
4596
  }>, "strip", z.ZodTypeAny, {
3958
- type: "TEXTAREA";
4597
+ type: "DATE";
3959
4598
  id: string;
3960
4599
  label: TranslationConfig;
3961
4600
  parent?: {
3962
- _fieldId?: string | undefined;
4601
+ $$field: string;
3963
4602
  } | undefined;
3964
4603
  validation?: {
3965
4604
  message: TranslationConfig;
3966
4605
  validator: import(".").JSONSchema;
3967
4606
  }[] | undefined;
3968
4607
  required?: boolean | undefined;
3969
- defaultValue?: string | undefined;
3970
4608
  conditionals?: ({
3971
4609
  type: "SHOW";
3972
4610
  conditional: import(".").JSONSchema;
@@ -3978,16 +4616,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3978
4616
  conditional: import(".").JSONSchema;
3979
4617
  })[] | undefined;
3980
4618
  placeholder?: TranslationConfig | undefined;
4619
+ helperText?: TranslationConfig | undefined;
3981
4620
  hideLabel?: boolean | undefined;
4621
+ defaultValue?: string | undefined;
3982
4622
  configuration?: {
3983
- maxLength?: number | undefined;
3984
- prefix?: TranslationConfig | undefined;
3985
- postfix?: TranslationConfig | undefined;
3986
- rows?: number | undefined;
3987
- cols?: number | undefined;
4623
+ notice?: TranslationConfig | undefined;
3988
4624
  } | undefined;
3989
4625
  }, {
3990
- type: "TEXTAREA";
4626
+ type: "DATE";
3991
4627
  id: string;
3992
4628
  label: {
3993
4629
  id: string;
@@ -3995,7 +4631,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
3995
4631
  defaultMessage: string;
3996
4632
  };
3997
4633
  parent?: {
3998
- _fieldId?: string | undefined;
4634
+ $$field: string;
3999
4635
  } | undefined;
4000
4636
  validation?: {
4001
4637
  message: {
@@ -4006,7 +4642,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4006
4642
  validator: import(".").JSONSchema;
4007
4643
  }[] | undefined;
4008
4644
  required?: boolean | undefined;
4009
- defaultValue?: string | undefined;
4010
4645
  conditionals?: ({
4011
4646
  type: "SHOW";
4012
4647
  conditional: import(".").JSONSchema;
@@ -4022,31 +4657,28 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4022
4657
  description: string;
4023
4658
  defaultMessage: string;
4024
4659
  } | undefined;
4660
+ helperText?: {
4661
+ id: string;
4662
+ description: string;
4663
+ defaultMessage: string;
4664
+ } | undefined;
4025
4665
  hideLabel?: boolean | undefined;
4666
+ defaultValue?: string | undefined;
4026
4667
  configuration?: {
4027
- maxLength?: number | undefined;
4028
- prefix?: {
4029
- id: string;
4030
- description: string;
4031
- defaultMessage: string;
4032
- } | undefined;
4033
- postfix?: {
4668
+ notice?: {
4034
4669
  id: string;
4035
4670
  description: string;
4036
4671
  defaultMessage: string;
4037
4672
  } | undefined;
4038
- rows?: number | undefined;
4039
- cols?: number | undefined;
4040
4673
  } | undefined;
4041
4674
  }>, z.ZodObject<z.objectUtil.extendShape<{
4042
4675
  id: z.ZodString;
4043
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4044
4676
  parent: z.ZodOptional<z.ZodObject<{
4045
- _fieldId: z.ZodOptional<z.ZodString>;
4677
+ $$field: z.ZodString;
4046
4678
  }, "strip", z.ZodTypeAny, {
4047
- _fieldId?: string | undefined;
4679
+ $$field: string;
4048
4680
  }, {
4049
- _fieldId?: string | undefined;
4681
+ $$field: string;
4050
4682
  }>>;
4051
4683
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4052
4684
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -4078,10 +4710,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4078
4710
  description: string;
4079
4711
  defaultMessage: string;
4080
4712
  }>;
4713
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4714
+ id: string;
4715
+ description: string;
4716
+ defaultMessage: string;
4717
+ }>>;
4081
4718
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4082
4719
  }, {
4083
- type: z.ZodLiteral<"DATE">;
4084
- defaultValue: z.ZodOptional<z.ZodString>;
4720
+ type: z.ZodLiteral<"DATE_RANGE">;
4721
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
4085
4722
  configuration: z.ZodOptional<z.ZodObject<{
4086
4723
  notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4087
4724
  id: string;
@@ -4098,18 +4735,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4098
4735
  } | undefined;
4099
4736
  }>>;
4100
4737
  }>, "strip", z.ZodTypeAny, {
4101
- type: "DATE";
4738
+ type: "DATE_RANGE";
4102
4739
  id: string;
4103
4740
  label: TranslationConfig;
4104
4741
  parent?: {
4105
- _fieldId?: string | undefined;
4742
+ $$field: string;
4106
4743
  } | undefined;
4107
4744
  validation?: {
4108
4745
  message: TranslationConfig;
4109
4746
  validator: import(".").JSONSchema;
4110
4747
  }[] | undefined;
4111
4748
  required?: boolean | undefined;
4112
- defaultValue?: string | undefined;
4113
4749
  conditionals?: ({
4114
4750
  type: "SHOW";
4115
4751
  conditional: import(".").JSONSchema;
@@ -4121,12 +4757,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4121
4757
  conditional: import(".").JSONSchema;
4122
4758
  })[] | undefined;
4123
4759
  placeholder?: TranslationConfig | undefined;
4760
+ helperText?: TranslationConfig | undefined;
4124
4761
  hideLabel?: boolean | undefined;
4762
+ defaultValue?: string | [string, string] | undefined;
4125
4763
  configuration?: {
4126
4764
  notice?: TranslationConfig | undefined;
4127
4765
  } | undefined;
4128
4766
  }, {
4129
- type: "DATE";
4767
+ type: "DATE_RANGE";
4130
4768
  id: string;
4131
4769
  label: {
4132
4770
  id: string;
@@ -4134,7 +4772,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4134
4772
  defaultMessage: string;
4135
4773
  };
4136
4774
  parent?: {
4137
- _fieldId?: string | undefined;
4775
+ $$field: string;
4138
4776
  } | undefined;
4139
4777
  validation?: {
4140
4778
  message: {
@@ -4145,7 +4783,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4145
4783
  validator: import(".").JSONSchema;
4146
4784
  }[] | undefined;
4147
4785
  required?: boolean | undefined;
4148
- defaultValue?: string | undefined;
4149
4786
  conditionals?: ({
4150
4787
  type: "SHOW";
4151
4788
  conditional: import(".").JSONSchema;
@@ -4161,7 +4798,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4161
4798
  description: string;
4162
4799
  defaultMessage: string;
4163
4800
  } | undefined;
4801
+ helperText?: {
4802
+ id: string;
4803
+ description: string;
4804
+ defaultMessage: string;
4805
+ } | undefined;
4164
4806
  hideLabel?: boolean | undefined;
4807
+ defaultValue?: string | [string, string] | undefined;
4165
4808
  configuration?: {
4166
4809
  notice?: {
4167
4810
  id: string;
@@ -4171,13 +4814,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4171
4814
  } | undefined;
4172
4815
  }>, z.ZodObject<z.objectUtil.extendShape<{
4173
4816
  id: z.ZodString;
4174
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4175
4817
  parent: z.ZodOptional<z.ZodObject<{
4176
- _fieldId: z.ZodOptional<z.ZodString>;
4818
+ $$field: z.ZodString;
4177
4819
  }, "strip", z.ZodTypeAny, {
4178
- _fieldId?: string | undefined;
4820
+ $$field: string;
4179
4821
  }, {
4180
- _fieldId?: string | undefined;
4822
+ $$field: string;
4181
4823
  }>>;
4182
4824
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4183
4825
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -4209,6 +4851,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4209
4851
  description: string;
4210
4852
  defaultMessage: string;
4211
4853
  }>;
4854
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4855
+ id: string;
4856
+ description: string;
4857
+ defaultMessage: string;
4858
+ }>>;
4212
4859
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4213
4860
  }, {
4214
4861
  type: z.ZodLiteral<"PARAGRAPH">;
@@ -4216,18 +4863,23 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4216
4863
  configuration: z.ZodDefault<z.ZodObject<{
4217
4864
  styles: z.ZodOptional<z.ZodObject<{
4218
4865
  fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
4866
+ hint: z.ZodOptional<z.ZodBoolean>;
4219
4867
  }, "strip", z.ZodTypeAny, {
4220
4868
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4869
+ hint?: boolean | undefined;
4221
4870
  }, {
4222
4871
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4872
+ hint?: boolean | undefined;
4223
4873
  }>>;
4224
4874
  }, "strip", z.ZodTypeAny, {
4225
4875
  styles?: {
4226
4876
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4877
+ hint?: boolean | undefined;
4227
4878
  } | undefined;
4228
4879
  }, {
4229
4880
  styles?: {
4230
4881
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4882
+ hint?: boolean | undefined;
4231
4883
  } | undefined;
4232
4884
  }>>;
4233
4885
  }>, "strip", z.ZodTypeAny, {
@@ -4237,17 +4889,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4237
4889
  configuration: {
4238
4890
  styles?: {
4239
4891
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4892
+ hint?: boolean | undefined;
4240
4893
  } | undefined;
4241
4894
  };
4242
4895
  parent?: {
4243
- _fieldId?: string | undefined;
4896
+ $$field: string;
4244
4897
  } | undefined;
4245
4898
  validation?: {
4246
4899
  message: TranslationConfig;
4247
4900
  validator: import(".").JSONSchema;
4248
4901
  }[] | undefined;
4249
4902
  required?: boolean | undefined;
4250
- defaultValue?: string | undefined;
4251
4903
  conditionals?: ({
4252
4904
  type: "SHOW";
4253
4905
  conditional: import(".").JSONSchema;
@@ -4259,7 +4911,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4259
4911
  conditional: import(".").JSONSchema;
4260
4912
  })[] | undefined;
4261
4913
  placeholder?: TranslationConfig | undefined;
4914
+ helperText?: TranslationConfig | undefined;
4262
4915
  hideLabel?: boolean | undefined;
4916
+ defaultValue?: string | undefined;
4263
4917
  }, {
4264
4918
  type: "PARAGRAPH";
4265
4919
  id: string;
@@ -4269,7 +4923,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4269
4923
  defaultMessage: string;
4270
4924
  };
4271
4925
  parent?: {
4272
- _fieldId?: string | undefined;
4926
+ $$field: string;
4273
4927
  } | undefined;
4274
4928
  validation?: {
4275
4929
  message: {
@@ -4280,7 +4934,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4280
4934
  validator: import(".").JSONSchema;
4281
4935
  }[] | undefined;
4282
4936
  required?: boolean | undefined;
4283
- defaultValue?: string | undefined;
4284
4937
  conditionals?: ({
4285
4938
  type: "SHOW";
4286
4939
  conditional: import(".").JSONSchema;
@@ -4296,21 +4949,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4296
4949
  description: string;
4297
4950
  defaultMessage: string;
4298
4951
  } | undefined;
4952
+ helperText?: {
4953
+ id: string;
4954
+ description: string;
4955
+ defaultMessage: string;
4956
+ } | undefined;
4299
4957
  hideLabel?: boolean | undefined;
4958
+ defaultValue?: string | undefined;
4300
4959
  configuration?: {
4301
4960
  styles?: {
4302
4961
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
4962
+ hint?: boolean | undefined;
4303
4963
  } | undefined;
4304
4964
  } | undefined;
4305
4965
  }>, z.ZodObject<z.objectUtil.extendShape<{
4306
4966
  id: z.ZodString;
4307
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4308
4967
  parent: z.ZodOptional<z.ZodObject<{
4309
- _fieldId: z.ZodOptional<z.ZodString>;
4968
+ $$field: z.ZodString;
4310
4969
  }, "strip", z.ZodTypeAny, {
4311
- _fieldId?: string | undefined;
4970
+ $$field: string;
4312
4971
  }, {
4313
- _fieldId?: string | undefined;
4972
+ $$field: string;
4314
4973
  }>>;
4315
4974
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4316
4975
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -4342,6 +5001,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4342
5001
  description: string;
4343
5002
  defaultMessage: string;
4344
5003
  }>;
5004
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5005
+ id: string;
5006
+ description: string;
5007
+ defaultMessage: string;
5008
+ }>>;
4345
5009
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4346
5010
  }, {
4347
5011
  type: z.ZodLiteral<"RADIO_GROUP">;
@@ -4390,14 +5054,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4390
5054
  }[];
4391
5055
  label: TranslationConfig;
4392
5056
  parent?: {
4393
- _fieldId?: string | undefined;
5057
+ $$field: string;
4394
5058
  } | undefined;
4395
5059
  validation?: {
4396
5060
  message: TranslationConfig;
4397
5061
  validator: import(".").JSONSchema;
4398
5062
  }[] | undefined;
4399
5063
  required?: boolean | undefined;
4400
- defaultValue?: string | undefined;
4401
5064
  conditionals?: ({
4402
5065
  type: "SHOW";
4403
5066
  conditional: import(".").JSONSchema;
@@ -4409,7 +5072,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4409
5072
  conditional: import(".").JSONSchema;
4410
5073
  })[] | undefined;
4411
5074
  placeholder?: TranslationConfig | undefined;
5075
+ helperText?: TranslationConfig | undefined;
4412
5076
  hideLabel?: boolean | undefined;
5077
+ defaultValue?: string | undefined;
4413
5078
  configuration?: {
4414
5079
  styles?: {
4415
5080
  size?: "NORMAL" | "LARGE" | undefined;
@@ -4432,7 +5097,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4432
5097
  defaultMessage: string;
4433
5098
  };
4434
5099
  parent?: {
4435
- _fieldId?: string | undefined;
5100
+ $$field: string;
4436
5101
  } | undefined;
4437
5102
  validation?: {
4438
5103
  message: {
@@ -4443,7 +5108,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4443
5108
  validator: import(".").JSONSchema;
4444
5109
  }[] | undefined;
4445
5110
  required?: boolean | undefined;
4446
- defaultValue?: string | undefined;
4447
5111
  conditionals?: ({
4448
5112
  type: "SHOW";
4449
5113
  conditional: import(".").JSONSchema;
@@ -4459,7 +5123,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4459
5123
  description: string;
4460
5124
  defaultMessage: string;
4461
5125
  } | undefined;
5126
+ helperText?: {
5127
+ id: string;
5128
+ description: string;
5129
+ defaultMessage: string;
5130
+ } | undefined;
4462
5131
  hideLabel?: boolean | undefined;
5132
+ defaultValue?: string | undefined;
4463
5133
  configuration?: {
4464
5134
  styles?: {
4465
5135
  size?: "NORMAL" | "LARGE" | undefined;
@@ -4467,13 +5137,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4467
5137
  } | undefined;
4468
5138
  }>, z.ZodObject<z.objectUtil.extendShape<{
4469
5139
  id: z.ZodString;
4470
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4471
5140
  parent: z.ZodOptional<z.ZodObject<{
4472
- _fieldId: z.ZodOptional<z.ZodString>;
5141
+ $$field: z.ZodString;
4473
5142
  }, "strip", z.ZodTypeAny, {
4474
- _fieldId?: string | undefined;
5143
+ $$field: string;
4475
5144
  }, {
4476
- _fieldId?: string | undefined;
5145
+ $$field: string;
4477
5146
  }>>;
4478
5147
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4479
5148
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -4505,6 +5174,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4505
5174
  description: string;
4506
5175
  defaultMessage: string;
4507
5176
  }>;
5177
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5178
+ id: string;
5179
+ description: string;
5180
+ defaultMessage: string;
5181
+ }>>;
4508
5182
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4509
5183
  }, {
4510
5184
  type: z.ZodLiteral<"BULLET_LIST">;
@@ -4542,14 +5216,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4542
5216
  };
4543
5217
  items: TranslationConfig[];
4544
5218
  parent?: {
4545
- _fieldId?: string | undefined;
5219
+ $$field: string;
4546
5220
  } | undefined;
4547
5221
  validation?: {
4548
5222
  message: TranslationConfig;
4549
5223
  validator: import(".").JSONSchema;
4550
5224
  }[] | undefined;
4551
5225
  required?: boolean | undefined;
4552
- defaultValue?: string | undefined;
4553
5226
  conditionals?: ({
4554
5227
  type: "SHOW";
4555
5228
  conditional: import(".").JSONSchema;
@@ -4561,7 +5234,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4561
5234
  conditional: import(".").JSONSchema;
4562
5235
  })[] | undefined;
4563
5236
  placeholder?: TranslationConfig | undefined;
5237
+ helperText?: TranslationConfig | undefined;
4564
5238
  hideLabel?: boolean | undefined;
5239
+ defaultValue?: string | undefined;
4565
5240
  }, {
4566
5241
  type: "BULLET_LIST";
4567
5242
  id: string;
@@ -4576,7 +5251,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4576
5251
  defaultMessage: string;
4577
5252
  }[];
4578
5253
  parent?: {
4579
- _fieldId?: string | undefined;
5254
+ $$field: string;
4580
5255
  } | undefined;
4581
5256
  validation?: {
4582
5257
  message: {
@@ -4587,7 +5262,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4587
5262
  validator: import(".").JSONSchema;
4588
5263
  }[] | undefined;
4589
5264
  required?: boolean | undefined;
4590
- defaultValue?: string | undefined;
4591
5265
  conditionals?: ({
4592
5266
  type: "SHOW";
4593
5267
  conditional: import(".").JSONSchema;
@@ -4603,7 +5277,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4603
5277
  description: string;
4604
5278
  defaultMessage: string;
4605
5279
  } | undefined;
5280
+ helperText?: {
5281
+ id: string;
5282
+ description: string;
5283
+ defaultMessage: string;
5284
+ } | undefined;
4606
5285
  hideLabel?: boolean | undefined;
5286
+ defaultValue?: string | undefined;
4607
5287
  configuration?: {
4608
5288
  styles?: {
4609
5289
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
@@ -4611,13 +5291,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4611
5291
  } | undefined;
4612
5292
  }>, z.ZodObject<z.objectUtil.extendShape<{
4613
5293
  id: z.ZodString;
4614
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4615
5294
  parent: z.ZodOptional<z.ZodObject<{
4616
- _fieldId: z.ZodOptional<z.ZodString>;
5295
+ $$field: z.ZodString;
4617
5296
  }, "strip", z.ZodTypeAny, {
4618
- _fieldId?: string | undefined;
5297
+ $$field: string;
4619
5298
  }, {
4620
- _fieldId?: string | undefined;
5299
+ $$field: string;
4621
5300
  }>>;
4622
5301
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4623
5302
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -4649,6 +5328,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4649
5328
  description: string;
4650
5329
  defaultMessage: string;
4651
5330
  }>;
5331
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5332
+ id: string;
5333
+ description: string;
5334
+ defaultMessage: string;
5335
+ }>>;
4652
5336
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4653
5337
  }, {
4654
5338
  type: z.ZodLiteral<"PAGE_HEADER">;
@@ -4658,14 +5342,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4658
5342
  id: string;
4659
5343
  label: TranslationConfig;
4660
5344
  parent?: {
4661
- _fieldId?: string | undefined;
5345
+ $$field: string;
4662
5346
  } | undefined;
4663
5347
  validation?: {
4664
5348
  message: TranslationConfig;
4665
5349
  validator: import(".").JSONSchema;
4666
5350
  }[] | undefined;
4667
5351
  required?: boolean | undefined;
4668
- defaultValue?: string | undefined;
4669
5352
  conditionals?: ({
4670
5353
  type: "SHOW";
4671
5354
  conditional: import(".").JSONSchema;
@@ -4677,7 +5360,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4677
5360
  conditional: import(".").JSONSchema;
4678
5361
  })[] | undefined;
4679
5362
  placeholder?: TranslationConfig | undefined;
5363
+ helperText?: TranslationConfig | undefined;
4680
5364
  hideLabel?: boolean | undefined;
5365
+ defaultValue?: string | undefined;
4681
5366
  }, {
4682
5367
  type: "PAGE_HEADER";
4683
5368
  id: string;
@@ -4687,7 +5372,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4687
5372
  defaultMessage: string;
4688
5373
  };
4689
5374
  parent?: {
4690
- _fieldId?: string | undefined;
5375
+ $$field: string;
4691
5376
  } | undefined;
4692
5377
  validation?: {
4693
5378
  message: {
@@ -4698,7 +5383,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4698
5383
  validator: import(".").JSONSchema;
4699
5384
  }[] | undefined;
4700
5385
  required?: boolean | undefined;
4701
- defaultValue?: string | undefined;
4702
5386
  conditionals?: ({
4703
5387
  type: "SHOW";
4704
5388
  conditional: import(".").JSONSchema;
@@ -4714,16 +5398,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4714
5398
  description: string;
4715
5399
  defaultMessage: string;
4716
5400
  } | undefined;
5401
+ helperText?: {
5402
+ id: string;
5403
+ description: string;
5404
+ defaultMessage: string;
5405
+ } | undefined;
4717
5406
  hideLabel?: boolean | undefined;
5407
+ defaultValue?: string | undefined;
4718
5408
  }>, z.ZodObject<z.objectUtil.extendShape<{
4719
5409
  id: z.ZodString;
4720
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4721
5410
  parent: z.ZodOptional<z.ZodObject<{
4722
- _fieldId: z.ZodOptional<z.ZodString>;
5411
+ $$field: z.ZodString;
4723
5412
  }, "strip", z.ZodTypeAny, {
4724
- _fieldId?: string | undefined;
5413
+ $$field: string;
4725
5414
  }, {
4726
- _fieldId?: string | undefined;
5415
+ $$field: string;
4727
5416
  }>>;
4728
5417
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4729
5418
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -4755,6 +5444,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4755
5444
  description: string;
4756
5445
  defaultMessage: string;
4757
5446
  }>;
5447
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5448
+ id: string;
5449
+ description: string;
5450
+ defaultMessage: string;
5451
+ }>>;
4758
5452
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4759
5453
  }, {
4760
5454
  type: z.ZodLiteral<"SELECT">;
@@ -4786,14 +5480,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4786
5480
  }[];
4787
5481
  label: TranslationConfig;
4788
5482
  parent?: {
4789
- _fieldId?: string | undefined;
5483
+ $$field: string;
4790
5484
  } | undefined;
4791
5485
  validation?: {
4792
5486
  message: TranslationConfig;
4793
5487
  validator: import(".").JSONSchema;
4794
5488
  }[] | undefined;
4795
5489
  required?: boolean | undefined;
4796
- defaultValue?: string | undefined;
4797
5490
  conditionals?: ({
4798
5491
  type: "SHOW";
4799
5492
  conditional: import(".").JSONSchema;
@@ -4805,7 +5498,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4805
5498
  conditional: import(".").JSONSchema;
4806
5499
  })[] | undefined;
4807
5500
  placeholder?: TranslationConfig | undefined;
5501
+ helperText?: TranslationConfig | undefined;
4808
5502
  hideLabel?: boolean | undefined;
5503
+ defaultValue?: string | undefined;
4809
5504
  }, {
4810
5505
  type: "SELECT";
4811
5506
  id: string;
@@ -4823,7 +5518,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4823
5518
  defaultMessage: string;
4824
5519
  };
4825
5520
  parent?: {
4826
- _fieldId?: string | undefined;
5521
+ $$field: string;
4827
5522
  } | undefined;
4828
5523
  validation?: {
4829
5524
  message: {
@@ -4834,7 +5529,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4834
5529
  validator: import(".").JSONSchema;
4835
5530
  }[] | undefined;
4836
5531
  required?: boolean | undefined;
4837
- defaultValue?: string | undefined;
4838
5532
  conditionals?: ({
4839
5533
  type: "SHOW";
4840
5534
  conditional: import(".").JSONSchema;
@@ -4850,16 +5544,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4850
5544
  description: string;
4851
5545
  defaultMessage: string;
4852
5546
  } | undefined;
5547
+ helperText?: {
5548
+ id: string;
5549
+ description: string;
5550
+ defaultMessage: string;
5551
+ } | undefined;
4853
5552
  hideLabel?: boolean | undefined;
5553
+ defaultValue?: string | undefined;
4854
5554
  }>, z.ZodObject<z.objectUtil.extendShape<{
4855
5555
  id: z.ZodString;
4856
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4857
5556
  parent: z.ZodOptional<z.ZodObject<{
4858
- _fieldId: z.ZodOptional<z.ZodString>;
5557
+ $$field: z.ZodString;
4859
5558
  }, "strip", z.ZodTypeAny, {
4860
- _fieldId?: string | undefined;
5559
+ $$field: string;
4861
5560
  }, {
4862
- _fieldId?: string | undefined;
5561
+ $$field: string;
4863
5562
  }>>;
4864
5563
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4865
5564
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -4891,6 +5590,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4891
5590
  description: string;
4892
5591
  defaultMessage: string;
4893
5592
  }>;
5593
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5594
+ id: string;
5595
+ description: string;
5596
+ defaultMessage: string;
5597
+ }>>;
4894
5598
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4895
5599
  }, {
4896
5600
  type: z.ZodLiteral<"CHECKBOX">;
@@ -4900,14 +5604,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4900
5604
  id: string;
4901
5605
  label: TranslationConfig;
4902
5606
  parent?: {
4903
- _fieldId?: string | undefined;
5607
+ $$field: string;
4904
5608
  } | undefined;
4905
5609
  validation?: {
4906
5610
  message: TranslationConfig;
4907
5611
  validator: import(".").JSONSchema;
4908
5612
  }[] | undefined;
4909
5613
  required?: boolean | undefined;
4910
- defaultValue?: boolean | undefined;
4911
5614
  conditionals?: ({
4912
5615
  type: "SHOW";
4913
5616
  conditional: import(".").JSONSchema;
@@ -4919,7 +5622,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4919
5622
  conditional: import(".").JSONSchema;
4920
5623
  })[] | undefined;
4921
5624
  placeholder?: TranslationConfig | undefined;
5625
+ helperText?: TranslationConfig | undefined;
4922
5626
  hideLabel?: boolean | undefined;
5627
+ defaultValue?: boolean | undefined;
4923
5628
  }, {
4924
5629
  type: "CHECKBOX";
4925
5630
  id: string;
@@ -4929,7 +5634,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4929
5634
  defaultMessage: string;
4930
5635
  };
4931
5636
  parent?: {
4932
- _fieldId?: string | undefined;
5637
+ $$field: string;
4933
5638
  } | undefined;
4934
5639
  validation?: {
4935
5640
  message: {
@@ -4940,7 +5645,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4940
5645
  validator: import(".").JSONSchema;
4941
5646
  }[] | undefined;
4942
5647
  required?: boolean | undefined;
4943
- defaultValue?: boolean | undefined;
4944
5648
  conditionals?: ({
4945
5649
  type: "SHOW";
4946
5650
  conditional: import(".").JSONSchema;
@@ -4956,16 +5660,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4956
5660
  description: string;
4957
5661
  defaultMessage: string;
4958
5662
  } | undefined;
5663
+ helperText?: {
5664
+ id: string;
5665
+ description: string;
5666
+ defaultMessage: string;
5667
+ } | undefined;
4959
5668
  hideLabel?: boolean | undefined;
5669
+ defaultValue?: boolean | undefined;
4960
5670
  }>, z.ZodObject<z.objectUtil.extendShape<{
4961
5671
  id: z.ZodString;
4962
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4963
5672
  parent: z.ZodOptional<z.ZodObject<{
4964
- _fieldId: z.ZodOptional<z.ZodString>;
5673
+ $$field: z.ZodString;
4965
5674
  }, "strip", z.ZodTypeAny, {
4966
- _fieldId?: string | undefined;
5675
+ $$field: string;
4967
5676
  }, {
4968
- _fieldId?: string | undefined;
5677
+ $$field: string;
4969
5678
  }>>;
4970
5679
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4971
5680
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -4997,9 +5706,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4997
5706
  description: string;
4998
5707
  defaultMessage: string;
4999
5708
  }>;
5709
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5710
+ id: string;
5711
+ description: string;
5712
+ defaultMessage: string;
5713
+ }>>;
5000
5714
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5001
5715
  }, {
5002
5716
  type: z.ZodLiteral<"FILE">;
5717
+ defaultValue: z.ZodOptional<z.ZodObject<{
5718
+ filename: z.ZodString;
5719
+ originalFilename: z.ZodString;
5720
+ type: z.ZodString;
5721
+ }, "strip", z.ZodTypeAny, {
5722
+ type: string;
5723
+ filename: string;
5724
+ originalFilename: string;
5725
+ }, {
5726
+ type: string;
5727
+ filename: string;
5728
+ originalFilename: string;
5729
+ }>>;
5003
5730
  configuration: z.ZodDefault<z.ZodObject<{
5004
5731
  maxFileSize: z.ZodDefault<z.ZodNumber>;
5005
5732
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
@@ -5047,14 +5774,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5047
5774
  fileName?: TranslationConfig | undefined;
5048
5775
  };
5049
5776
  parent?: {
5050
- _fieldId?: string | undefined;
5777
+ $$field: string;
5051
5778
  } | undefined;
5052
5779
  validation?: {
5053
5780
  message: TranslationConfig;
5054
5781
  validator: import(".").JSONSchema;
5055
5782
  }[] | undefined;
5056
5783
  required?: boolean | undefined;
5057
- defaultValue?: string | number | boolean | undefined;
5058
5784
  conditionals?: ({
5059
5785
  type: "SHOW";
5060
5786
  conditional: import(".").JSONSchema;
@@ -5066,7 +5792,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5066
5792
  conditional: import(".").JSONSchema;
5067
5793
  })[] | undefined;
5068
5794
  placeholder?: TranslationConfig | undefined;
5795
+ helperText?: TranslationConfig | undefined;
5069
5796
  hideLabel?: boolean | undefined;
5797
+ defaultValue?: {
5798
+ type: string;
5799
+ filename: string;
5800
+ originalFilename: string;
5801
+ } | undefined;
5070
5802
  }, {
5071
5803
  type: "FILE";
5072
5804
  id: string;
@@ -5076,7 +5808,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5076
5808
  defaultMessage: string;
5077
5809
  };
5078
5810
  parent?: {
5079
- _fieldId?: string | undefined;
5811
+ $$field: string;
5080
5812
  } | undefined;
5081
5813
  validation?: {
5082
5814
  message: {
@@ -5087,7 +5819,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5087
5819
  validator: import(".").JSONSchema;
5088
5820
  }[] | undefined;
5089
5821
  required?: boolean | undefined;
5090
- defaultValue?: string | number | boolean | undefined;
5091
5822
  conditionals?: ({
5092
5823
  type: "SHOW";
5093
5824
  conditional: import(".").JSONSchema;
@@ -5103,7 +5834,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5103
5834
  description: string;
5104
5835
  defaultMessage: string;
5105
5836
  } | undefined;
5837
+ helperText?: {
5838
+ id: string;
5839
+ description: string;
5840
+ defaultMessage: string;
5841
+ } | undefined;
5106
5842
  hideLabel?: boolean | undefined;
5843
+ defaultValue?: {
5844
+ type: string;
5845
+ filename: string;
5846
+ originalFilename: string;
5847
+ } | undefined;
5107
5848
  configuration?: {
5108
5849
  maxFileSize?: number | undefined;
5109
5850
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
@@ -5118,13 +5859,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5118
5859
  } | undefined;
5119
5860
  }>, z.ZodObject<z.objectUtil.extendShape<{
5120
5861
  id: z.ZodString;
5121
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5122
5862
  parent: z.ZodOptional<z.ZodObject<{
5123
- _fieldId: z.ZodOptional<z.ZodString>;
5863
+ $$field: z.ZodString;
5124
5864
  }, "strip", z.ZodTypeAny, {
5125
- _fieldId?: string | undefined;
5865
+ $$field: string;
5126
5866
  }, {
5127
- _fieldId?: string | undefined;
5867
+ $$field: string;
5128
5868
  }>>;
5129
5869
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5130
5870
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -5156,6 +5896,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5156
5896
  description: string;
5157
5897
  defaultMessage: string;
5158
5898
  }>;
5899
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5900
+ id: string;
5901
+ description: string;
5902
+ defaultMessage: string;
5903
+ }>>;
5159
5904
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5160
5905
  }, {
5161
5906
  type: z.ZodLiteral<"COUNTRY">;
@@ -5165,14 +5910,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5165
5910
  id: string;
5166
5911
  label: TranslationConfig;
5167
5912
  parent?: {
5168
- _fieldId?: string | undefined;
5913
+ $$field: string;
5169
5914
  } | undefined;
5170
5915
  validation?: {
5171
5916
  message: TranslationConfig;
5172
5917
  validator: import(".").JSONSchema;
5173
5918
  }[] | undefined;
5174
5919
  required?: boolean | undefined;
5175
- defaultValue?: string | undefined;
5176
5920
  conditionals?: ({
5177
5921
  type: "SHOW";
5178
5922
  conditional: import(".").JSONSchema;
@@ -5184,7 +5928,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5184
5928
  conditional: import(".").JSONSchema;
5185
5929
  })[] | undefined;
5186
5930
  placeholder?: TranslationConfig | undefined;
5931
+ helperText?: TranslationConfig | undefined;
5187
5932
  hideLabel?: boolean | undefined;
5933
+ defaultValue?: string | undefined;
5188
5934
  }, {
5189
5935
  type: "COUNTRY";
5190
5936
  id: string;
@@ -5194,7 +5940,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5194
5940
  defaultMessage: string;
5195
5941
  };
5196
5942
  parent?: {
5197
- _fieldId?: string | undefined;
5943
+ $$field: string;
5198
5944
  } | undefined;
5199
5945
  validation?: {
5200
5946
  message: {
@@ -5205,7 +5951,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5205
5951
  validator: import(".").JSONSchema;
5206
5952
  }[] | undefined;
5207
5953
  required?: boolean | undefined;
5208
- defaultValue?: string | undefined;
5209
5954
  conditionals?: ({
5210
5955
  type: "SHOW";
5211
5956
  conditional: import(".").JSONSchema;
@@ -5221,16 +5966,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5221
5966
  description: string;
5222
5967
  defaultMessage: string;
5223
5968
  } | undefined;
5969
+ helperText?: {
5970
+ id: string;
5971
+ description: string;
5972
+ defaultMessage: string;
5973
+ } | undefined;
5224
5974
  hideLabel?: boolean | undefined;
5975
+ defaultValue?: string | undefined;
5225
5976
  }>, z.ZodObject<z.objectUtil.extendShape<{
5226
5977
  id: z.ZodString;
5227
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5228
5978
  parent: z.ZodOptional<z.ZodObject<{
5229
- _fieldId: z.ZodOptional<z.ZodString>;
5979
+ $$field: z.ZodString;
5230
5980
  }, "strip", z.ZodTypeAny, {
5231
- _fieldId?: string | undefined;
5981
+ $$field: string;
5232
5982
  }, {
5233
- _fieldId?: string | undefined;
5983
+ $$field: string;
5234
5984
  }>>;
5235
5985
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5236
5986
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -5262,6 +6012,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5262
6012
  description: string;
5263
6013
  defaultMessage: string;
5264
6014
  }>;
6015
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6016
+ id: string;
6017
+ description: string;
6018
+ defaultMessage: string;
6019
+ }>>;
5265
6020
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5266
6021
  }, {
5267
6022
  type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
@@ -5297,14 +6052,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5297
6052
  } | undefined;
5298
6053
  };
5299
6054
  parent?: {
5300
- _fieldId?: string | undefined;
6055
+ $$field: string;
5301
6056
  } | undefined;
5302
6057
  validation?: {
5303
6058
  message: TranslationConfig;
5304
6059
  validator: import(".").JSONSchema;
5305
6060
  }[] | undefined;
5306
6061
  required?: boolean | undefined;
5307
- defaultValue?: string | undefined;
5308
6062
  conditionals?: ({
5309
6063
  type: "SHOW";
5310
6064
  conditional: import(".").JSONSchema;
@@ -5316,7 +6070,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5316
6070
  conditional: import(".").JSONSchema;
5317
6071
  })[] | undefined;
5318
6072
  placeholder?: TranslationConfig | undefined;
6073
+ helperText?: TranslationConfig | undefined;
5319
6074
  hideLabel?: boolean | undefined;
6075
+ defaultValue?: string | undefined;
5320
6076
  }, {
5321
6077
  type: "ADMINISTRATIVE_AREA";
5322
6078
  id: string;
@@ -5332,7 +6088,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5332
6088
  } | undefined;
5333
6089
  };
5334
6090
  parent?: {
5335
- _fieldId?: string | undefined;
6091
+ $$field: string;
5336
6092
  } | undefined;
5337
6093
  validation?: {
5338
6094
  message: {
@@ -5343,7 +6099,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5343
6099
  validator: import(".").JSONSchema;
5344
6100
  }[] | undefined;
5345
6101
  required?: boolean | undefined;
5346
- defaultValue?: string | undefined;
5347
6102
  conditionals?: ({
5348
6103
  type: "SHOW";
5349
6104
  conditional: import(".").JSONSchema;
@@ -5359,16 +6114,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5359
6114
  description: string;
5360
6115
  defaultMessage: string;
5361
6116
  } | undefined;
6117
+ helperText?: {
6118
+ id: string;
6119
+ description: string;
6120
+ defaultMessage: string;
6121
+ } | undefined;
5362
6122
  hideLabel?: boolean | undefined;
6123
+ defaultValue?: string | undefined;
5363
6124
  }>, z.ZodObject<z.objectUtil.extendShape<{
5364
6125
  id: z.ZodString;
5365
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5366
6126
  parent: z.ZodOptional<z.ZodObject<{
5367
- _fieldId: z.ZodOptional<z.ZodString>;
6127
+ $$field: z.ZodString;
5368
6128
  }, "strip", z.ZodTypeAny, {
5369
- _fieldId?: string | undefined;
6129
+ $$field: string;
5370
6130
  }, {
5371
- _fieldId?: string | undefined;
6131
+ $$field: string;
5372
6132
  }>>;
5373
6133
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5374
6134
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -5400,6 +6160,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5400
6160
  description: string;
5401
6161
  defaultMessage: string;
5402
6162
  }>;
6163
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6164
+ id: string;
6165
+ description: string;
6166
+ defaultMessage: string;
6167
+ }>>;
5403
6168
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5404
6169
  }, {
5405
6170
  type: z.ZodLiteral<"DIVIDER">;
@@ -5408,14 +6173,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5408
6173
  id: string;
5409
6174
  label: TranslationConfig;
5410
6175
  parent?: {
5411
- _fieldId?: string | undefined;
6176
+ $$field: string;
5412
6177
  } | undefined;
5413
6178
  validation?: {
5414
6179
  message: TranslationConfig;
5415
6180
  validator: import(".").JSONSchema;
5416
6181
  }[] | undefined;
5417
6182
  required?: boolean | undefined;
5418
- defaultValue?: string | number | boolean | undefined;
5419
6183
  conditionals?: ({
5420
6184
  type: "SHOW";
5421
6185
  conditional: import(".").JSONSchema;
@@ -5427,6 +6191,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5427
6191
  conditional: import(".").JSONSchema;
5428
6192
  })[] | undefined;
5429
6193
  placeholder?: TranslationConfig | undefined;
6194
+ helperText?: TranslationConfig | undefined;
5430
6195
  hideLabel?: boolean | undefined;
5431
6196
  }, {
5432
6197
  type: "DIVIDER";
@@ -5437,7 +6202,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5437
6202
  defaultMessage: string;
5438
6203
  };
5439
6204
  parent?: {
5440
- _fieldId?: string | undefined;
6205
+ $$field: string;
5441
6206
  } | undefined;
5442
6207
  validation?: {
5443
6208
  message: {
@@ -5448,7 +6213,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5448
6213
  validator: import(".").JSONSchema;
5449
6214
  }[] | undefined;
5450
6215
  required?: boolean | undefined;
5451
- defaultValue?: string | number | boolean | undefined;
5452
6216
  conditionals?: ({
5453
6217
  type: "SHOW";
5454
6218
  conditional: import(".").JSONSchema;
@@ -5464,16 +6228,20 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5464
6228
  description: string;
5465
6229
  defaultMessage: string;
5466
6230
  } | undefined;
6231
+ helperText?: {
6232
+ id: string;
6233
+ description: string;
6234
+ defaultMessage: string;
6235
+ } | undefined;
5467
6236
  hideLabel?: boolean | undefined;
5468
6237
  }>, z.ZodObject<z.objectUtil.extendShape<{
5469
6238
  id: z.ZodString;
5470
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5471
6239
  parent: z.ZodOptional<z.ZodObject<{
5472
- _fieldId: z.ZodOptional<z.ZodString>;
6240
+ $$field: z.ZodString;
5473
6241
  }, "strip", z.ZodTypeAny, {
5474
- _fieldId?: string | undefined;
6242
+ $$field: string;
5475
6243
  }, {
5476
- _fieldId?: string | undefined;
6244
+ $$field: string;
5477
6245
  }>>;
5478
6246
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5479
6247
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -5505,6 +6273,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5505
6273
  description: string;
5506
6274
  defaultMessage: string;
5507
6275
  }>;
6276
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6277
+ id: string;
6278
+ description: string;
6279
+ defaultMessage: string;
6280
+ }>>;
5508
6281
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5509
6282
  }, {
5510
6283
  type: z.ZodLiteral<"LOCATION">;
@@ -5514,14 +6287,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5514
6287
  id: string;
5515
6288
  label: TranslationConfig;
5516
6289
  parent?: {
5517
- _fieldId?: string | undefined;
6290
+ $$field: string;
5518
6291
  } | undefined;
5519
6292
  validation?: {
5520
6293
  message: TranslationConfig;
5521
6294
  validator: import(".").JSONSchema;
5522
6295
  }[] | undefined;
5523
6296
  required?: boolean | undefined;
5524
- defaultValue?: string | undefined;
5525
6297
  conditionals?: ({
5526
6298
  type: "SHOW";
5527
6299
  conditional: import(".").JSONSchema;
@@ -5533,7 +6305,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5533
6305
  conditional: import(".").JSONSchema;
5534
6306
  })[] | undefined;
5535
6307
  placeholder?: TranslationConfig | undefined;
6308
+ helperText?: TranslationConfig | undefined;
5536
6309
  hideLabel?: boolean | undefined;
6310
+ defaultValue?: string | undefined;
5537
6311
  }, {
5538
6312
  type: "LOCATION";
5539
6313
  id: string;
@@ -5543,7 +6317,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5543
6317
  defaultMessage: string;
5544
6318
  };
5545
6319
  parent?: {
5546
- _fieldId?: string | undefined;
6320
+ $$field: string;
5547
6321
  } | undefined;
5548
6322
  validation?: {
5549
6323
  message: {
@@ -5554,7 +6328,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5554
6328
  validator: import(".").JSONSchema;
5555
6329
  }[] | undefined;
5556
6330
  required?: boolean | undefined;
5557
- defaultValue?: string | undefined;
5558
6331
  conditionals?: ({
5559
6332
  type: "SHOW";
5560
6333
  conditional: import(".").JSONSchema;
@@ -5570,16 +6343,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5570
6343
  description: string;
5571
6344
  defaultMessage: string;
5572
6345
  } | undefined;
6346
+ helperText?: {
6347
+ id: string;
6348
+ description: string;
6349
+ defaultMessage: string;
6350
+ } | undefined;
5573
6351
  hideLabel?: boolean | undefined;
6352
+ defaultValue?: string | undefined;
5574
6353
  }>, z.ZodObject<z.objectUtil.extendShape<{
5575
6354
  id: z.ZodString;
5576
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5577
6355
  parent: z.ZodOptional<z.ZodObject<{
5578
- _fieldId: z.ZodOptional<z.ZodString>;
6356
+ $$field: z.ZodString;
5579
6357
  }, "strip", z.ZodTypeAny, {
5580
- _fieldId?: string | undefined;
6358
+ $$field: string;
5581
6359
  }, {
5582
- _fieldId?: string | undefined;
6360
+ $$field: string;
5583
6361
  }>>;
5584
6362
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5585
6363
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -5611,6 +6389,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5611
6389
  description: string;
5612
6390
  defaultMessage: string;
5613
6391
  }>;
6392
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6393
+ id: string;
6394
+ description: string;
6395
+ defaultMessage: string;
6396
+ }>>;
5614
6397
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5615
6398
  }, {
5616
6399
  type: z.ZodLiteral<"FACILITY">;
@@ -5620,14 +6403,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5620
6403
  id: string;
5621
6404
  label: TranslationConfig;
5622
6405
  parent?: {
5623
- _fieldId?: string | undefined;
6406
+ $$field: string;
5624
6407
  } | undefined;
5625
6408
  validation?: {
5626
6409
  message: TranslationConfig;
5627
6410
  validator: import(".").JSONSchema;
5628
6411
  }[] | undefined;
5629
6412
  required?: boolean | undefined;
5630
- defaultValue?: string | undefined;
5631
6413
  conditionals?: ({
5632
6414
  type: "SHOW";
5633
6415
  conditional: import(".").JSONSchema;
@@ -5639,7 +6421,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5639
6421
  conditional: import(".").JSONSchema;
5640
6422
  })[] | undefined;
5641
6423
  placeholder?: TranslationConfig | undefined;
6424
+ helperText?: TranslationConfig | undefined;
5642
6425
  hideLabel?: boolean | undefined;
6426
+ defaultValue?: string | undefined;
5643
6427
  }, {
5644
6428
  type: "FACILITY";
5645
6429
  id: string;
@@ -5649,7 +6433,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5649
6433
  defaultMessage: string;
5650
6434
  };
5651
6435
  parent?: {
5652
- _fieldId?: string | undefined;
6436
+ $$field: string;
5653
6437
  } | undefined;
5654
6438
  validation?: {
5655
6439
  message: {
@@ -5660,7 +6444,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5660
6444
  validator: import(".").JSONSchema;
5661
6445
  }[] | undefined;
5662
6446
  required?: boolean | undefined;
5663
- defaultValue?: string | undefined;
5664
6447
  conditionals?: ({
5665
6448
  type: "SHOW";
5666
6449
  conditional: import(".").JSONSchema;
@@ -5676,16 +6459,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5676
6459
  description: string;
5677
6460
  defaultMessage: string;
5678
6461
  } | undefined;
6462
+ helperText?: {
6463
+ id: string;
6464
+ description: string;
6465
+ defaultMessage: string;
6466
+ } | undefined;
5679
6467
  hideLabel?: boolean | undefined;
6468
+ defaultValue?: string | undefined;
5680
6469
  }>, z.ZodObject<z.objectUtil.extendShape<{
5681
6470
  id: z.ZodString;
5682
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5683
6471
  parent: z.ZodOptional<z.ZodObject<{
5684
- _fieldId: z.ZodOptional<z.ZodString>;
6472
+ $$field: z.ZodString;
5685
6473
  }, "strip", z.ZodTypeAny, {
5686
- _fieldId?: string | undefined;
6474
+ $$field: string;
5687
6475
  }, {
5688
- _fieldId?: string | undefined;
6476
+ $$field: string;
5689
6477
  }>>;
5690
6478
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5691
6479
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -5717,6 +6505,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5717
6505
  description: string;
5718
6506
  defaultMessage: string;
5719
6507
  }>;
6508
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6509
+ id: string;
6510
+ description: string;
6511
+ defaultMessage: string;
6512
+ }>>;
5720
6513
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5721
6514
  }, {
5722
6515
  type: z.ZodLiteral<"OFFICE">;
@@ -5726,14 +6519,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5726
6519
  id: string;
5727
6520
  label: TranslationConfig;
5728
6521
  parent?: {
5729
- _fieldId?: string | undefined;
6522
+ $$field: string;
5730
6523
  } | undefined;
5731
6524
  validation?: {
5732
6525
  message: TranslationConfig;
5733
6526
  validator: import(".").JSONSchema;
5734
6527
  }[] | undefined;
5735
6528
  required?: boolean | undefined;
5736
- defaultValue?: string | undefined;
5737
6529
  conditionals?: ({
5738
6530
  type: "SHOW";
5739
6531
  conditional: import(".").JSONSchema;
@@ -5745,7 +6537,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5745
6537
  conditional: import(".").JSONSchema;
5746
6538
  })[] | undefined;
5747
6539
  placeholder?: TranslationConfig | undefined;
6540
+ helperText?: TranslationConfig | undefined;
5748
6541
  hideLabel?: boolean | undefined;
6542
+ defaultValue?: string | undefined;
5749
6543
  }, {
5750
6544
  type: "OFFICE";
5751
6545
  id: string;
@@ -5755,7 +6549,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5755
6549
  defaultMessage: string;
5756
6550
  };
5757
6551
  parent?: {
5758
- _fieldId?: string | undefined;
6552
+ $$field: string;
5759
6553
  } | undefined;
5760
6554
  validation?: {
5761
6555
  message: {
@@ -5766,7 +6560,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5766
6560
  validator: import(".").JSONSchema;
5767
6561
  }[] | undefined;
5768
6562
  required?: boolean | undefined;
5769
- defaultValue?: string | undefined;
5770
6563
  conditionals?: ({
5771
6564
  type: "SHOW";
5772
6565
  conditional: import(".").JSONSchema;
@@ -5782,16 +6575,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5782
6575
  description: string;
5783
6576
  defaultMessage: string;
5784
6577
  } | undefined;
6578
+ helperText?: {
6579
+ id: string;
6580
+ description: string;
6581
+ defaultMessage: string;
6582
+ } | undefined;
5785
6583
  hideLabel?: boolean | undefined;
6584
+ defaultValue?: string | undefined;
5786
6585
  }>, z.ZodObject<z.objectUtil.extendShape<{
5787
6586
  id: z.ZodString;
5788
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5789
6587
  parent: z.ZodOptional<z.ZodObject<{
5790
- _fieldId: z.ZodOptional<z.ZodString>;
6588
+ $$field: z.ZodString;
5791
6589
  }, "strip", z.ZodTypeAny, {
5792
- _fieldId?: string | undefined;
6590
+ $$field: string;
5793
6591
  }, {
5794
- _fieldId?: string | undefined;
6592
+ $$field: string;
5795
6593
  }>>;
5796
6594
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5797
6595
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -5823,6 +6621,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5823
6621
  description: string;
5824
6622
  defaultMessage: string;
5825
6623
  }>;
6624
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6625
+ id: string;
6626
+ description: string;
6627
+ defaultMessage: string;
6628
+ }>>;
5826
6629
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5827
6630
  }, {
5828
6631
  type: z.ZodLiteral<"SIGNATURE">;
@@ -5831,6 +6634,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5831
6634
  description: string;
5832
6635
  defaultMessage: string;
5833
6636
  }>;
6637
+ defaultValue: z.ZodOptional<z.ZodString>;
5834
6638
  configuration: z.ZodDefault<z.ZodObject<{
5835
6639
  maxFileSize: z.ZodDefault<z.ZodNumber>;
5836
6640
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
@@ -5851,14 +6655,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5851
6655
  };
5852
6656
  signaturePromptLabel: TranslationConfig;
5853
6657
  parent?: {
5854
- _fieldId?: string | undefined;
6658
+ $$field: string;
5855
6659
  } | undefined;
5856
6660
  validation?: {
5857
6661
  message: TranslationConfig;
5858
6662
  validator: import(".").JSONSchema;
5859
6663
  }[] | undefined;
5860
6664
  required?: boolean | undefined;
5861
- defaultValue?: string | number | boolean | undefined;
5862
6665
  conditionals?: ({
5863
6666
  type: "SHOW";
5864
6667
  conditional: import(".").JSONSchema;
@@ -5870,7 +6673,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5870
6673
  conditional: import(".").JSONSchema;
5871
6674
  })[] | undefined;
5872
6675
  placeholder?: TranslationConfig | undefined;
6676
+ helperText?: TranslationConfig | undefined;
5873
6677
  hideLabel?: boolean | undefined;
6678
+ defaultValue?: string | undefined;
5874
6679
  }, {
5875
6680
  type: "SIGNATURE";
5876
6681
  id: string;
@@ -5885,7 +6690,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5885
6690
  defaultMessage: string;
5886
6691
  };
5887
6692
  parent?: {
5888
- _fieldId?: string | undefined;
6693
+ $$field: string;
5889
6694
  } | undefined;
5890
6695
  validation?: {
5891
6696
  message: {
@@ -5896,7 +6701,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5896
6701
  validator: import(".").JSONSchema;
5897
6702
  }[] | undefined;
5898
6703
  required?: boolean | undefined;
5899
- defaultValue?: string | number | boolean | undefined;
5900
6704
  conditionals?: ({
5901
6705
  type: "SHOW";
5902
6706
  conditional: import(".").JSONSchema;
@@ -5912,20 +6716,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5912
6716
  description: string;
5913
6717
  defaultMessage: string;
5914
6718
  } | undefined;
6719
+ helperText?: {
6720
+ id: string;
6721
+ description: string;
6722
+ defaultMessage: string;
6723
+ } | undefined;
5915
6724
  hideLabel?: boolean | undefined;
6725
+ defaultValue?: string | undefined;
5916
6726
  configuration?: {
5917
6727
  maxFileSize?: number | undefined;
5918
6728
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
5919
6729
  } | undefined;
5920
6730
  }>, z.ZodObject<z.objectUtil.extendShape<{
5921
6731
  id: z.ZodString;
5922
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5923
6732
  parent: z.ZodOptional<z.ZodObject<{
5924
- _fieldId: z.ZodOptional<z.ZodString>;
6733
+ $$field: z.ZodString;
5925
6734
  }, "strip", z.ZodTypeAny, {
5926
- _fieldId?: string | undefined;
6735
+ $$field: string;
5927
6736
  }, {
5928
- _fieldId?: string | undefined;
6737
+ $$field: string;
5929
6738
  }>>;
5930
6739
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5931
6740
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -5957,6 +6766,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5957
6766
  description: string;
5958
6767
  defaultMessage: string;
5959
6768
  }>;
6769
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6770
+ id: string;
6771
+ description: string;
6772
+ defaultMessage: string;
6773
+ }>>;
5960
6774
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5961
6775
  }, {
5962
6776
  type: z.ZodLiteral<"EMAIL">;
@@ -5973,14 +6787,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5973
6787
  id: string;
5974
6788
  label: TranslationConfig;
5975
6789
  parent?: {
5976
- _fieldId?: string | undefined;
6790
+ $$field: string;
5977
6791
  } | undefined;
5978
6792
  validation?: {
5979
6793
  message: TranslationConfig;
5980
6794
  validator: import(".").JSONSchema;
5981
6795
  }[] | undefined;
5982
6796
  required?: boolean | undefined;
5983
- defaultValue?: string | undefined;
5984
6797
  conditionals?: ({
5985
6798
  type: "SHOW";
5986
6799
  conditional: import(".").JSONSchema;
@@ -5992,7 +6805,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5992
6805
  conditional: import(".").JSONSchema;
5993
6806
  })[] | undefined;
5994
6807
  placeholder?: TranslationConfig | undefined;
6808
+ helperText?: TranslationConfig | undefined;
5995
6809
  hideLabel?: boolean | undefined;
6810
+ defaultValue?: string | undefined;
5996
6811
  configuration?: {
5997
6812
  maxLength?: number | undefined;
5998
6813
  } | undefined;
@@ -6005,7 +6820,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6005
6820
  defaultMessage: string;
6006
6821
  };
6007
6822
  parent?: {
6008
- _fieldId?: string | undefined;
6823
+ $$field: string;
6009
6824
  } | undefined;
6010
6825
  validation?: {
6011
6826
  message: {
@@ -6016,7 +6831,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6016
6831
  validator: import(".").JSONSchema;
6017
6832
  }[] | undefined;
6018
6833
  required?: boolean | undefined;
6019
- defaultValue?: string | undefined;
6020
6834
  conditionals?: ({
6021
6835
  type: "SHOW";
6022
6836
  conditional: import(".").JSONSchema;
@@ -6032,19 +6846,24 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6032
6846
  description: string;
6033
6847
  defaultMessage: string;
6034
6848
  } | undefined;
6849
+ helperText?: {
6850
+ id: string;
6851
+ description: string;
6852
+ defaultMessage: string;
6853
+ } | undefined;
6035
6854
  hideLabel?: boolean | undefined;
6855
+ defaultValue?: string | undefined;
6036
6856
  configuration?: {
6037
6857
  maxLength?: number | undefined;
6038
6858
  } | undefined;
6039
6859
  }>, z.ZodObject<z.objectUtil.extendShape<{
6040
6860
  id: z.ZodString;
6041
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6042
6861
  parent: z.ZodOptional<z.ZodObject<{
6043
- _fieldId: z.ZodOptional<z.ZodString>;
6862
+ $$field: z.ZodString;
6044
6863
  }, "strip", z.ZodTypeAny, {
6045
- _fieldId?: string | undefined;
6864
+ $$field: string;
6046
6865
  }, {
6047
- _fieldId?: string | undefined;
6866
+ $$field: string;
6048
6867
  }>>;
6049
6868
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6050
6869
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -6076,6 +6895,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6076
6895
  description: string;
6077
6896
  defaultMessage: string;
6078
6897
  }>;
6898
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6899
+ id: string;
6900
+ description: string;
6901
+ defaultMessage: string;
6902
+ }>>;
6079
6903
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6080
6904
  }, {
6081
6905
  type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
@@ -6097,6 +6921,22 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6097
6921
  defaultMessage: string;
6098
6922
  };
6099
6923
  }>, "many">;
6924
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
6925
+ filename: z.ZodString;
6926
+ originalFilename: z.ZodString;
6927
+ type: z.ZodString;
6928
+ option: z.ZodString;
6929
+ }, "strip", z.ZodTypeAny, {
6930
+ type: string;
6931
+ option: string;
6932
+ filename: string;
6933
+ originalFilename: string;
6934
+ }, {
6935
+ type: string;
6936
+ option: string;
6937
+ filename: string;
6938
+ originalFilename: string;
6939
+ }>, "many">>;
6100
6940
  configuration: z.ZodDefault<z.ZodObject<{
6101
6941
  maxFileSize: z.ZodDefault<z.ZodNumber>;
6102
6942
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
@@ -6120,14 +6960,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6120
6960
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
6121
6961
  };
6122
6962
  parent?: {
6123
- _fieldId?: string | undefined;
6963
+ $$field: string;
6124
6964
  } | undefined;
6125
6965
  validation?: {
6126
6966
  message: TranslationConfig;
6127
6967
  validator: import(".").JSONSchema;
6128
6968
  }[] | undefined;
6129
6969
  required?: boolean | undefined;
6130
- defaultValue?: string | number | boolean | undefined;
6131
6970
  conditionals?: ({
6132
6971
  type: "SHOW";
6133
6972
  conditional: import(".").JSONSchema;
@@ -6139,7 +6978,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6139
6978
  conditional: import(".").JSONSchema;
6140
6979
  })[] | undefined;
6141
6980
  placeholder?: TranslationConfig | undefined;
6981
+ helperText?: TranslationConfig | undefined;
6142
6982
  hideLabel?: boolean | undefined;
6983
+ defaultValue?: {
6984
+ type: string;
6985
+ option: string;
6986
+ filename: string;
6987
+ originalFilename: string;
6988
+ }[] | undefined;
6143
6989
  }, {
6144
6990
  type: "FILE_WITH_OPTIONS";
6145
6991
  id: string;
@@ -6157,7 +7003,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6157
7003
  defaultMessage: string;
6158
7004
  };
6159
7005
  parent?: {
6160
- _fieldId?: string | undefined;
7006
+ $$field: string;
6161
7007
  } | undefined;
6162
7008
  validation?: {
6163
7009
  message: {
@@ -6168,7 +7014,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6168
7014
  validator: import(".").JSONSchema;
6169
7015
  }[] | undefined;
6170
7016
  required?: boolean | undefined;
6171
- defaultValue?: string | number | boolean | undefined;
6172
7017
  conditionals?: ({
6173
7018
  type: "SHOW";
6174
7019
  conditional: import(".").JSONSchema;
@@ -6184,20 +7029,30 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6184
7029
  description: string;
6185
7030
  defaultMessage: string;
6186
7031
  } | undefined;
7032
+ helperText?: {
7033
+ id: string;
7034
+ description: string;
7035
+ defaultMessage: string;
7036
+ } | undefined;
6187
7037
  hideLabel?: boolean | undefined;
7038
+ defaultValue?: {
7039
+ type: string;
7040
+ option: string;
7041
+ filename: string;
7042
+ originalFilename: string;
7043
+ }[] | undefined;
6188
7044
  configuration?: {
6189
7045
  maxFileSize?: number | undefined;
6190
7046
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
6191
7047
  } | undefined;
6192
7048
  }>, z.ZodObject<z.objectUtil.extendShape<{
6193
7049
  id: z.ZodString;
6194
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6195
7050
  parent: z.ZodOptional<z.ZodObject<{
6196
- _fieldId: z.ZodOptional<z.ZodString>;
7051
+ $$field: z.ZodString;
6197
7052
  }, "strip", z.ZodTypeAny, {
6198
- _fieldId?: string | undefined;
7053
+ $$field: string;
6199
7054
  }, {
6200
- _fieldId?: string | undefined;
7055
+ $$field: string;
6201
7056
  }>>;
6202
7057
  conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
6203
7058
  required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -6229,6 +7084,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6229
7084
  description: string;
6230
7085
  defaultMessage: string;
6231
7086
  }>;
7087
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7088
+ id: string;
7089
+ description: string;
7090
+ defaultMessage: string;
7091
+ }>>;
6232
7092
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6233
7093
  }, {
6234
7094
  type: z.ZodLiteral<"DATA">;
@@ -6313,14 +7173,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6313
7173
  subtitle?: TranslationConfig | undefined;
6314
7174
  };
6315
7175
  parent?: {
6316
- _fieldId?: string | undefined;
7176
+ $$field: string;
6317
7177
  } | undefined;
6318
7178
  validation?: {
6319
7179
  message: TranslationConfig;
6320
7180
  validator: import(".").JSONSchema;
6321
7181
  }[] | undefined;
6322
7182
  required?: boolean | undefined;
6323
- defaultValue?: string | number | boolean | undefined;
6324
7183
  conditionals?: ({
6325
7184
  type: "SHOW";
6326
7185
  conditional: import(".").JSONSchema;
@@ -6332,6 +7191,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6332
7191
  conditional: import(".").JSONSchema;
6333
7192
  })[] | undefined;
6334
7193
  placeholder?: TranslationConfig | undefined;
7194
+ helperText?: TranslationConfig | undefined;
6335
7195
  hideLabel?: boolean | undefined;
6336
7196
  }, {
6337
7197
  type: "DATA";
@@ -6363,7 +7223,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6363
7223
  } | undefined;
6364
7224
  };
6365
7225
  parent?: {
6366
- _fieldId?: string | undefined;
7226
+ $$field: string;
6367
7227
  } | undefined;
6368
7228
  validation?: {
6369
7229
  message: {
@@ -6374,7 +7234,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6374
7234
  validator: import(".").JSONSchema;
6375
7235
  }[] | undefined;
6376
7236
  required?: boolean | undefined;
6377
- defaultValue?: string | number | boolean | undefined;
6378
7237
  conditionals?: ({
6379
7238
  type: "SHOW";
6380
7239
  conditional: import(".").JSONSchema;
@@ -6390,6 +7249,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6390
7249
  description: string;
6391
7250
  defaultMessage: string;
6392
7251
  } | undefined;
7252
+ helperText?: {
7253
+ id: string;
7254
+ description: string;
7255
+ defaultMessage: string;
7256
+ } | undefined;
6393
7257
  hideLabel?: boolean | undefined;
6394
7258
  }>]>;
6395
7259
  export type SelectField = z.infer<typeof Select>;