@opencrvs/toolkit 1.8.0-rc.ff0a1b5 → 1.8.0-rc.ff1f8e0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commons/api/router.d.ts +8086 -3911
- package/dist/commons/conditionals/conditionals.d.ts +7 -6
- package/dist/commons/events/ActionConfig.d.ts +22281 -7289
- package/dist/commons/events/ActionDocument.d.ts +533 -346
- package/dist/commons/events/ActionInput.d.ts +197 -125
- package/dist/commons/events/AdvancedSearchConfig.d.ts +603 -12
- package/dist/commons/events/Constants.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
- package/dist/commons/events/Draft.d.ts +29 -24
- package/dist/commons/events/EventConfig.d.ts +17241 -9571
- package/dist/commons/events/EventDocument.d.ts +386 -267
- package/dist/commons/events/EventIndex.d.ts +343 -466
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +72 -48
- package/dist/commons/events/FieldConfig.d.ts +991 -428
- package/dist/commons/events/FieldTypeMapping.d.ts +5 -2
- package/dist/commons/events/FieldValue.d.ts +2 -0
- package/dist/commons/events/FormConfig.d.ts +7190 -3722
- package/dist/commons/events/PageConfig.d.ts +1512 -660
- package/dist/commons/events/User.d.ts +31 -7
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +3506 -239
- package/dist/commons/events/defineConfig.d.ts +1632 -574
- package/dist/commons/events/event.d.ts +37 -10
- package/dist/commons/events/field.d.ts +25 -20
- package/dist/commons/events/index.d.ts +4 -0
- package/dist/commons/events/scopes.d.ts +20 -1
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +28 -7
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +443 -291
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +28 -8
- package/dist/events/index.js +2153 -865
- package/dist/scopes/index.d.ts +94 -6
- package/dist/scopes/index.js +42 -21
- 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
|
-
|
14
|
+
$$field: z.ZodString;
|
9
15
|
}, "strip", z.ZodTypeAny, {
|
10
|
-
|
16
|
+
$$field: string;
|
11
17
|
}, {
|
12
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
125
|
+
$$field: z.ZodString;
|
112
126
|
}, "strip", z.ZodTypeAny, {
|
113
|
-
|
127
|
+
$$field: string;
|
114
128
|
}, {
|
115
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
240
|
+
$$field: z.ZodString;
|
219
241
|
}, "strip", z.ZodTypeAny, {
|
220
|
-
|
242
|
+
$$field: string;
|
221
243
|
}, {
|
222
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
410
|
+
$$field: z.ZodString;
|
379
411
|
}, "strip", z.ZodTypeAny, {
|
380
|
-
|
412
|
+
$$field: string;
|
381
413
|
}, {
|
382
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
579
|
+
$$field: z.ZodString;
|
538
580
|
}, "strip", z.ZodTypeAny, {
|
539
|
-
|
581
|
+
$$field: string;
|
540
582
|
}, {
|
541
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
757
|
+
$$field: z.ZodString;
|
706
758
|
}, "strip", z.ZodTypeAny, {
|
707
|
-
|
759
|
+
$$field: string;
|
708
760
|
}, {
|
709
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
904
|
+
$$field: z.ZodString;
|
842
905
|
}, "strip", z.ZodTypeAny, {
|
843
|
-
|
906
|
+
$$field: string;
|
844
907
|
}, {
|
845
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
1035
|
+
$$field: z.ZodString;
|
963
1036
|
}, "strip", z.ZodTypeAny, {
|
964
|
-
|
1037
|
+
$$field: string;
|
965
1038
|
}, {
|
966
|
-
|
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
|
-
|
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
|
-
|
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;
|
@@ -1090,13 +1174,12 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1090
1174
|
export type DateField = z.infer<typeof DateField>;
|
1091
1175
|
declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
1092
1176
|
id: z.ZodString;
|
1093
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1094
1177
|
parent: z.ZodOptional<z.ZodObject<{
|
1095
|
-
|
1178
|
+
$$field: z.ZodString;
|
1096
1179
|
}, "strip", z.ZodTypeAny, {
|
1097
|
-
|
1180
|
+
$$field: string;
|
1098
1181
|
}, {
|
1099
|
-
|
1182
|
+
$$field: string;
|
1100
1183
|
}>>;
|
1101
1184
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1102
1185
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1128,6 +1211,11 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1128
1211
|
description: string;
|
1129
1212
|
defaultMessage: string;
|
1130
1213
|
}>;
|
1214
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1215
|
+
id: string;
|
1216
|
+
description: string;
|
1217
|
+
defaultMessage: string;
|
1218
|
+
}>>;
|
1131
1219
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1132
1220
|
}, {
|
1133
1221
|
type: z.ZodLiteral<"DATE_RANGE">;
|
@@ -1152,14 +1240,13 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1152
1240
|
id: string;
|
1153
1241
|
label: TranslationConfig;
|
1154
1242
|
parent?: {
|
1155
|
-
|
1243
|
+
$$field: string;
|
1156
1244
|
} | undefined;
|
1157
1245
|
validation?: {
|
1158
1246
|
message: TranslationConfig;
|
1159
1247
|
validator: import(".").JSONSchema;
|
1160
1248
|
}[] | undefined;
|
1161
1249
|
required?: boolean | undefined;
|
1162
|
-
defaultValue?: string | [string, string] | undefined;
|
1163
1250
|
conditionals?: ({
|
1164
1251
|
type: "SHOW";
|
1165
1252
|
conditional: import(".").JSONSchema;
|
@@ -1171,7 +1258,9 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1171
1258
|
conditional: import(".").JSONSchema;
|
1172
1259
|
})[] | undefined;
|
1173
1260
|
placeholder?: TranslationConfig | undefined;
|
1261
|
+
helperText?: TranslationConfig | undefined;
|
1174
1262
|
hideLabel?: boolean | undefined;
|
1263
|
+
defaultValue?: string | [string, string] | undefined;
|
1175
1264
|
configuration?: {
|
1176
1265
|
notice?: TranslationConfig | undefined;
|
1177
1266
|
} | undefined;
|
@@ -1184,7 +1273,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1184
1273
|
defaultMessage: string;
|
1185
1274
|
};
|
1186
1275
|
parent?: {
|
1187
|
-
|
1276
|
+
$$field: string;
|
1188
1277
|
} | undefined;
|
1189
1278
|
validation?: {
|
1190
1279
|
message: {
|
@@ -1195,7 +1284,6 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1195
1284
|
validator: import(".").JSONSchema;
|
1196
1285
|
}[] | undefined;
|
1197
1286
|
required?: boolean | undefined;
|
1198
|
-
defaultValue?: string | [string, string] | undefined;
|
1199
1287
|
conditionals?: ({
|
1200
1288
|
type: "SHOW";
|
1201
1289
|
conditional: import(".").JSONSchema;
|
@@ -1211,7 +1299,13 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1211
1299
|
description: string;
|
1212
1300
|
defaultMessage: string;
|
1213
1301
|
} | undefined;
|
1302
|
+
helperText?: {
|
1303
|
+
id: string;
|
1304
|
+
description: string;
|
1305
|
+
defaultMessage: string;
|
1306
|
+
} | undefined;
|
1214
1307
|
hideLabel?: boolean | undefined;
|
1308
|
+
defaultValue?: string | [string, string] | undefined;
|
1215
1309
|
configuration?: {
|
1216
1310
|
notice?: {
|
1217
1311
|
id: string;
|
@@ -1225,13 +1319,12 @@ declare const HtmlFontVariant: z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h
|
|
1225
1319
|
export type HtmlFontVariant = z.infer<typeof HtmlFontVariant>;
|
1226
1320
|
declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
1227
1321
|
id: z.ZodString;
|
1228
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1229
1322
|
parent: z.ZodOptional<z.ZodObject<{
|
1230
|
-
|
1323
|
+
$$field: z.ZodString;
|
1231
1324
|
}, "strip", z.ZodTypeAny, {
|
1232
|
-
|
1325
|
+
$$field: string;
|
1233
1326
|
}, {
|
1234
|
-
|
1327
|
+
$$field: string;
|
1235
1328
|
}>>;
|
1236
1329
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1237
1330
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1263,6 +1356,11 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1263
1356
|
description: string;
|
1264
1357
|
defaultMessage: string;
|
1265
1358
|
}>;
|
1359
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1360
|
+
id: string;
|
1361
|
+
description: string;
|
1362
|
+
defaultMessage: string;
|
1363
|
+
}>>;
|
1266
1364
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1267
1365
|
}, {
|
1268
1366
|
type: z.ZodLiteral<"PARAGRAPH">;
|
@@ -1294,14 +1392,13 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1294
1392
|
} | undefined;
|
1295
1393
|
};
|
1296
1394
|
parent?: {
|
1297
|
-
|
1395
|
+
$$field: string;
|
1298
1396
|
} | undefined;
|
1299
1397
|
validation?: {
|
1300
1398
|
message: TranslationConfig;
|
1301
1399
|
validator: import(".").JSONSchema;
|
1302
1400
|
}[] | undefined;
|
1303
1401
|
required?: boolean | undefined;
|
1304
|
-
defaultValue?: string | undefined;
|
1305
1402
|
conditionals?: ({
|
1306
1403
|
type: "SHOW";
|
1307
1404
|
conditional: import(".").JSONSchema;
|
@@ -1313,7 +1410,9 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1313
1410
|
conditional: import(".").JSONSchema;
|
1314
1411
|
})[] | undefined;
|
1315
1412
|
placeholder?: TranslationConfig | undefined;
|
1413
|
+
helperText?: TranslationConfig | undefined;
|
1316
1414
|
hideLabel?: boolean | undefined;
|
1415
|
+
defaultValue?: string | undefined;
|
1317
1416
|
}, {
|
1318
1417
|
type: "PARAGRAPH";
|
1319
1418
|
id: string;
|
@@ -1323,7 +1422,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1323
1422
|
defaultMessage: string;
|
1324
1423
|
};
|
1325
1424
|
parent?: {
|
1326
|
-
|
1425
|
+
$$field: string;
|
1327
1426
|
} | undefined;
|
1328
1427
|
validation?: {
|
1329
1428
|
message: {
|
@@ -1334,7 +1433,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1334
1433
|
validator: import(".").JSONSchema;
|
1335
1434
|
}[] | undefined;
|
1336
1435
|
required?: boolean | undefined;
|
1337
|
-
defaultValue?: string | undefined;
|
1338
1436
|
conditionals?: ({
|
1339
1437
|
type: "SHOW";
|
1340
1438
|
conditional: import(".").JSONSchema;
|
@@ -1350,7 +1448,13 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1350
1448
|
description: string;
|
1351
1449
|
defaultMessage: string;
|
1352
1450
|
} | undefined;
|
1451
|
+
helperText?: {
|
1452
|
+
id: string;
|
1453
|
+
description: string;
|
1454
|
+
defaultMessage: string;
|
1455
|
+
} | undefined;
|
1353
1456
|
hideLabel?: boolean | undefined;
|
1457
|
+
defaultValue?: string | undefined;
|
1354
1458
|
configuration?: {
|
1355
1459
|
styles?: {
|
1356
1460
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
@@ -1360,13 +1464,12 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1360
1464
|
export type Paragraph = z.infer<typeof Paragraph>;
|
1361
1465
|
declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
1362
1466
|
id: z.ZodString;
|
1363
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1364
1467
|
parent: z.ZodOptional<z.ZodObject<{
|
1365
|
-
|
1468
|
+
$$field: z.ZodString;
|
1366
1469
|
}, "strip", z.ZodTypeAny, {
|
1367
|
-
|
1470
|
+
$$field: string;
|
1368
1471
|
}, {
|
1369
|
-
|
1472
|
+
$$field: string;
|
1370
1473
|
}>>;
|
1371
1474
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1372
1475
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1398,6 +1501,11 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1398
1501
|
description: string;
|
1399
1502
|
defaultMessage: string;
|
1400
1503
|
}>;
|
1504
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1505
|
+
id: string;
|
1506
|
+
description: string;
|
1507
|
+
defaultMessage: string;
|
1508
|
+
}>>;
|
1401
1509
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1402
1510
|
}, {
|
1403
1511
|
type: z.ZodLiteral<"PAGE_HEADER">;
|
@@ -1407,14 +1515,13 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1407
1515
|
id: string;
|
1408
1516
|
label: TranslationConfig;
|
1409
1517
|
parent?: {
|
1410
|
-
|
1518
|
+
$$field: string;
|
1411
1519
|
} | undefined;
|
1412
1520
|
validation?: {
|
1413
1521
|
message: TranslationConfig;
|
1414
1522
|
validator: import(".").JSONSchema;
|
1415
1523
|
}[] | undefined;
|
1416
1524
|
required?: boolean | undefined;
|
1417
|
-
defaultValue?: string | undefined;
|
1418
1525
|
conditionals?: ({
|
1419
1526
|
type: "SHOW";
|
1420
1527
|
conditional: import(".").JSONSchema;
|
@@ -1426,7 +1533,9 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1426
1533
|
conditional: import(".").JSONSchema;
|
1427
1534
|
})[] | undefined;
|
1428
1535
|
placeholder?: TranslationConfig | undefined;
|
1536
|
+
helperText?: TranslationConfig | undefined;
|
1429
1537
|
hideLabel?: boolean | undefined;
|
1538
|
+
defaultValue?: string | undefined;
|
1430
1539
|
}, {
|
1431
1540
|
type: "PAGE_HEADER";
|
1432
1541
|
id: string;
|
@@ -1436,7 +1545,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1436
1545
|
defaultMessage: string;
|
1437
1546
|
};
|
1438
1547
|
parent?: {
|
1439
|
-
|
1548
|
+
$$field: string;
|
1440
1549
|
} | undefined;
|
1441
1550
|
validation?: {
|
1442
1551
|
message: {
|
@@ -1447,7 +1556,6 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1447
1556
|
validator: import(".").JSONSchema;
|
1448
1557
|
}[] | undefined;
|
1449
1558
|
required?: boolean | undefined;
|
1450
|
-
defaultValue?: string | undefined;
|
1451
1559
|
conditionals?: ({
|
1452
1560
|
type: "SHOW";
|
1453
1561
|
conditional: import(".").JSONSchema;
|
@@ -1463,18 +1571,23 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1463
1571
|
description: string;
|
1464
1572
|
defaultMessage: string;
|
1465
1573
|
} | undefined;
|
1574
|
+
helperText?: {
|
1575
|
+
id: string;
|
1576
|
+
description: string;
|
1577
|
+
defaultMessage: string;
|
1578
|
+
} | undefined;
|
1466
1579
|
hideLabel?: boolean | undefined;
|
1580
|
+
defaultValue?: string | undefined;
|
1467
1581
|
}>;
|
1468
1582
|
export type PageHeader = z.infer<typeof PageHeader>;
|
1469
1583
|
declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
1470
1584
|
id: z.ZodString;
|
1471
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1472
1585
|
parent: z.ZodOptional<z.ZodObject<{
|
1473
|
-
|
1586
|
+
$$field: z.ZodString;
|
1474
1587
|
}, "strip", z.ZodTypeAny, {
|
1475
|
-
|
1588
|
+
$$field: string;
|
1476
1589
|
}, {
|
1477
|
-
|
1590
|
+
$$field: string;
|
1478
1591
|
}>>;
|
1479
1592
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1480
1593
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1506,9 +1619,27 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1506
1619
|
description: string;
|
1507
1620
|
defaultMessage: string;
|
1508
1621
|
}>;
|
1622
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1623
|
+
id: string;
|
1624
|
+
description: string;
|
1625
|
+
defaultMessage: string;
|
1626
|
+
}>>;
|
1509
1627
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1510
1628
|
}, {
|
1511
1629
|
type: z.ZodLiteral<"FILE">;
|
1630
|
+
defaultValue: z.ZodOptional<z.ZodObject<{
|
1631
|
+
filename: z.ZodString;
|
1632
|
+
originalFilename: z.ZodString;
|
1633
|
+
type: z.ZodString;
|
1634
|
+
}, "strip", z.ZodTypeAny, {
|
1635
|
+
type: string;
|
1636
|
+
filename: string;
|
1637
|
+
originalFilename: string;
|
1638
|
+
}, {
|
1639
|
+
type: string;
|
1640
|
+
filename: string;
|
1641
|
+
originalFilename: string;
|
1642
|
+
}>>;
|
1512
1643
|
configuration: z.ZodDefault<z.ZodObject<{
|
1513
1644
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
1514
1645
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -1556,14 +1687,13 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1556
1687
|
fileName?: TranslationConfig | undefined;
|
1557
1688
|
};
|
1558
1689
|
parent?: {
|
1559
|
-
|
1690
|
+
$$field: string;
|
1560
1691
|
} | undefined;
|
1561
1692
|
validation?: {
|
1562
1693
|
message: TranslationConfig;
|
1563
1694
|
validator: import(".").JSONSchema;
|
1564
1695
|
}[] | undefined;
|
1565
1696
|
required?: boolean | undefined;
|
1566
|
-
defaultValue?: string | number | boolean | undefined;
|
1567
1697
|
conditionals?: ({
|
1568
1698
|
type: "SHOW";
|
1569
1699
|
conditional: import(".").JSONSchema;
|
@@ -1575,7 +1705,13 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1575
1705
|
conditional: import(".").JSONSchema;
|
1576
1706
|
})[] | undefined;
|
1577
1707
|
placeholder?: TranslationConfig | undefined;
|
1708
|
+
helperText?: TranslationConfig | undefined;
|
1578
1709
|
hideLabel?: boolean | undefined;
|
1710
|
+
defaultValue?: {
|
1711
|
+
type: string;
|
1712
|
+
filename: string;
|
1713
|
+
originalFilename: string;
|
1714
|
+
} | undefined;
|
1579
1715
|
}, {
|
1580
1716
|
type: "FILE";
|
1581
1717
|
id: string;
|
@@ -1585,7 +1721,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1585
1721
|
defaultMessage: string;
|
1586
1722
|
};
|
1587
1723
|
parent?: {
|
1588
|
-
|
1724
|
+
$$field: string;
|
1589
1725
|
} | undefined;
|
1590
1726
|
validation?: {
|
1591
1727
|
message: {
|
@@ -1596,7 +1732,6 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1596
1732
|
validator: import(".").JSONSchema;
|
1597
1733
|
}[] | undefined;
|
1598
1734
|
required?: boolean | undefined;
|
1599
|
-
defaultValue?: string | number | boolean | undefined;
|
1600
1735
|
conditionals?: ({
|
1601
1736
|
type: "SHOW";
|
1602
1737
|
conditional: import(".").JSONSchema;
|
@@ -1612,7 +1747,17 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1612
1747
|
description: string;
|
1613
1748
|
defaultMessage: string;
|
1614
1749
|
} | undefined;
|
1750
|
+
helperText?: {
|
1751
|
+
id: string;
|
1752
|
+
description: string;
|
1753
|
+
defaultMessage: string;
|
1754
|
+
} | undefined;
|
1615
1755
|
hideLabel?: boolean | undefined;
|
1756
|
+
defaultValue?: {
|
1757
|
+
type: string;
|
1758
|
+
filename: string;
|
1759
|
+
originalFilename: string;
|
1760
|
+
} | undefined;
|
1616
1761
|
configuration?: {
|
1617
1762
|
maxFileSize?: number | undefined;
|
1618
1763
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
@@ -1647,13 +1792,12 @@ export declare const SelectOption: z.ZodObject<{
|
|
1647
1792
|
}>;
|
1648
1793
|
declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
1649
1794
|
id: z.ZodString;
|
1650
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1651
1795
|
parent: z.ZodOptional<z.ZodObject<{
|
1652
|
-
|
1796
|
+
$$field: z.ZodString;
|
1653
1797
|
}, "strip", z.ZodTypeAny, {
|
1654
|
-
|
1798
|
+
$$field: string;
|
1655
1799
|
}, {
|
1656
|
-
|
1800
|
+
$$field: string;
|
1657
1801
|
}>>;
|
1658
1802
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1659
1803
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1685,6 +1829,11 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1685
1829
|
description: string;
|
1686
1830
|
defaultMessage: string;
|
1687
1831
|
}>;
|
1832
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1833
|
+
id: string;
|
1834
|
+
description: string;
|
1835
|
+
defaultMessage: string;
|
1836
|
+
}>>;
|
1688
1837
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1689
1838
|
}, {
|
1690
1839
|
type: z.ZodLiteral<"RADIO_GROUP">;
|
@@ -1733,14 +1882,13 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1733
1882
|
}[];
|
1734
1883
|
label: TranslationConfig;
|
1735
1884
|
parent?: {
|
1736
|
-
|
1885
|
+
$$field: string;
|
1737
1886
|
} | undefined;
|
1738
1887
|
validation?: {
|
1739
1888
|
message: TranslationConfig;
|
1740
1889
|
validator: import(".").JSONSchema;
|
1741
1890
|
}[] | undefined;
|
1742
1891
|
required?: boolean | undefined;
|
1743
|
-
defaultValue?: string | undefined;
|
1744
1892
|
conditionals?: ({
|
1745
1893
|
type: "SHOW";
|
1746
1894
|
conditional: import(".").JSONSchema;
|
@@ -1752,7 +1900,9 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1752
1900
|
conditional: import(".").JSONSchema;
|
1753
1901
|
})[] | undefined;
|
1754
1902
|
placeholder?: TranslationConfig | undefined;
|
1903
|
+
helperText?: TranslationConfig | undefined;
|
1755
1904
|
hideLabel?: boolean | undefined;
|
1905
|
+
defaultValue?: string | undefined;
|
1756
1906
|
configuration?: {
|
1757
1907
|
styles?: {
|
1758
1908
|
size?: "NORMAL" | "LARGE" | undefined;
|
@@ -1775,7 +1925,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1775
1925
|
defaultMessage: string;
|
1776
1926
|
};
|
1777
1927
|
parent?: {
|
1778
|
-
|
1928
|
+
$$field: string;
|
1779
1929
|
} | undefined;
|
1780
1930
|
validation?: {
|
1781
1931
|
message: {
|
@@ -1786,7 +1936,6 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1786
1936
|
validator: import(".").JSONSchema;
|
1787
1937
|
}[] | undefined;
|
1788
1938
|
required?: boolean | undefined;
|
1789
|
-
defaultValue?: string | undefined;
|
1790
1939
|
conditionals?: ({
|
1791
1940
|
type: "SHOW";
|
1792
1941
|
conditional: import(".").JSONSchema;
|
@@ -1802,7 +1951,13 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1802
1951
|
description: string;
|
1803
1952
|
defaultMessage: string;
|
1804
1953
|
} | undefined;
|
1954
|
+
helperText?: {
|
1955
|
+
id: string;
|
1956
|
+
description: string;
|
1957
|
+
defaultMessage: string;
|
1958
|
+
} | undefined;
|
1805
1959
|
hideLabel?: boolean | undefined;
|
1960
|
+
defaultValue?: string | undefined;
|
1806
1961
|
configuration?: {
|
1807
1962
|
styles?: {
|
1808
1963
|
size?: "NORMAL" | "LARGE" | undefined;
|
@@ -1812,13 +1967,12 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1812
1967
|
export type RadioGroup = z.infer<typeof RadioGroup>;
|
1813
1968
|
declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
1814
1969
|
id: z.ZodString;
|
1815
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1816
1970
|
parent: z.ZodOptional<z.ZodObject<{
|
1817
|
-
|
1971
|
+
$$field: z.ZodString;
|
1818
1972
|
}, "strip", z.ZodTypeAny, {
|
1819
|
-
|
1973
|
+
$$field: string;
|
1820
1974
|
}, {
|
1821
|
-
|
1975
|
+
$$field: string;
|
1822
1976
|
}>>;
|
1823
1977
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1824
1978
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1850,6 +2004,11 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1850
2004
|
description: string;
|
1851
2005
|
defaultMessage: string;
|
1852
2006
|
}>;
|
2007
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2008
|
+
id: string;
|
2009
|
+
description: string;
|
2010
|
+
defaultMessage: string;
|
2011
|
+
}>>;
|
1853
2012
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1854
2013
|
}, {
|
1855
2014
|
type: z.ZodLiteral<"BULLET_LIST">;
|
@@ -1887,14 +2046,13 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1887
2046
|
};
|
1888
2047
|
items: TranslationConfig[];
|
1889
2048
|
parent?: {
|
1890
|
-
|
2049
|
+
$$field: string;
|
1891
2050
|
} | undefined;
|
1892
2051
|
validation?: {
|
1893
2052
|
message: TranslationConfig;
|
1894
2053
|
validator: import(".").JSONSchema;
|
1895
2054
|
}[] | undefined;
|
1896
2055
|
required?: boolean | undefined;
|
1897
|
-
defaultValue?: string | undefined;
|
1898
2056
|
conditionals?: ({
|
1899
2057
|
type: "SHOW";
|
1900
2058
|
conditional: import(".").JSONSchema;
|
@@ -1906,7 +2064,9 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1906
2064
|
conditional: import(".").JSONSchema;
|
1907
2065
|
})[] | undefined;
|
1908
2066
|
placeholder?: TranslationConfig | undefined;
|
2067
|
+
helperText?: TranslationConfig | undefined;
|
1909
2068
|
hideLabel?: boolean | undefined;
|
2069
|
+
defaultValue?: string | undefined;
|
1910
2070
|
}, {
|
1911
2071
|
type: "BULLET_LIST";
|
1912
2072
|
id: string;
|
@@ -1921,7 +2081,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1921
2081
|
defaultMessage: string;
|
1922
2082
|
}[];
|
1923
2083
|
parent?: {
|
1924
|
-
|
2084
|
+
$$field: string;
|
1925
2085
|
} | undefined;
|
1926
2086
|
validation?: {
|
1927
2087
|
message: {
|
@@ -1932,7 +2092,6 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1932
2092
|
validator: import(".").JSONSchema;
|
1933
2093
|
}[] | undefined;
|
1934
2094
|
required?: boolean | undefined;
|
1935
|
-
defaultValue?: string | undefined;
|
1936
2095
|
conditionals?: ({
|
1937
2096
|
type: "SHOW";
|
1938
2097
|
conditional: import(".").JSONSchema;
|
@@ -1948,7 +2107,13 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1948
2107
|
description: string;
|
1949
2108
|
defaultMessage: string;
|
1950
2109
|
} | undefined;
|
2110
|
+
helperText?: {
|
2111
|
+
id: string;
|
2112
|
+
description: string;
|
2113
|
+
defaultMessage: string;
|
2114
|
+
} | undefined;
|
1951
2115
|
hideLabel?: boolean | undefined;
|
2116
|
+
defaultValue?: string | undefined;
|
1952
2117
|
configuration?: {
|
1953
2118
|
styles?: {
|
1954
2119
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
@@ -1958,13 +2123,12 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1958
2123
|
export type BulletList = z.infer<typeof BulletList>;
|
1959
2124
|
declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
1960
2125
|
id: z.ZodString;
|
1961
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1962
2126
|
parent: z.ZodOptional<z.ZodObject<{
|
1963
|
-
|
2127
|
+
$$field: z.ZodString;
|
1964
2128
|
}, "strip", z.ZodTypeAny, {
|
1965
|
-
|
2129
|
+
$$field: string;
|
1966
2130
|
}, {
|
1967
|
-
|
2131
|
+
$$field: string;
|
1968
2132
|
}>>;
|
1969
2133
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1970
2134
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1996,6 +2160,11 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
1996
2160
|
description: string;
|
1997
2161
|
defaultMessage: string;
|
1998
2162
|
}>;
|
2163
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2164
|
+
id: string;
|
2165
|
+
description: string;
|
2166
|
+
defaultMessage: string;
|
2167
|
+
}>>;
|
1999
2168
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2000
2169
|
}, {
|
2001
2170
|
type: z.ZodLiteral<"SELECT">;
|
@@ -2027,14 +2196,13 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2027
2196
|
}[];
|
2028
2197
|
label: TranslationConfig;
|
2029
2198
|
parent?: {
|
2030
|
-
|
2199
|
+
$$field: string;
|
2031
2200
|
} | undefined;
|
2032
2201
|
validation?: {
|
2033
2202
|
message: TranslationConfig;
|
2034
2203
|
validator: import(".").JSONSchema;
|
2035
2204
|
}[] | undefined;
|
2036
2205
|
required?: boolean | undefined;
|
2037
|
-
defaultValue?: string | undefined;
|
2038
2206
|
conditionals?: ({
|
2039
2207
|
type: "SHOW";
|
2040
2208
|
conditional: import(".").JSONSchema;
|
@@ -2046,7 +2214,9 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2046
2214
|
conditional: import(".").JSONSchema;
|
2047
2215
|
})[] | undefined;
|
2048
2216
|
placeholder?: TranslationConfig | undefined;
|
2217
|
+
helperText?: TranslationConfig | undefined;
|
2049
2218
|
hideLabel?: boolean | undefined;
|
2219
|
+
defaultValue?: string | undefined;
|
2050
2220
|
}, {
|
2051
2221
|
type: "SELECT";
|
2052
2222
|
id: string;
|
@@ -2064,7 +2234,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2064
2234
|
defaultMessage: string;
|
2065
2235
|
};
|
2066
2236
|
parent?: {
|
2067
|
-
|
2237
|
+
$$field: string;
|
2068
2238
|
} | undefined;
|
2069
2239
|
validation?: {
|
2070
2240
|
message: {
|
@@ -2075,7 +2245,6 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2075
2245
|
validator: import(".").JSONSchema;
|
2076
2246
|
}[] | undefined;
|
2077
2247
|
required?: boolean | undefined;
|
2078
|
-
defaultValue?: string | undefined;
|
2079
2248
|
conditionals?: ({
|
2080
2249
|
type: "SHOW";
|
2081
2250
|
conditional: import(".").JSONSchema;
|
@@ -2091,17 +2260,22 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2091
2260
|
description: string;
|
2092
2261
|
defaultMessage: string;
|
2093
2262
|
} | undefined;
|
2263
|
+
helperText?: {
|
2264
|
+
id: string;
|
2265
|
+
description: string;
|
2266
|
+
defaultMessage: string;
|
2267
|
+
} | undefined;
|
2094
2268
|
hideLabel?: boolean | undefined;
|
2269
|
+
defaultValue?: string | undefined;
|
2095
2270
|
}>;
|
2096
2271
|
declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
2097
2272
|
id: z.ZodString;
|
2098
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2099
2273
|
parent: z.ZodOptional<z.ZodObject<{
|
2100
|
-
|
2274
|
+
$$field: z.ZodString;
|
2101
2275
|
}, "strip", z.ZodTypeAny, {
|
2102
|
-
|
2276
|
+
$$field: string;
|
2103
2277
|
}, {
|
2104
|
-
|
2278
|
+
$$field: string;
|
2105
2279
|
}>>;
|
2106
2280
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2107
2281
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2133,6 +2307,11 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2133
2307
|
description: string;
|
2134
2308
|
defaultMessage: string;
|
2135
2309
|
}>;
|
2310
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2311
|
+
id: string;
|
2312
|
+
description: string;
|
2313
|
+
defaultMessage: string;
|
2314
|
+
}>>;
|
2136
2315
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2137
2316
|
}, {
|
2138
2317
|
type: z.ZodLiteral<"CHECKBOX">;
|
@@ -2142,14 +2321,13 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2142
2321
|
id: string;
|
2143
2322
|
label: TranslationConfig;
|
2144
2323
|
parent?: {
|
2145
|
-
|
2324
|
+
$$field: string;
|
2146
2325
|
} | undefined;
|
2147
2326
|
validation?: {
|
2148
2327
|
message: TranslationConfig;
|
2149
2328
|
validator: import(".").JSONSchema;
|
2150
2329
|
}[] | undefined;
|
2151
2330
|
required?: boolean | undefined;
|
2152
|
-
defaultValue?: boolean | undefined;
|
2153
2331
|
conditionals?: ({
|
2154
2332
|
type: "SHOW";
|
2155
2333
|
conditional: import(".").JSONSchema;
|
@@ -2161,7 +2339,9 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2161
2339
|
conditional: import(".").JSONSchema;
|
2162
2340
|
})[] | undefined;
|
2163
2341
|
placeholder?: TranslationConfig | undefined;
|
2342
|
+
helperText?: TranslationConfig | undefined;
|
2164
2343
|
hideLabel?: boolean | undefined;
|
2344
|
+
defaultValue?: boolean | undefined;
|
2165
2345
|
}, {
|
2166
2346
|
type: "CHECKBOX";
|
2167
2347
|
id: string;
|
@@ -2171,7 +2351,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2171
2351
|
defaultMessage: string;
|
2172
2352
|
};
|
2173
2353
|
parent?: {
|
2174
|
-
|
2354
|
+
$$field: string;
|
2175
2355
|
} | undefined;
|
2176
2356
|
validation?: {
|
2177
2357
|
message: {
|
@@ -2182,7 +2362,6 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2182
2362
|
validator: import(".").JSONSchema;
|
2183
2363
|
}[] | undefined;
|
2184
2364
|
required?: boolean | undefined;
|
2185
|
-
defaultValue?: boolean | undefined;
|
2186
2365
|
conditionals?: ({
|
2187
2366
|
type: "SHOW";
|
2188
2367
|
conditional: import(".").JSONSchema;
|
@@ -2198,18 +2377,23 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2198
2377
|
description: string;
|
2199
2378
|
defaultMessage: string;
|
2200
2379
|
} | undefined;
|
2380
|
+
helperText?: {
|
2381
|
+
id: string;
|
2382
|
+
description: string;
|
2383
|
+
defaultMessage: string;
|
2384
|
+
} | undefined;
|
2201
2385
|
hideLabel?: boolean | undefined;
|
2386
|
+
defaultValue?: boolean | undefined;
|
2202
2387
|
}>;
|
2203
2388
|
export type Checkbox = z.infer<typeof Checkbox>;
|
2204
2389
|
declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
2205
2390
|
id: z.ZodString;
|
2206
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2207
2391
|
parent: z.ZodOptional<z.ZodObject<{
|
2208
|
-
|
2392
|
+
$$field: z.ZodString;
|
2209
2393
|
}, "strip", z.ZodTypeAny, {
|
2210
|
-
|
2394
|
+
$$field: string;
|
2211
2395
|
}, {
|
2212
|
-
|
2396
|
+
$$field: string;
|
2213
2397
|
}>>;
|
2214
2398
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2215
2399
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2241,6 +2425,11 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2241
2425
|
description: string;
|
2242
2426
|
defaultMessage: string;
|
2243
2427
|
}>;
|
2428
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2429
|
+
id: string;
|
2430
|
+
description: string;
|
2431
|
+
defaultMessage: string;
|
2432
|
+
}>>;
|
2244
2433
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2245
2434
|
}, {
|
2246
2435
|
type: z.ZodLiteral<"COUNTRY">;
|
@@ -2250,14 +2439,13 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2250
2439
|
id: string;
|
2251
2440
|
label: TranslationConfig;
|
2252
2441
|
parent?: {
|
2253
|
-
|
2442
|
+
$$field: string;
|
2254
2443
|
} | undefined;
|
2255
2444
|
validation?: {
|
2256
2445
|
message: TranslationConfig;
|
2257
2446
|
validator: import(".").JSONSchema;
|
2258
2447
|
}[] | undefined;
|
2259
2448
|
required?: boolean | undefined;
|
2260
|
-
defaultValue?: string | undefined;
|
2261
2449
|
conditionals?: ({
|
2262
2450
|
type: "SHOW";
|
2263
2451
|
conditional: import(".").JSONSchema;
|
@@ -2269,7 +2457,9 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2269
2457
|
conditional: import(".").JSONSchema;
|
2270
2458
|
})[] | undefined;
|
2271
2459
|
placeholder?: TranslationConfig | undefined;
|
2460
|
+
helperText?: TranslationConfig | undefined;
|
2272
2461
|
hideLabel?: boolean | undefined;
|
2462
|
+
defaultValue?: string | undefined;
|
2273
2463
|
}, {
|
2274
2464
|
type: "COUNTRY";
|
2275
2465
|
id: string;
|
@@ -2279,7 +2469,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2279
2469
|
defaultMessage: string;
|
2280
2470
|
};
|
2281
2471
|
parent?: {
|
2282
|
-
|
2472
|
+
$$field: string;
|
2283
2473
|
} | undefined;
|
2284
2474
|
validation?: {
|
2285
2475
|
message: {
|
@@ -2290,7 +2480,6 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2290
2480
|
validator: import(".").JSONSchema;
|
2291
2481
|
}[] | undefined;
|
2292
2482
|
required?: boolean | undefined;
|
2293
|
-
defaultValue?: string | undefined;
|
2294
2483
|
conditionals?: ({
|
2295
2484
|
type: "SHOW";
|
2296
2485
|
conditional: import(".").JSONSchema;
|
@@ -2306,7 +2495,13 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2306
2495
|
description: string;
|
2307
2496
|
defaultMessage: string;
|
2308
2497
|
} | undefined;
|
2498
|
+
helperText?: {
|
2499
|
+
id: string;
|
2500
|
+
description: string;
|
2501
|
+
defaultMessage: string;
|
2502
|
+
} | undefined;
|
2309
2503
|
hideLabel?: boolean | undefined;
|
2504
|
+
defaultValue?: string | undefined;
|
2310
2505
|
}>;
|
2311
2506
|
export type Country = z.infer<typeof Country>;
|
2312
2507
|
export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
@@ -2332,13 +2527,12 @@ declare const AdministrativeAreaConfiguration: z.ZodObject<{
|
|
2332
2527
|
}>;
|
2333
2528
|
declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
2334
2529
|
id: z.ZodString;
|
2335
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2336
2530
|
parent: z.ZodOptional<z.ZodObject<{
|
2337
|
-
|
2531
|
+
$$field: z.ZodString;
|
2338
2532
|
}, "strip", z.ZodTypeAny, {
|
2339
|
-
|
2533
|
+
$$field: string;
|
2340
2534
|
}, {
|
2341
|
-
|
2535
|
+
$$field: string;
|
2342
2536
|
}>>;
|
2343
2537
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2344
2538
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2370,6 +2564,11 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2370
2564
|
description: string;
|
2371
2565
|
defaultMessage: string;
|
2372
2566
|
}>;
|
2567
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2568
|
+
id: string;
|
2569
|
+
description: string;
|
2570
|
+
defaultMessage: string;
|
2571
|
+
}>>;
|
2373
2572
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2374
2573
|
}, {
|
2375
2574
|
type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
|
@@ -2405,14 +2604,13 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2405
2604
|
} | undefined;
|
2406
2605
|
};
|
2407
2606
|
parent?: {
|
2408
|
-
|
2607
|
+
$$field: string;
|
2409
2608
|
} | undefined;
|
2410
2609
|
validation?: {
|
2411
2610
|
message: TranslationConfig;
|
2412
2611
|
validator: import(".").JSONSchema;
|
2413
2612
|
}[] | undefined;
|
2414
2613
|
required?: boolean | undefined;
|
2415
|
-
defaultValue?: string | undefined;
|
2416
2614
|
conditionals?: ({
|
2417
2615
|
type: "SHOW";
|
2418
2616
|
conditional: import(".").JSONSchema;
|
@@ -2424,7 +2622,9 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2424
2622
|
conditional: import(".").JSONSchema;
|
2425
2623
|
})[] | undefined;
|
2426
2624
|
placeholder?: TranslationConfig | undefined;
|
2625
|
+
helperText?: TranslationConfig | undefined;
|
2427
2626
|
hideLabel?: boolean | undefined;
|
2627
|
+
defaultValue?: string | undefined;
|
2428
2628
|
}, {
|
2429
2629
|
type: "ADMINISTRATIVE_AREA";
|
2430
2630
|
id: string;
|
@@ -2440,7 +2640,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2440
2640
|
} | undefined;
|
2441
2641
|
};
|
2442
2642
|
parent?: {
|
2443
|
-
|
2643
|
+
$$field: string;
|
2444
2644
|
} | undefined;
|
2445
2645
|
validation?: {
|
2446
2646
|
message: {
|
@@ -2451,7 +2651,6 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2451
2651
|
validator: import(".").JSONSchema;
|
2452
2652
|
}[] | undefined;
|
2453
2653
|
required?: boolean | undefined;
|
2454
|
-
defaultValue?: string | undefined;
|
2455
2654
|
conditionals?: ({
|
2456
2655
|
type: "SHOW";
|
2457
2656
|
conditional: import(".").JSONSchema;
|
@@ -2467,18 +2666,23 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2467
2666
|
description: string;
|
2468
2667
|
defaultMessage: string;
|
2469
2668
|
} | undefined;
|
2669
|
+
helperText?: {
|
2670
|
+
id: string;
|
2671
|
+
description: string;
|
2672
|
+
defaultMessage: string;
|
2673
|
+
} | undefined;
|
2470
2674
|
hideLabel?: boolean | undefined;
|
2675
|
+
defaultValue?: string | undefined;
|
2471
2676
|
}>;
|
2472
2677
|
export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
|
2473
2678
|
declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
2474
2679
|
id: z.ZodString;
|
2475
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2476
2680
|
parent: z.ZodOptional<z.ZodObject<{
|
2477
|
-
|
2681
|
+
$$field: z.ZodString;
|
2478
2682
|
}, "strip", z.ZodTypeAny, {
|
2479
|
-
|
2683
|
+
$$field: string;
|
2480
2684
|
}, {
|
2481
|
-
|
2685
|
+
$$field: string;
|
2482
2686
|
}>>;
|
2483
2687
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2484
2688
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2510,6 +2714,11 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2510
2714
|
description: string;
|
2511
2715
|
defaultMessage: string;
|
2512
2716
|
}>;
|
2717
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2718
|
+
id: string;
|
2719
|
+
description: string;
|
2720
|
+
defaultMessage: string;
|
2721
|
+
}>>;
|
2513
2722
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2514
2723
|
}, {
|
2515
2724
|
type: z.ZodLiteral<"LOCATION">;
|
@@ -2519,14 +2728,13 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2519
2728
|
id: string;
|
2520
2729
|
label: TranslationConfig;
|
2521
2730
|
parent?: {
|
2522
|
-
|
2731
|
+
$$field: string;
|
2523
2732
|
} | undefined;
|
2524
2733
|
validation?: {
|
2525
2734
|
message: TranslationConfig;
|
2526
2735
|
validator: import(".").JSONSchema;
|
2527
2736
|
}[] | undefined;
|
2528
2737
|
required?: boolean | undefined;
|
2529
|
-
defaultValue?: string | undefined;
|
2530
2738
|
conditionals?: ({
|
2531
2739
|
type: "SHOW";
|
2532
2740
|
conditional: import(".").JSONSchema;
|
@@ -2538,7 +2746,9 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2538
2746
|
conditional: import(".").JSONSchema;
|
2539
2747
|
})[] | undefined;
|
2540
2748
|
placeholder?: TranslationConfig | undefined;
|
2749
|
+
helperText?: TranslationConfig | undefined;
|
2541
2750
|
hideLabel?: boolean | undefined;
|
2751
|
+
defaultValue?: string | undefined;
|
2542
2752
|
}, {
|
2543
2753
|
type: "LOCATION";
|
2544
2754
|
id: string;
|
@@ -2548,7 +2758,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2548
2758
|
defaultMessage: string;
|
2549
2759
|
};
|
2550
2760
|
parent?: {
|
2551
|
-
|
2761
|
+
$$field: string;
|
2552
2762
|
} | undefined;
|
2553
2763
|
validation?: {
|
2554
2764
|
message: {
|
@@ -2559,7 +2769,6 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2559
2769
|
validator: import(".").JSONSchema;
|
2560
2770
|
}[] | undefined;
|
2561
2771
|
required?: boolean | undefined;
|
2562
|
-
defaultValue?: string | undefined;
|
2563
2772
|
conditionals?: ({
|
2564
2773
|
type: "SHOW";
|
2565
2774
|
conditional: import(".").JSONSchema;
|
@@ -2575,18 +2784,23 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2575
2784
|
description: string;
|
2576
2785
|
defaultMessage: string;
|
2577
2786
|
} | undefined;
|
2787
|
+
helperText?: {
|
2788
|
+
id: string;
|
2789
|
+
description: string;
|
2790
|
+
defaultMessage: string;
|
2791
|
+
} | undefined;
|
2578
2792
|
hideLabel?: boolean | undefined;
|
2793
|
+
defaultValue?: string | undefined;
|
2579
2794
|
}>;
|
2580
2795
|
export type Location = z.infer<typeof Location>;
|
2581
2796
|
declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
2582
2797
|
id: z.ZodString;
|
2583
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2584
2798
|
parent: z.ZodOptional<z.ZodObject<{
|
2585
|
-
|
2799
|
+
$$field: z.ZodString;
|
2586
2800
|
}, "strip", z.ZodTypeAny, {
|
2587
|
-
|
2801
|
+
$$field: string;
|
2588
2802
|
}, {
|
2589
|
-
|
2803
|
+
$$field: string;
|
2590
2804
|
}>>;
|
2591
2805
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2592
2806
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2618,6 +2832,11 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2618
2832
|
description: string;
|
2619
2833
|
defaultMessage: string;
|
2620
2834
|
}>;
|
2835
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2836
|
+
id: string;
|
2837
|
+
description: string;
|
2838
|
+
defaultMessage: string;
|
2839
|
+
}>>;
|
2621
2840
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2622
2841
|
}, {
|
2623
2842
|
type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
|
@@ -2639,6 +2858,22 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2639
2858
|
defaultMessage: string;
|
2640
2859
|
};
|
2641
2860
|
}>, "many">;
|
2861
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2862
|
+
filename: z.ZodString;
|
2863
|
+
originalFilename: z.ZodString;
|
2864
|
+
type: z.ZodString;
|
2865
|
+
option: z.ZodString;
|
2866
|
+
}, "strip", z.ZodTypeAny, {
|
2867
|
+
type: string;
|
2868
|
+
option: string;
|
2869
|
+
filename: string;
|
2870
|
+
originalFilename: string;
|
2871
|
+
}, {
|
2872
|
+
type: string;
|
2873
|
+
option: string;
|
2874
|
+
filename: string;
|
2875
|
+
originalFilename: string;
|
2876
|
+
}>, "many">>;
|
2642
2877
|
configuration: z.ZodDefault<z.ZodObject<{
|
2643
2878
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
2644
2879
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -2662,14 +2897,13 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2662
2897
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
2663
2898
|
};
|
2664
2899
|
parent?: {
|
2665
|
-
|
2900
|
+
$$field: string;
|
2666
2901
|
} | undefined;
|
2667
2902
|
validation?: {
|
2668
2903
|
message: TranslationConfig;
|
2669
2904
|
validator: import(".").JSONSchema;
|
2670
2905
|
}[] | undefined;
|
2671
2906
|
required?: boolean | undefined;
|
2672
|
-
defaultValue?: string | number | boolean | undefined;
|
2673
2907
|
conditionals?: ({
|
2674
2908
|
type: "SHOW";
|
2675
2909
|
conditional: import(".").JSONSchema;
|
@@ -2681,7 +2915,14 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2681
2915
|
conditional: import(".").JSONSchema;
|
2682
2916
|
})[] | undefined;
|
2683
2917
|
placeholder?: TranslationConfig | undefined;
|
2918
|
+
helperText?: TranslationConfig | undefined;
|
2684
2919
|
hideLabel?: boolean | undefined;
|
2920
|
+
defaultValue?: {
|
2921
|
+
type: string;
|
2922
|
+
option: string;
|
2923
|
+
filename: string;
|
2924
|
+
originalFilename: string;
|
2925
|
+
}[] | undefined;
|
2685
2926
|
}, {
|
2686
2927
|
type: "FILE_WITH_OPTIONS";
|
2687
2928
|
id: string;
|
@@ -2699,7 +2940,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2699
2940
|
defaultMessage: string;
|
2700
2941
|
};
|
2701
2942
|
parent?: {
|
2702
|
-
|
2943
|
+
$$field: string;
|
2703
2944
|
} | undefined;
|
2704
2945
|
validation?: {
|
2705
2946
|
message: {
|
@@ -2710,7 +2951,6 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2710
2951
|
validator: import(".").JSONSchema;
|
2711
2952
|
}[] | undefined;
|
2712
2953
|
required?: boolean | undefined;
|
2713
|
-
defaultValue?: string | number | boolean | undefined;
|
2714
2954
|
conditionals?: ({
|
2715
2955
|
type: "SHOW";
|
2716
2956
|
conditional: import(".").JSONSchema;
|
@@ -2726,7 +2966,18 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2726
2966
|
description: string;
|
2727
2967
|
defaultMessage: string;
|
2728
2968
|
} | undefined;
|
2969
|
+
helperText?: {
|
2970
|
+
id: string;
|
2971
|
+
description: string;
|
2972
|
+
defaultMessage: string;
|
2973
|
+
} | undefined;
|
2729
2974
|
hideLabel?: boolean | undefined;
|
2975
|
+
defaultValue?: {
|
2976
|
+
type: string;
|
2977
|
+
option: string;
|
2978
|
+
filename: string;
|
2979
|
+
originalFilename: string;
|
2980
|
+
}[] | undefined;
|
2730
2981
|
configuration?: {
|
2731
2982
|
maxFileSize?: number | undefined;
|
2732
2983
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
@@ -2735,13 +2986,12 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2735
2986
|
export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
|
2736
2987
|
declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
2737
2988
|
id: z.ZodString;
|
2738
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2739
2989
|
parent: z.ZodOptional<z.ZodObject<{
|
2740
|
-
|
2990
|
+
$$field: z.ZodString;
|
2741
2991
|
}, "strip", z.ZodTypeAny, {
|
2742
|
-
|
2992
|
+
$$field: string;
|
2743
2993
|
}, {
|
2744
|
-
|
2994
|
+
$$field: string;
|
2745
2995
|
}>>;
|
2746
2996
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2747
2997
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2773,6 +3023,11 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2773
3023
|
description: string;
|
2774
3024
|
defaultMessage: string;
|
2775
3025
|
}>;
|
3026
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3027
|
+
id: string;
|
3028
|
+
description: string;
|
3029
|
+
defaultMessage: string;
|
3030
|
+
}>>;
|
2776
3031
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2777
3032
|
}, {
|
2778
3033
|
type: z.ZodLiteral<"FACILITY">;
|
@@ -2782,14 +3037,13 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2782
3037
|
id: string;
|
2783
3038
|
label: TranslationConfig;
|
2784
3039
|
parent?: {
|
2785
|
-
|
3040
|
+
$$field: string;
|
2786
3041
|
} | undefined;
|
2787
3042
|
validation?: {
|
2788
3043
|
message: TranslationConfig;
|
2789
3044
|
validator: import(".").JSONSchema;
|
2790
3045
|
}[] | undefined;
|
2791
3046
|
required?: boolean | undefined;
|
2792
|
-
defaultValue?: string | undefined;
|
2793
3047
|
conditionals?: ({
|
2794
3048
|
type: "SHOW";
|
2795
3049
|
conditional: import(".").JSONSchema;
|
@@ -2801,7 +3055,9 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2801
3055
|
conditional: import(".").JSONSchema;
|
2802
3056
|
})[] | undefined;
|
2803
3057
|
placeholder?: TranslationConfig | undefined;
|
3058
|
+
helperText?: TranslationConfig | undefined;
|
2804
3059
|
hideLabel?: boolean | undefined;
|
3060
|
+
defaultValue?: string | undefined;
|
2805
3061
|
}, {
|
2806
3062
|
type: "FACILITY";
|
2807
3063
|
id: string;
|
@@ -2811,7 +3067,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2811
3067
|
defaultMessage: string;
|
2812
3068
|
};
|
2813
3069
|
parent?: {
|
2814
|
-
|
3070
|
+
$$field: string;
|
2815
3071
|
} | undefined;
|
2816
3072
|
validation?: {
|
2817
3073
|
message: {
|
@@ -2822,7 +3078,6 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2822
3078
|
validator: import(".").JSONSchema;
|
2823
3079
|
}[] | undefined;
|
2824
3080
|
required?: boolean | undefined;
|
2825
|
-
defaultValue?: string | undefined;
|
2826
3081
|
conditionals?: ({
|
2827
3082
|
type: "SHOW";
|
2828
3083
|
conditional: import(".").JSONSchema;
|
@@ -2838,18 +3093,23 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2838
3093
|
description: string;
|
2839
3094
|
defaultMessage: string;
|
2840
3095
|
} | undefined;
|
3096
|
+
helperText?: {
|
3097
|
+
id: string;
|
3098
|
+
description: string;
|
3099
|
+
defaultMessage: string;
|
3100
|
+
} | undefined;
|
2841
3101
|
hideLabel?: boolean | undefined;
|
3102
|
+
defaultValue?: string | undefined;
|
2842
3103
|
}>;
|
2843
3104
|
export type Facility = z.infer<typeof Facility>;
|
2844
3105
|
declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
2845
3106
|
id: z.ZodString;
|
2846
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2847
3107
|
parent: z.ZodOptional<z.ZodObject<{
|
2848
|
-
|
3108
|
+
$$field: z.ZodString;
|
2849
3109
|
}, "strip", z.ZodTypeAny, {
|
2850
|
-
|
3110
|
+
$$field: string;
|
2851
3111
|
}, {
|
2852
|
-
|
3112
|
+
$$field: string;
|
2853
3113
|
}>>;
|
2854
3114
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2855
3115
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2881,6 +3141,11 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2881
3141
|
description: string;
|
2882
3142
|
defaultMessage: string;
|
2883
3143
|
}>;
|
3144
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3145
|
+
id: string;
|
3146
|
+
description: string;
|
3147
|
+
defaultMessage: string;
|
3148
|
+
}>>;
|
2884
3149
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2885
3150
|
}, {
|
2886
3151
|
type: z.ZodLiteral<"OFFICE">;
|
@@ -2890,14 +3155,13 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2890
3155
|
id: string;
|
2891
3156
|
label: TranslationConfig;
|
2892
3157
|
parent?: {
|
2893
|
-
|
3158
|
+
$$field: string;
|
2894
3159
|
} | undefined;
|
2895
3160
|
validation?: {
|
2896
3161
|
message: TranslationConfig;
|
2897
3162
|
validator: import(".").JSONSchema;
|
2898
3163
|
}[] | undefined;
|
2899
3164
|
required?: boolean | undefined;
|
2900
|
-
defaultValue?: string | undefined;
|
2901
3165
|
conditionals?: ({
|
2902
3166
|
type: "SHOW";
|
2903
3167
|
conditional: import(".").JSONSchema;
|
@@ -2909,7 +3173,9 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2909
3173
|
conditional: import(".").JSONSchema;
|
2910
3174
|
})[] | undefined;
|
2911
3175
|
placeholder?: TranslationConfig | undefined;
|
3176
|
+
helperText?: TranslationConfig | undefined;
|
2912
3177
|
hideLabel?: boolean | undefined;
|
3178
|
+
defaultValue?: string | undefined;
|
2913
3179
|
}, {
|
2914
3180
|
type: "OFFICE";
|
2915
3181
|
id: string;
|
@@ -2919,7 +3185,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2919
3185
|
defaultMessage: string;
|
2920
3186
|
};
|
2921
3187
|
parent?: {
|
2922
|
-
|
3188
|
+
$$field: string;
|
2923
3189
|
} | undefined;
|
2924
3190
|
validation?: {
|
2925
3191
|
message: {
|
@@ -2930,7 +3196,6 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2930
3196
|
validator: import(".").JSONSchema;
|
2931
3197
|
}[] | undefined;
|
2932
3198
|
required?: boolean | undefined;
|
2933
|
-
defaultValue?: string | undefined;
|
2934
3199
|
conditionals?: ({
|
2935
3200
|
type: "SHOW";
|
2936
3201
|
conditional: import(".").JSONSchema;
|
@@ -2946,18 +3211,23 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2946
3211
|
description: string;
|
2947
3212
|
defaultMessage: string;
|
2948
3213
|
} | undefined;
|
3214
|
+
helperText?: {
|
3215
|
+
id: string;
|
3216
|
+
description: string;
|
3217
|
+
defaultMessage: string;
|
3218
|
+
} | undefined;
|
2949
3219
|
hideLabel?: boolean | undefined;
|
3220
|
+
defaultValue?: string | undefined;
|
2950
3221
|
}>;
|
2951
3222
|
export type Office = z.infer<typeof Office>;
|
2952
3223
|
declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
2953
3224
|
id: z.ZodString;
|
2954
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2955
3225
|
parent: z.ZodOptional<z.ZodObject<{
|
2956
|
-
|
3226
|
+
$$field: z.ZodString;
|
2957
3227
|
}, "strip", z.ZodTypeAny, {
|
2958
|
-
|
3228
|
+
$$field: string;
|
2959
3229
|
}, {
|
2960
|
-
|
3230
|
+
$$field: string;
|
2961
3231
|
}>>;
|
2962
3232
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2963
3233
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2989,6 +3259,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
2989
3259
|
description: string;
|
2990
3260
|
defaultMessage: string;
|
2991
3261
|
}>;
|
3262
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3263
|
+
id: string;
|
3264
|
+
description: string;
|
3265
|
+
defaultMessage: string;
|
3266
|
+
}>>;
|
2992
3267
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2993
3268
|
}, {
|
2994
3269
|
type: z.ZodLiteral<"ADDRESS">;
|
@@ -3084,13 +3359,26 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3084
3359
|
id: string;
|
3085
3360
|
label: TranslationConfig;
|
3086
3361
|
parent?: {
|
3087
|
-
|
3362
|
+
$$field: string;
|
3088
3363
|
} | undefined;
|
3089
3364
|
validation?: {
|
3090
3365
|
message: TranslationConfig;
|
3091
3366
|
validator: import(".").JSONSchema;
|
3092
3367
|
}[] | undefined;
|
3093
3368
|
required?: boolean | undefined;
|
3369
|
+
conditionals?: ({
|
3370
|
+
type: "SHOW";
|
3371
|
+
conditional: import(".").JSONSchema;
|
3372
|
+
} | {
|
3373
|
+
type: "ENABLE";
|
3374
|
+
conditional: import(".").JSONSchema;
|
3375
|
+
} | {
|
3376
|
+
type: "DISPLAY_ON_REVIEW";
|
3377
|
+
conditional: import(".").JSONSchema;
|
3378
|
+
})[] | undefined;
|
3379
|
+
placeholder?: TranslationConfig | undefined;
|
3380
|
+
helperText?: TranslationConfig | undefined;
|
3381
|
+
hideLabel?: boolean | undefined;
|
3094
3382
|
defaultValue?: {
|
3095
3383
|
country: string;
|
3096
3384
|
district: string;
|
@@ -3120,18 +3408,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3120
3408
|
addressLine3?: string | undefined;
|
3121
3409
|
postcodeOrZip?: string | undefined;
|
3122
3410
|
} | undefined;
|
3123
|
-
conditionals?: ({
|
3124
|
-
type: "SHOW";
|
3125
|
-
conditional: import(".").JSONSchema;
|
3126
|
-
} | {
|
3127
|
-
type: "ENABLE";
|
3128
|
-
conditional: import(".").JSONSchema;
|
3129
|
-
} | {
|
3130
|
-
type: "DISPLAY_ON_REVIEW";
|
3131
|
-
conditional: import(".").JSONSchema;
|
3132
|
-
})[] | undefined;
|
3133
|
-
placeholder?: TranslationConfig | undefined;
|
3134
|
-
hideLabel?: boolean | undefined;
|
3135
3411
|
}, {
|
3136
3412
|
type: "ADDRESS";
|
3137
3413
|
id: string;
|
@@ -3141,7 +3417,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3141
3417
|
defaultMessage: string;
|
3142
3418
|
};
|
3143
3419
|
parent?: {
|
3144
|
-
|
3420
|
+
$$field: string;
|
3145
3421
|
} | undefined;
|
3146
3422
|
validation?: {
|
3147
3423
|
message: {
|
@@ -3152,6 +3428,27 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3152
3428
|
validator: import(".").JSONSchema;
|
3153
3429
|
}[] | undefined;
|
3154
3430
|
required?: boolean | undefined;
|
3431
|
+
conditionals?: ({
|
3432
|
+
type: "SHOW";
|
3433
|
+
conditional: import(".").JSONSchema;
|
3434
|
+
} | {
|
3435
|
+
type: "ENABLE";
|
3436
|
+
conditional: import(".").JSONSchema;
|
3437
|
+
} | {
|
3438
|
+
type: "DISPLAY_ON_REVIEW";
|
3439
|
+
conditional: import(".").JSONSchema;
|
3440
|
+
})[] | undefined;
|
3441
|
+
placeholder?: {
|
3442
|
+
id: string;
|
3443
|
+
description: string;
|
3444
|
+
defaultMessage: string;
|
3445
|
+
} | undefined;
|
3446
|
+
helperText?: {
|
3447
|
+
id: string;
|
3448
|
+
description: string;
|
3449
|
+
defaultMessage: string;
|
3450
|
+
} | undefined;
|
3451
|
+
hideLabel?: boolean | undefined;
|
3155
3452
|
defaultValue?: {
|
3156
3453
|
country: string;
|
3157
3454
|
district: string;
|
@@ -3181,22 +3478,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3181
3478
|
addressLine3?: string | undefined;
|
3182
3479
|
postcodeOrZip?: string | undefined;
|
3183
3480
|
} | undefined;
|
3184
|
-
conditionals?: ({
|
3185
|
-
type: "SHOW";
|
3186
|
-
conditional: import(".").JSONSchema;
|
3187
|
-
} | {
|
3188
|
-
type: "ENABLE";
|
3189
|
-
conditional: import(".").JSONSchema;
|
3190
|
-
} | {
|
3191
|
-
type: "DISPLAY_ON_REVIEW";
|
3192
|
-
conditional: import(".").JSONSchema;
|
3193
|
-
})[] | undefined;
|
3194
|
-
placeholder?: {
|
3195
|
-
id: string;
|
3196
|
-
description: string;
|
3197
|
-
defaultMessage: string;
|
3198
|
-
} | undefined;
|
3199
|
-
hideLabel?: boolean | undefined;
|
3200
3481
|
}>;
|
3201
3482
|
export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
|
3202
3483
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -3233,13 +3514,12 @@ export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
|
|
3233
3514
|
export type DataEntry = z.infer<typeof DataEntry>;
|
3234
3515
|
declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
3235
3516
|
id: z.ZodString;
|
3236
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
3237
3517
|
parent: z.ZodOptional<z.ZodObject<{
|
3238
|
-
|
3518
|
+
$$field: z.ZodString;
|
3239
3519
|
}, "strip", z.ZodTypeAny, {
|
3240
|
-
|
3520
|
+
$$field: string;
|
3241
3521
|
}, {
|
3242
|
-
|
3522
|
+
$$field: string;
|
3243
3523
|
}>>;
|
3244
3524
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3245
3525
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3271,6 +3551,11 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3271
3551
|
description: string;
|
3272
3552
|
defaultMessage: string;
|
3273
3553
|
}>;
|
3554
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3555
|
+
id: string;
|
3556
|
+
description: string;
|
3557
|
+
defaultMessage: string;
|
3558
|
+
}>>;
|
3274
3559
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3275
3560
|
}, {
|
3276
3561
|
type: z.ZodLiteral<"DATA">;
|
@@ -3355,14 +3640,13 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3355
3640
|
subtitle?: TranslationConfig | undefined;
|
3356
3641
|
};
|
3357
3642
|
parent?: {
|
3358
|
-
|
3643
|
+
$$field: string;
|
3359
3644
|
} | undefined;
|
3360
3645
|
validation?: {
|
3361
3646
|
message: TranslationConfig;
|
3362
3647
|
validator: import(".").JSONSchema;
|
3363
3648
|
}[] | undefined;
|
3364
3649
|
required?: boolean | undefined;
|
3365
|
-
defaultValue?: string | number | boolean | undefined;
|
3366
3650
|
conditionals?: ({
|
3367
3651
|
type: "SHOW";
|
3368
3652
|
conditional: import(".").JSONSchema;
|
@@ -3374,6 +3658,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3374
3658
|
conditional: import(".").JSONSchema;
|
3375
3659
|
})[] | undefined;
|
3376
3660
|
placeholder?: TranslationConfig | undefined;
|
3661
|
+
helperText?: TranslationConfig | undefined;
|
3377
3662
|
hideLabel?: boolean | undefined;
|
3378
3663
|
}, {
|
3379
3664
|
type: "DATA";
|
@@ -3405,7 +3690,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3405
3690
|
} | undefined;
|
3406
3691
|
};
|
3407
3692
|
parent?: {
|
3408
|
-
|
3693
|
+
$$field: string;
|
3409
3694
|
} | undefined;
|
3410
3695
|
validation?: {
|
3411
3696
|
message: {
|
@@ -3416,7 +3701,6 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3416
3701
|
validator: import(".").JSONSchema;
|
3417
3702
|
}[] | undefined;
|
3418
3703
|
required?: boolean | undefined;
|
3419
|
-
defaultValue?: string | number | boolean | undefined;
|
3420
3704
|
conditionals?: ({
|
3421
3705
|
type: "SHOW";
|
3422
3706
|
conditional: import(".").JSONSchema;
|
@@ -3432,6 +3716,11 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3432
3716
|
description: string;
|
3433
3717
|
defaultMessage: string;
|
3434
3718
|
} | undefined;
|
3719
|
+
helperText?: {
|
3720
|
+
id: string;
|
3721
|
+
description: string;
|
3722
|
+
defaultMessage: string;
|
3723
|
+
} | undefined;
|
3435
3724
|
hideLabel?: boolean | undefined;
|
3436
3725
|
}>;
|
3437
3726
|
export type DataField = z.infer<typeof DataField>;
|
@@ -3446,13 +3735,12 @@ export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.i
|
|
3446
3735
|
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>;
|
3447
3736
|
export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
3448
3737
|
id: z.ZodString;
|
3449
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
3450
3738
|
parent: z.ZodOptional<z.ZodObject<{
|
3451
|
-
|
3739
|
+
$$field: z.ZodString;
|
3452
3740
|
}, "strip", z.ZodTypeAny, {
|
3453
|
-
|
3741
|
+
$$field: string;
|
3454
3742
|
}, {
|
3455
|
-
|
3743
|
+
$$field: string;
|
3456
3744
|
}>>;
|
3457
3745
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3458
3746
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3484,6 +3772,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3484
3772
|
description: string;
|
3485
3773
|
defaultMessage: string;
|
3486
3774
|
}>;
|
3775
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3776
|
+
id: string;
|
3777
|
+
description: string;
|
3778
|
+
defaultMessage: string;
|
3779
|
+
}>>;
|
3487
3780
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3488
3781
|
}, {
|
3489
3782
|
type: z.ZodLiteral<"ADDRESS">;
|
@@ -3579,13 +3872,26 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3579
3872
|
id: string;
|
3580
3873
|
label: TranslationConfig;
|
3581
3874
|
parent?: {
|
3582
|
-
|
3875
|
+
$$field: string;
|
3583
3876
|
} | undefined;
|
3584
3877
|
validation?: {
|
3585
3878
|
message: TranslationConfig;
|
3586
3879
|
validator: import(".").JSONSchema;
|
3587
3880
|
}[] | undefined;
|
3588
3881
|
required?: boolean | undefined;
|
3882
|
+
conditionals?: ({
|
3883
|
+
type: "SHOW";
|
3884
|
+
conditional: import(".").JSONSchema;
|
3885
|
+
} | {
|
3886
|
+
type: "ENABLE";
|
3887
|
+
conditional: import(".").JSONSchema;
|
3888
|
+
} | {
|
3889
|
+
type: "DISPLAY_ON_REVIEW";
|
3890
|
+
conditional: import(".").JSONSchema;
|
3891
|
+
})[] | undefined;
|
3892
|
+
placeholder?: TranslationConfig | undefined;
|
3893
|
+
helperText?: TranslationConfig | undefined;
|
3894
|
+
hideLabel?: boolean | undefined;
|
3589
3895
|
defaultValue?: {
|
3590
3896
|
country: string;
|
3591
3897
|
district: string;
|
@@ -3615,18 +3921,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3615
3921
|
addressLine3?: string | undefined;
|
3616
3922
|
postcodeOrZip?: string | undefined;
|
3617
3923
|
} | undefined;
|
3618
|
-
conditionals?: ({
|
3619
|
-
type: "SHOW";
|
3620
|
-
conditional: import(".").JSONSchema;
|
3621
|
-
} | {
|
3622
|
-
type: "ENABLE";
|
3623
|
-
conditional: import(".").JSONSchema;
|
3624
|
-
} | {
|
3625
|
-
type: "DISPLAY_ON_REVIEW";
|
3626
|
-
conditional: import(".").JSONSchema;
|
3627
|
-
})[] | undefined;
|
3628
|
-
placeholder?: TranslationConfig | undefined;
|
3629
|
-
hideLabel?: boolean | undefined;
|
3630
3924
|
}, {
|
3631
3925
|
type: "ADDRESS";
|
3632
3926
|
id: string;
|
@@ -3636,7 +3930,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3636
3930
|
defaultMessage: string;
|
3637
3931
|
};
|
3638
3932
|
parent?: {
|
3639
|
-
|
3933
|
+
$$field: string;
|
3640
3934
|
} | undefined;
|
3641
3935
|
validation?: {
|
3642
3936
|
message: {
|
@@ -3647,6 +3941,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3647
3941
|
validator: import(".").JSONSchema;
|
3648
3942
|
}[] | undefined;
|
3649
3943
|
required?: boolean | undefined;
|
3944
|
+
conditionals?: ({
|
3945
|
+
type: "SHOW";
|
3946
|
+
conditional: import(".").JSONSchema;
|
3947
|
+
} | {
|
3948
|
+
type: "ENABLE";
|
3949
|
+
conditional: import(".").JSONSchema;
|
3950
|
+
} | {
|
3951
|
+
type: "DISPLAY_ON_REVIEW";
|
3952
|
+
conditional: import(".").JSONSchema;
|
3953
|
+
})[] | undefined;
|
3954
|
+
placeholder?: {
|
3955
|
+
id: string;
|
3956
|
+
description: string;
|
3957
|
+
defaultMessage: string;
|
3958
|
+
} | undefined;
|
3959
|
+
helperText?: {
|
3960
|
+
id: string;
|
3961
|
+
description: string;
|
3962
|
+
defaultMessage: string;
|
3963
|
+
} | undefined;
|
3964
|
+
hideLabel?: boolean | undefined;
|
3650
3965
|
defaultValue?: {
|
3651
3966
|
country: string;
|
3652
3967
|
district: string;
|
@@ -3676,31 +3991,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3676
3991
|
addressLine3?: string | undefined;
|
3677
3992
|
postcodeOrZip?: string | undefined;
|
3678
3993
|
} | undefined;
|
3679
|
-
conditionals?: ({
|
3680
|
-
type: "SHOW";
|
3681
|
-
conditional: import(".").JSONSchema;
|
3682
|
-
} | {
|
3683
|
-
type: "ENABLE";
|
3684
|
-
conditional: import(".").JSONSchema;
|
3685
|
-
} | {
|
3686
|
-
type: "DISPLAY_ON_REVIEW";
|
3687
|
-
conditional: import(".").JSONSchema;
|
3688
|
-
})[] | undefined;
|
3689
|
-
placeholder?: {
|
3690
|
-
id: string;
|
3691
|
-
description: string;
|
3692
|
-
defaultMessage: string;
|
3693
|
-
} | undefined;
|
3694
|
-
hideLabel?: boolean | undefined;
|
3695
3994
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3696
3995
|
id: z.ZodString;
|
3697
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
3698
3996
|
parent: z.ZodOptional<z.ZodObject<{
|
3699
|
-
|
3997
|
+
$$field: z.ZodString;
|
3700
3998
|
}, "strip", z.ZodTypeAny, {
|
3701
|
-
|
3999
|
+
$$field: string;
|
3702
4000
|
}, {
|
3703
|
-
|
4001
|
+
$$field: string;
|
3704
4002
|
}>>;
|
3705
4003
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3706
4004
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3732,6 +4030,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3732
4030
|
description: string;
|
3733
4031
|
defaultMessage: string;
|
3734
4032
|
}>;
|
4033
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4034
|
+
id: string;
|
4035
|
+
description: string;
|
4036
|
+
defaultMessage: string;
|
4037
|
+
}>>;
|
3735
4038
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3736
4039
|
}, {
|
3737
4040
|
type: z.ZodLiteral<"TEXT">;
|
@@ -3773,14 +4076,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3773
4076
|
id: string;
|
3774
4077
|
label: TranslationConfig;
|
3775
4078
|
parent?: {
|
3776
|
-
|
4079
|
+
$$field: string;
|
3777
4080
|
} | undefined;
|
3778
4081
|
validation?: {
|
3779
4082
|
message: TranslationConfig;
|
3780
4083
|
validator: import(".").JSONSchema;
|
3781
4084
|
}[] | undefined;
|
3782
4085
|
required?: boolean | undefined;
|
3783
|
-
defaultValue?: string | undefined;
|
3784
4086
|
conditionals?: ({
|
3785
4087
|
type: "SHOW";
|
3786
4088
|
conditional: import(".").JSONSchema;
|
@@ -3792,7 +4094,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3792
4094
|
conditional: import(".").JSONSchema;
|
3793
4095
|
})[] | undefined;
|
3794
4096
|
placeholder?: TranslationConfig | undefined;
|
4097
|
+
helperText?: TranslationConfig | undefined;
|
3795
4098
|
hideLabel?: boolean | undefined;
|
4099
|
+
defaultValue?: string | undefined;
|
3796
4100
|
configuration?: {
|
3797
4101
|
type?: "text" | "password" | undefined;
|
3798
4102
|
maxLength?: number | undefined;
|
@@ -3808,7 +4112,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3808
4112
|
defaultMessage: string;
|
3809
4113
|
};
|
3810
4114
|
parent?: {
|
3811
|
-
|
4115
|
+
$$field: string;
|
3812
4116
|
} | undefined;
|
3813
4117
|
validation?: {
|
3814
4118
|
message: {
|
@@ -3819,7 +4123,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3819
4123
|
validator: import(".").JSONSchema;
|
3820
4124
|
}[] | undefined;
|
3821
4125
|
required?: boolean | undefined;
|
3822
|
-
defaultValue?: string | undefined;
|
3823
4126
|
conditionals?: ({
|
3824
4127
|
type: "SHOW";
|
3825
4128
|
conditional: import(".").JSONSchema;
|
@@ -3835,7 +4138,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3835
4138
|
description: string;
|
3836
4139
|
defaultMessage: string;
|
3837
4140
|
} | undefined;
|
4141
|
+
helperText?: {
|
4142
|
+
id: string;
|
4143
|
+
description: string;
|
4144
|
+
defaultMessage: string;
|
4145
|
+
} | undefined;
|
3838
4146
|
hideLabel?: boolean | undefined;
|
4147
|
+
defaultValue?: string | undefined;
|
3839
4148
|
configuration?: {
|
3840
4149
|
type?: "text" | "password" | undefined;
|
3841
4150
|
maxLength?: number | undefined;
|
@@ -3852,13 +4161,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3852
4161
|
} | undefined;
|
3853
4162
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3854
4163
|
id: z.ZodString;
|
3855
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
3856
4164
|
parent: z.ZodOptional<z.ZodObject<{
|
3857
|
-
|
4165
|
+
$$field: z.ZodString;
|
3858
4166
|
}, "strip", z.ZodTypeAny, {
|
3859
|
-
|
4167
|
+
$$field: string;
|
3860
4168
|
}, {
|
3861
|
-
|
4169
|
+
$$field: string;
|
3862
4170
|
}>>;
|
3863
4171
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3864
4172
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3890,6 +4198,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3890
4198
|
description: string;
|
3891
4199
|
defaultMessage: string;
|
3892
4200
|
}>;
|
4201
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4202
|
+
id: string;
|
4203
|
+
description: string;
|
4204
|
+
defaultMessage: string;
|
4205
|
+
}>>;
|
3893
4206
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3894
4207
|
}, {
|
3895
4208
|
type: z.ZodLiteral<"NUMBER">;
|
@@ -3931,14 +4244,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3931
4244
|
id: string;
|
3932
4245
|
label: TranslationConfig;
|
3933
4246
|
parent?: {
|
3934
|
-
|
4247
|
+
$$field: string;
|
3935
4248
|
} | undefined;
|
3936
4249
|
validation?: {
|
3937
4250
|
message: TranslationConfig;
|
3938
4251
|
validator: import(".").JSONSchema;
|
3939
4252
|
}[] | undefined;
|
3940
4253
|
required?: boolean | undefined;
|
3941
|
-
defaultValue?: number | undefined;
|
3942
4254
|
conditionals?: ({
|
3943
4255
|
type: "SHOW";
|
3944
4256
|
conditional: import(".").JSONSchema;
|
@@ -3950,7 +4262,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3950
4262
|
conditional: import(".").JSONSchema;
|
3951
4263
|
})[] | undefined;
|
3952
4264
|
placeholder?: TranslationConfig | undefined;
|
4265
|
+
helperText?: TranslationConfig | undefined;
|
3953
4266
|
hideLabel?: boolean | undefined;
|
4267
|
+
defaultValue?: number | undefined;
|
3954
4268
|
configuration?: {
|
3955
4269
|
prefix?: TranslationConfig | undefined;
|
3956
4270
|
postfix?: TranslationConfig | undefined;
|
@@ -3966,7 +4280,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3966
4280
|
defaultMessage: string;
|
3967
4281
|
};
|
3968
4282
|
parent?: {
|
3969
|
-
|
4283
|
+
$$field: string;
|
3970
4284
|
} | undefined;
|
3971
4285
|
validation?: {
|
3972
4286
|
message: {
|
@@ -3977,7 +4291,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3977
4291
|
validator: import(".").JSONSchema;
|
3978
4292
|
}[] | undefined;
|
3979
4293
|
required?: boolean | undefined;
|
3980
|
-
defaultValue?: number | undefined;
|
3981
4294
|
conditionals?: ({
|
3982
4295
|
type: "SHOW";
|
3983
4296
|
conditional: import(".").JSONSchema;
|
@@ -3993,7 +4306,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3993
4306
|
description: string;
|
3994
4307
|
defaultMessage: string;
|
3995
4308
|
} | undefined;
|
4309
|
+
helperText?: {
|
4310
|
+
id: string;
|
4311
|
+
description: string;
|
4312
|
+
defaultMessage: string;
|
4313
|
+
} | undefined;
|
3996
4314
|
hideLabel?: boolean | undefined;
|
4315
|
+
defaultValue?: number | undefined;
|
3997
4316
|
configuration?: {
|
3998
4317
|
prefix?: {
|
3999
4318
|
id: string;
|
@@ -4010,13 +4329,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4010
4329
|
} | undefined;
|
4011
4330
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4012
4331
|
id: z.ZodString;
|
4013
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4014
4332
|
parent: z.ZodOptional<z.ZodObject<{
|
4015
|
-
|
4333
|
+
$$field: z.ZodString;
|
4016
4334
|
}, "strip", z.ZodTypeAny, {
|
4017
|
-
|
4335
|
+
$$field: string;
|
4018
4336
|
}, {
|
4019
|
-
|
4337
|
+
$$field: string;
|
4020
4338
|
}>>;
|
4021
4339
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4022
4340
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4048,6 +4366,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4048
4366
|
description: string;
|
4049
4367
|
defaultMessage: string;
|
4050
4368
|
}>;
|
4369
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4370
|
+
id: string;
|
4371
|
+
description: string;
|
4372
|
+
defaultMessage: string;
|
4373
|
+
}>>;
|
4051
4374
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4052
4375
|
}, {
|
4053
4376
|
type: z.ZodLiteral<"TEXTAREA">;
|
@@ -4092,14 +4415,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4092
4415
|
id: string;
|
4093
4416
|
label: TranslationConfig;
|
4094
4417
|
parent?: {
|
4095
|
-
|
4418
|
+
$$field: string;
|
4096
4419
|
} | undefined;
|
4097
4420
|
validation?: {
|
4098
4421
|
message: TranslationConfig;
|
4099
4422
|
validator: import(".").JSONSchema;
|
4100
4423
|
}[] | undefined;
|
4101
4424
|
required?: boolean | undefined;
|
4102
|
-
defaultValue?: string | undefined;
|
4103
4425
|
conditionals?: ({
|
4104
4426
|
type: "SHOW";
|
4105
4427
|
conditional: import(".").JSONSchema;
|
@@ -4111,7 +4433,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4111
4433
|
conditional: import(".").JSONSchema;
|
4112
4434
|
})[] | undefined;
|
4113
4435
|
placeholder?: TranslationConfig | undefined;
|
4436
|
+
helperText?: TranslationConfig | undefined;
|
4114
4437
|
hideLabel?: boolean | undefined;
|
4438
|
+
defaultValue?: string | undefined;
|
4115
4439
|
configuration?: {
|
4116
4440
|
maxLength?: number | undefined;
|
4117
4441
|
prefix?: TranslationConfig | undefined;
|
@@ -4128,7 +4452,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4128
4452
|
defaultMessage: string;
|
4129
4453
|
};
|
4130
4454
|
parent?: {
|
4131
|
-
|
4455
|
+
$$field: string;
|
4132
4456
|
} | undefined;
|
4133
4457
|
validation?: {
|
4134
4458
|
message: {
|
@@ -4139,7 +4463,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4139
4463
|
validator: import(".").JSONSchema;
|
4140
4464
|
}[] | undefined;
|
4141
4465
|
required?: boolean | undefined;
|
4142
|
-
defaultValue?: string | undefined;
|
4143
4466
|
conditionals?: ({
|
4144
4467
|
type: "SHOW";
|
4145
4468
|
conditional: import(".").JSONSchema;
|
@@ -4155,7 +4478,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4155
4478
|
description: string;
|
4156
4479
|
defaultMessage: string;
|
4157
4480
|
} | undefined;
|
4481
|
+
helperText?: {
|
4482
|
+
id: string;
|
4483
|
+
description: string;
|
4484
|
+
defaultMessage: string;
|
4485
|
+
} | undefined;
|
4158
4486
|
hideLabel?: boolean | undefined;
|
4487
|
+
defaultValue?: string | undefined;
|
4159
4488
|
configuration?: {
|
4160
4489
|
maxLength?: number | undefined;
|
4161
4490
|
prefix?: {
|
@@ -4173,13 +4502,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4173
4502
|
} | undefined;
|
4174
4503
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4175
4504
|
id: z.ZodString;
|
4176
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4177
4505
|
parent: z.ZodOptional<z.ZodObject<{
|
4178
|
-
|
4506
|
+
$$field: z.ZodString;
|
4179
4507
|
}, "strip", z.ZodTypeAny, {
|
4180
|
-
|
4508
|
+
$$field: string;
|
4181
4509
|
}, {
|
4182
|
-
|
4510
|
+
$$field: string;
|
4183
4511
|
}>>;
|
4184
4512
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4185
4513
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4211,6 +4539,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4211
4539
|
description: string;
|
4212
4540
|
defaultMessage: string;
|
4213
4541
|
}>;
|
4542
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4543
|
+
id: string;
|
4544
|
+
description: string;
|
4545
|
+
defaultMessage: string;
|
4546
|
+
}>>;
|
4214
4547
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4215
4548
|
}, {
|
4216
4549
|
type: z.ZodLiteral<"DATE">;
|
@@ -4235,14 +4568,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4235
4568
|
id: string;
|
4236
4569
|
label: TranslationConfig;
|
4237
4570
|
parent?: {
|
4238
|
-
|
4571
|
+
$$field: string;
|
4239
4572
|
} | undefined;
|
4240
4573
|
validation?: {
|
4241
4574
|
message: TranslationConfig;
|
4242
4575
|
validator: import(".").JSONSchema;
|
4243
4576
|
}[] | undefined;
|
4244
4577
|
required?: boolean | undefined;
|
4245
|
-
defaultValue?: string | undefined;
|
4246
4578
|
conditionals?: ({
|
4247
4579
|
type: "SHOW";
|
4248
4580
|
conditional: import(".").JSONSchema;
|
@@ -4254,7 +4586,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4254
4586
|
conditional: import(".").JSONSchema;
|
4255
4587
|
})[] | undefined;
|
4256
4588
|
placeholder?: TranslationConfig | undefined;
|
4589
|
+
helperText?: TranslationConfig | undefined;
|
4257
4590
|
hideLabel?: boolean | undefined;
|
4591
|
+
defaultValue?: string | undefined;
|
4258
4592
|
configuration?: {
|
4259
4593
|
notice?: TranslationConfig | undefined;
|
4260
4594
|
} | undefined;
|
@@ -4267,7 +4601,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4267
4601
|
defaultMessage: string;
|
4268
4602
|
};
|
4269
4603
|
parent?: {
|
4270
|
-
|
4604
|
+
$$field: string;
|
4271
4605
|
} | undefined;
|
4272
4606
|
validation?: {
|
4273
4607
|
message: {
|
@@ -4278,7 +4612,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4278
4612
|
validator: import(".").JSONSchema;
|
4279
4613
|
}[] | undefined;
|
4280
4614
|
required?: boolean | undefined;
|
4281
|
-
defaultValue?: string | undefined;
|
4282
4615
|
conditionals?: ({
|
4283
4616
|
type: "SHOW";
|
4284
4617
|
conditional: import(".").JSONSchema;
|
@@ -4294,7 +4627,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4294
4627
|
description: string;
|
4295
4628
|
defaultMessage: string;
|
4296
4629
|
} | undefined;
|
4630
|
+
helperText?: {
|
4631
|
+
id: string;
|
4632
|
+
description: string;
|
4633
|
+
defaultMessage: string;
|
4634
|
+
} | undefined;
|
4297
4635
|
hideLabel?: boolean | undefined;
|
4636
|
+
defaultValue?: string | undefined;
|
4298
4637
|
configuration?: {
|
4299
4638
|
notice?: {
|
4300
4639
|
id: string;
|
@@ -4304,13 +4643,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4304
4643
|
} | undefined;
|
4305
4644
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4306
4645
|
id: z.ZodString;
|
4307
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4308
4646
|
parent: z.ZodOptional<z.ZodObject<{
|
4309
|
-
|
4647
|
+
$$field: z.ZodString;
|
4310
4648
|
}, "strip", z.ZodTypeAny, {
|
4311
|
-
|
4649
|
+
$$field: string;
|
4312
4650
|
}, {
|
4313
|
-
|
4651
|
+
$$field: string;
|
4314
4652
|
}>>;
|
4315
4653
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4316
4654
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4342,6 +4680,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4342
4680
|
description: string;
|
4343
4681
|
defaultMessage: string;
|
4344
4682
|
}>;
|
4683
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4684
|
+
id: string;
|
4685
|
+
description: string;
|
4686
|
+
defaultMessage: string;
|
4687
|
+
}>>;
|
4345
4688
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4346
4689
|
}, {
|
4347
4690
|
type: z.ZodLiteral<"DATE_RANGE">;
|
@@ -4366,14 +4709,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4366
4709
|
id: string;
|
4367
4710
|
label: TranslationConfig;
|
4368
4711
|
parent?: {
|
4369
|
-
|
4712
|
+
$$field: string;
|
4370
4713
|
} | undefined;
|
4371
4714
|
validation?: {
|
4372
4715
|
message: TranslationConfig;
|
4373
4716
|
validator: import(".").JSONSchema;
|
4374
4717
|
}[] | undefined;
|
4375
4718
|
required?: boolean | undefined;
|
4376
|
-
defaultValue?: string | [string, string] | undefined;
|
4377
4719
|
conditionals?: ({
|
4378
4720
|
type: "SHOW";
|
4379
4721
|
conditional: import(".").JSONSchema;
|
@@ -4385,7 +4727,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4385
4727
|
conditional: import(".").JSONSchema;
|
4386
4728
|
})[] | undefined;
|
4387
4729
|
placeholder?: TranslationConfig | undefined;
|
4730
|
+
helperText?: TranslationConfig | undefined;
|
4388
4731
|
hideLabel?: boolean | undefined;
|
4732
|
+
defaultValue?: string | [string, string] | undefined;
|
4389
4733
|
configuration?: {
|
4390
4734
|
notice?: TranslationConfig | undefined;
|
4391
4735
|
} | undefined;
|
@@ -4398,7 +4742,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4398
4742
|
defaultMessage: string;
|
4399
4743
|
};
|
4400
4744
|
parent?: {
|
4401
|
-
|
4745
|
+
$$field: string;
|
4402
4746
|
} | undefined;
|
4403
4747
|
validation?: {
|
4404
4748
|
message: {
|
@@ -4409,7 +4753,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4409
4753
|
validator: import(".").JSONSchema;
|
4410
4754
|
}[] | undefined;
|
4411
4755
|
required?: boolean | undefined;
|
4412
|
-
defaultValue?: string | [string, string] | undefined;
|
4413
4756
|
conditionals?: ({
|
4414
4757
|
type: "SHOW";
|
4415
4758
|
conditional: import(".").JSONSchema;
|
@@ -4425,7 +4768,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4425
4768
|
description: string;
|
4426
4769
|
defaultMessage: string;
|
4427
4770
|
} | undefined;
|
4771
|
+
helperText?: {
|
4772
|
+
id: string;
|
4773
|
+
description: string;
|
4774
|
+
defaultMessage: string;
|
4775
|
+
} | undefined;
|
4428
4776
|
hideLabel?: boolean | undefined;
|
4777
|
+
defaultValue?: string | [string, string] | undefined;
|
4429
4778
|
configuration?: {
|
4430
4779
|
notice?: {
|
4431
4780
|
id: string;
|
@@ -4435,13 +4784,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4435
4784
|
} | undefined;
|
4436
4785
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4437
4786
|
id: z.ZodString;
|
4438
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4439
4787
|
parent: z.ZodOptional<z.ZodObject<{
|
4440
|
-
|
4788
|
+
$$field: z.ZodString;
|
4441
4789
|
}, "strip", z.ZodTypeAny, {
|
4442
|
-
|
4790
|
+
$$field: string;
|
4443
4791
|
}, {
|
4444
|
-
|
4792
|
+
$$field: string;
|
4445
4793
|
}>>;
|
4446
4794
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4447
4795
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4473,6 +4821,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4473
4821
|
description: string;
|
4474
4822
|
defaultMessage: string;
|
4475
4823
|
}>;
|
4824
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4825
|
+
id: string;
|
4826
|
+
description: string;
|
4827
|
+
defaultMessage: string;
|
4828
|
+
}>>;
|
4476
4829
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4477
4830
|
}, {
|
4478
4831
|
type: z.ZodLiteral<"PARAGRAPH">;
|
@@ -4504,14 +4857,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4504
4857
|
} | undefined;
|
4505
4858
|
};
|
4506
4859
|
parent?: {
|
4507
|
-
|
4860
|
+
$$field: string;
|
4508
4861
|
} | undefined;
|
4509
4862
|
validation?: {
|
4510
4863
|
message: TranslationConfig;
|
4511
4864
|
validator: import(".").JSONSchema;
|
4512
4865
|
}[] | undefined;
|
4513
4866
|
required?: boolean | undefined;
|
4514
|
-
defaultValue?: string | undefined;
|
4515
4867
|
conditionals?: ({
|
4516
4868
|
type: "SHOW";
|
4517
4869
|
conditional: import(".").JSONSchema;
|
@@ -4523,7 +4875,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4523
4875
|
conditional: import(".").JSONSchema;
|
4524
4876
|
})[] | undefined;
|
4525
4877
|
placeholder?: TranslationConfig | undefined;
|
4878
|
+
helperText?: TranslationConfig | undefined;
|
4526
4879
|
hideLabel?: boolean | undefined;
|
4880
|
+
defaultValue?: string | undefined;
|
4527
4881
|
}, {
|
4528
4882
|
type: "PARAGRAPH";
|
4529
4883
|
id: string;
|
@@ -4533,7 +4887,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4533
4887
|
defaultMessage: string;
|
4534
4888
|
};
|
4535
4889
|
parent?: {
|
4536
|
-
|
4890
|
+
$$field: string;
|
4537
4891
|
} | undefined;
|
4538
4892
|
validation?: {
|
4539
4893
|
message: {
|
@@ -4544,7 +4898,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4544
4898
|
validator: import(".").JSONSchema;
|
4545
4899
|
}[] | undefined;
|
4546
4900
|
required?: boolean | undefined;
|
4547
|
-
defaultValue?: string | undefined;
|
4548
4901
|
conditionals?: ({
|
4549
4902
|
type: "SHOW";
|
4550
4903
|
conditional: import(".").JSONSchema;
|
@@ -4560,7 +4913,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4560
4913
|
description: string;
|
4561
4914
|
defaultMessage: string;
|
4562
4915
|
} | undefined;
|
4916
|
+
helperText?: {
|
4917
|
+
id: string;
|
4918
|
+
description: string;
|
4919
|
+
defaultMessage: string;
|
4920
|
+
} | undefined;
|
4563
4921
|
hideLabel?: boolean | undefined;
|
4922
|
+
defaultValue?: string | undefined;
|
4564
4923
|
configuration?: {
|
4565
4924
|
styles?: {
|
4566
4925
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
@@ -4568,13 +4927,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4568
4927
|
} | undefined;
|
4569
4928
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4570
4929
|
id: z.ZodString;
|
4571
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4572
4930
|
parent: z.ZodOptional<z.ZodObject<{
|
4573
|
-
|
4931
|
+
$$field: z.ZodString;
|
4574
4932
|
}, "strip", z.ZodTypeAny, {
|
4575
|
-
|
4933
|
+
$$field: string;
|
4576
4934
|
}, {
|
4577
|
-
|
4935
|
+
$$field: string;
|
4578
4936
|
}>>;
|
4579
4937
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4580
4938
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4606,6 +4964,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4606
4964
|
description: string;
|
4607
4965
|
defaultMessage: string;
|
4608
4966
|
}>;
|
4967
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4968
|
+
id: string;
|
4969
|
+
description: string;
|
4970
|
+
defaultMessage: string;
|
4971
|
+
}>>;
|
4609
4972
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4610
4973
|
}, {
|
4611
4974
|
type: z.ZodLiteral<"RADIO_GROUP">;
|
@@ -4654,14 +5017,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4654
5017
|
}[];
|
4655
5018
|
label: TranslationConfig;
|
4656
5019
|
parent?: {
|
4657
|
-
|
5020
|
+
$$field: string;
|
4658
5021
|
} | undefined;
|
4659
5022
|
validation?: {
|
4660
5023
|
message: TranslationConfig;
|
4661
5024
|
validator: import(".").JSONSchema;
|
4662
5025
|
}[] | undefined;
|
4663
5026
|
required?: boolean | undefined;
|
4664
|
-
defaultValue?: string | undefined;
|
4665
5027
|
conditionals?: ({
|
4666
5028
|
type: "SHOW";
|
4667
5029
|
conditional: import(".").JSONSchema;
|
@@ -4673,7 +5035,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4673
5035
|
conditional: import(".").JSONSchema;
|
4674
5036
|
})[] | undefined;
|
4675
5037
|
placeholder?: TranslationConfig | undefined;
|
5038
|
+
helperText?: TranslationConfig | undefined;
|
4676
5039
|
hideLabel?: boolean | undefined;
|
5040
|
+
defaultValue?: string | undefined;
|
4677
5041
|
configuration?: {
|
4678
5042
|
styles?: {
|
4679
5043
|
size?: "NORMAL" | "LARGE" | undefined;
|
@@ -4696,7 +5060,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4696
5060
|
defaultMessage: string;
|
4697
5061
|
};
|
4698
5062
|
parent?: {
|
4699
|
-
|
5063
|
+
$$field: string;
|
4700
5064
|
} | undefined;
|
4701
5065
|
validation?: {
|
4702
5066
|
message: {
|
@@ -4707,7 +5071,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4707
5071
|
validator: import(".").JSONSchema;
|
4708
5072
|
}[] | undefined;
|
4709
5073
|
required?: boolean | undefined;
|
4710
|
-
defaultValue?: string | undefined;
|
4711
5074
|
conditionals?: ({
|
4712
5075
|
type: "SHOW";
|
4713
5076
|
conditional: import(".").JSONSchema;
|
@@ -4723,7 +5086,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4723
5086
|
description: string;
|
4724
5087
|
defaultMessage: string;
|
4725
5088
|
} | undefined;
|
5089
|
+
helperText?: {
|
5090
|
+
id: string;
|
5091
|
+
description: string;
|
5092
|
+
defaultMessage: string;
|
5093
|
+
} | undefined;
|
4726
5094
|
hideLabel?: boolean | undefined;
|
5095
|
+
defaultValue?: string | undefined;
|
4727
5096
|
configuration?: {
|
4728
5097
|
styles?: {
|
4729
5098
|
size?: "NORMAL" | "LARGE" | undefined;
|
@@ -4731,13 +5100,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4731
5100
|
} | undefined;
|
4732
5101
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4733
5102
|
id: z.ZodString;
|
4734
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4735
5103
|
parent: z.ZodOptional<z.ZodObject<{
|
4736
|
-
|
5104
|
+
$$field: z.ZodString;
|
4737
5105
|
}, "strip", z.ZodTypeAny, {
|
4738
|
-
|
5106
|
+
$$field: string;
|
4739
5107
|
}, {
|
4740
|
-
|
5108
|
+
$$field: string;
|
4741
5109
|
}>>;
|
4742
5110
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4743
5111
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4769,6 +5137,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4769
5137
|
description: string;
|
4770
5138
|
defaultMessage: string;
|
4771
5139
|
}>;
|
5140
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5141
|
+
id: string;
|
5142
|
+
description: string;
|
5143
|
+
defaultMessage: string;
|
5144
|
+
}>>;
|
4772
5145
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4773
5146
|
}, {
|
4774
5147
|
type: z.ZodLiteral<"BULLET_LIST">;
|
@@ -4806,14 +5179,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4806
5179
|
};
|
4807
5180
|
items: TranslationConfig[];
|
4808
5181
|
parent?: {
|
4809
|
-
|
5182
|
+
$$field: string;
|
4810
5183
|
} | undefined;
|
4811
5184
|
validation?: {
|
4812
5185
|
message: TranslationConfig;
|
4813
5186
|
validator: import(".").JSONSchema;
|
4814
5187
|
}[] | undefined;
|
4815
5188
|
required?: boolean | undefined;
|
4816
|
-
defaultValue?: string | undefined;
|
4817
5189
|
conditionals?: ({
|
4818
5190
|
type: "SHOW";
|
4819
5191
|
conditional: import(".").JSONSchema;
|
@@ -4825,7 +5197,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4825
5197
|
conditional: import(".").JSONSchema;
|
4826
5198
|
})[] | undefined;
|
4827
5199
|
placeholder?: TranslationConfig | undefined;
|
5200
|
+
helperText?: TranslationConfig | undefined;
|
4828
5201
|
hideLabel?: boolean | undefined;
|
5202
|
+
defaultValue?: string | undefined;
|
4829
5203
|
}, {
|
4830
5204
|
type: "BULLET_LIST";
|
4831
5205
|
id: string;
|
@@ -4840,7 +5214,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4840
5214
|
defaultMessage: string;
|
4841
5215
|
}[];
|
4842
5216
|
parent?: {
|
4843
|
-
|
5217
|
+
$$field: string;
|
4844
5218
|
} | undefined;
|
4845
5219
|
validation?: {
|
4846
5220
|
message: {
|
@@ -4851,7 +5225,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4851
5225
|
validator: import(".").JSONSchema;
|
4852
5226
|
}[] | undefined;
|
4853
5227
|
required?: boolean | undefined;
|
4854
|
-
defaultValue?: string | undefined;
|
4855
5228
|
conditionals?: ({
|
4856
5229
|
type: "SHOW";
|
4857
5230
|
conditional: import(".").JSONSchema;
|
@@ -4867,7 +5240,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4867
5240
|
description: string;
|
4868
5241
|
defaultMessage: string;
|
4869
5242
|
} | undefined;
|
5243
|
+
helperText?: {
|
5244
|
+
id: string;
|
5245
|
+
description: string;
|
5246
|
+
defaultMessage: string;
|
5247
|
+
} | undefined;
|
4870
5248
|
hideLabel?: boolean | undefined;
|
5249
|
+
defaultValue?: string | undefined;
|
4871
5250
|
configuration?: {
|
4872
5251
|
styles?: {
|
4873
5252
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
@@ -4875,13 +5254,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4875
5254
|
} | undefined;
|
4876
5255
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4877
5256
|
id: z.ZodString;
|
4878
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4879
5257
|
parent: z.ZodOptional<z.ZodObject<{
|
4880
|
-
|
5258
|
+
$$field: z.ZodString;
|
4881
5259
|
}, "strip", z.ZodTypeAny, {
|
4882
|
-
|
5260
|
+
$$field: string;
|
4883
5261
|
}, {
|
4884
|
-
|
5262
|
+
$$field: string;
|
4885
5263
|
}>>;
|
4886
5264
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4887
5265
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4913,6 +5291,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4913
5291
|
description: string;
|
4914
5292
|
defaultMessage: string;
|
4915
5293
|
}>;
|
5294
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5295
|
+
id: string;
|
5296
|
+
description: string;
|
5297
|
+
defaultMessage: string;
|
5298
|
+
}>>;
|
4916
5299
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4917
5300
|
}, {
|
4918
5301
|
type: z.ZodLiteral<"PAGE_HEADER">;
|
@@ -4922,14 +5305,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4922
5305
|
id: string;
|
4923
5306
|
label: TranslationConfig;
|
4924
5307
|
parent?: {
|
4925
|
-
|
5308
|
+
$$field: string;
|
4926
5309
|
} | undefined;
|
4927
5310
|
validation?: {
|
4928
5311
|
message: TranslationConfig;
|
4929
5312
|
validator: import(".").JSONSchema;
|
4930
5313
|
}[] | undefined;
|
4931
5314
|
required?: boolean | undefined;
|
4932
|
-
defaultValue?: string | undefined;
|
4933
5315
|
conditionals?: ({
|
4934
5316
|
type: "SHOW";
|
4935
5317
|
conditional: import(".").JSONSchema;
|
@@ -4941,7 +5323,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4941
5323
|
conditional: import(".").JSONSchema;
|
4942
5324
|
})[] | undefined;
|
4943
5325
|
placeholder?: TranslationConfig | undefined;
|
5326
|
+
helperText?: TranslationConfig | undefined;
|
4944
5327
|
hideLabel?: boolean | undefined;
|
5328
|
+
defaultValue?: string | undefined;
|
4945
5329
|
}, {
|
4946
5330
|
type: "PAGE_HEADER";
|
4947
5331
|
id: string;
|
@@ -4951,7 +5335,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4951
5335
|
defaultMessage: string;
|
4952
5336
|
};
|
4953
5337
|
parent?: {
|
4954
|
-
|
5338
|
+
$$field: string;
|
4955
5339
|
} | undefined;
|
4956
5340
|
validation?: {
|
4957
5341
|
message: {
|
@@ -4962,7 +5346,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4962
5346
|
validator: import(".").JSONSchema;
|
4963
5347
|
}[] | undefined;
|
4964
5348
|
required?: boolean | undefined;
|
4965
|
-
defaultValue?: string | undefined;
|
4966
5349
|
conditionals?: ({
|
4967
5350
|
type: "SHOW";
|
4968
5351
|
conditional: import(".").JSONSchema;
|
@@ -4978,16 +5361,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4978
5361
|
description: string;
|
4979
5362
|
defaultMessage: string;
|
4980
5363
|
} | undefined;
|
5364
|
+
helperText?: {
|
5365
|
+
id: string;
|
5366
|
+
description: string;
|
5367
|
+
defaultMessage: string;
|
5368
|
+
} | undefined;
|
4981
5369
|
hideLabel?: boolean | undefined;
|
5370
|
+
defaultValue?: string | undefined;
|
4982
5371
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4983
5372
|
id: z.ZodString;
|
4984
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4985
5373
|
parent: z.ZodOptional<z.ZodObject<{
|
4986
|
-
|
5374
|
+
$$field: z.ZodString;
|
4987
5375
|
}, "strip", z.ZodTypeAny, {
|
4988
|
-
|
5376
|
+
$$field: string;
|
4989
5377
|
}, {
|
4990
|
-
|
5378
|
+
$$field: string;
|
4991
5379
|
}>>;
|
4992
5380
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4993
5381
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5019,6 +5407,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5019
5407
|
description: string;
|
5020
5408
|
defaultMessage: string;
|
5021
5409
|
}>;
|
5410
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5411
|
+
id: string;
|
5412
|
+
description: string;
|
5413
|
+
defaultMessage: string;
|
5414
|
+
}>>;
|
5022
5415
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5023
5416
|
}, {
|
5024
5417
|
type: z.ZodLiteral<"SELECT">;
|
@@ -5050,14 +5443,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5050
5443
|
}[];
|
5051
5444
|
label: TranslationConfig;
|
5052
5445
|
parent?: {
|
5053
|
-
|
5446
|
+
$$field: string;
|
5054
5447
|
} | undefined;
|
5055
5448
|
validation?: {
|
5056
5449
|
message: TranslationConfig;
|
5057
5450
|
validator: import(".").JSONSchema;
|
5058
5451
|
}[] | undefined;
|
5059
5452
|
required?: boolean | undefined;
|
5060
|
-
defaultValue?: string | undefined;
|
5061
5453
|
conditionals?: ({
|
5062
5454
|
type: "SHOW";
|
5063
5455
|
conditional: import(".").JSONSchema;
|
@@ -5069,7 +5461,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5069
5461
|
conditional: import(".").JSONSchema;
|
5070
5462
|
})[] | undefined;
|
5071
5463
|
placeholder?: TranslationConfig | undefined;
|
5464
|
+
helperText?: TranslationConfig | undefined;
|
5072
5465
|
hideLabel?: boolean | undefined;
|
5466
|
+
defaultValue?: string | undefined;
|
5073
5467
|
}, {
|
5074
5468
|
type: "SELECT";
|
5075
5469
|
id: string;
|
@@ -5087,7 +5481,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5087
5481
|
defaultMessage: string;
|
5088
5482
|
};
|
5089
5483
|
parent?: {
|
5090
|
-
|
5484
|
+
$$field: string;
|
5091
5485
|
} | undefined;
|
5092
5486
|
validation?: {
|
5093
5487
|
message: {
|
@@ -5098,7 +5492,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5098
5492
|
validator: import(".").JSONSchema;
|
5099
5493
|
}[] | undefined;
|
5100
5494
|
required?: boolean | undefined;
|
5101
|
-
defaultValue?: string | undefined;
|
5102
5495
|
conditionals?: ({
|
5103
5496
|
type: "SHOW";
|
5104
5497
|
conditional: import(".").JSONSchema;
|
@@ -5114,16 +5507,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5114
5507
|
description: string;
|
5115
5508
|
defaultMessage: string;
|
5116
5509
|
} | undefined;
|
5510
|
+
helperText?: {
|
5511
|
+
id: string;
|
5512
|
+
description: string;
|
5513
|
+
defaultMessage: string;
|
5514
|
+
} | undefined;
|
5117
5515
|
hideLabel?: boolean | undefined;
|
5516
|
+
defaultValue?: string | undefined;
|
5118
5517
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5119
5518
|
id: z.ZodString;
|
5120
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5121
5519
|
parent: z.ZodOptional<z.ZodObject<{
|
5122
|
-
|
5520
|
+
$$field: z.ZodString;
|
5123
5521
|
}, "strip", z.ZodTypeAny, {
|
5124
|
-
|
5522
|
+
$$field: string;
|
5125
5523
|
}, {
|
5126
|
-
|
5524
|
+
$$field: string;
|
5127
5525
|
}>>;
|
5128
5526
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5129
5527
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5155,6 +5553,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5155
5553
|
description: string;
|
5156
5554
|
defaultMessage: string;
|
5157
5555
|
}>;
|
5556
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5557
|
+
id: string;
|
5558
|
+
description: string;
|
5559
|
+
defaultMessage: string;
|
5560
|
+
}>>;
|
5158
5561
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5159
5562
|
}, {
|
5160
5563
|
type: z.ZodLiteral<"CHECKBOX">;
|
@@ -5164,14 +5567,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5164
5567
|
id: string;
|
5165
5568
|
label: TranslationConfig;
|
5166
5569
|
parent?: {
|
5167
|
-
|
5570
|
+
$$field: string;
|
5168
5571
|
} | undefined;
|
5169
5572
|
validation?: {
|
5170
5573
|
message: TranslationConfig;
|
5171
5574
|
validator: import(".").JSONSchema;
|
5172
5575
|
}[] | undefined;
|
5173
5576
|
required?: boolean | undefined;
|
5174
|
-
defaultValue?: boolean | undefined;
|
5175
5577
|
conditionals?: ({
|
5176
5578
|
type: "SHOW";
|
5177
5579
|
conditional: import(".").JSONSchema;
|
@@ -5183,7 +5585,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5183
5585
|
conditional: import(".").JSONSchema;
|
5184
5586
|
})[] | undefined;
|
5185
5587
|
placeholder?: TranslationConfig | undefined;
|
5588
|
+
helperText?: TranslationConfig | undefined;
|
5186
5589
|
hideLabel?: boolean | undefined;
|
5590
|
+
defaultValue?: boolean | undefined;
|
5187
5591
|
}, {
|
5188
5592
|
type: "CHECKBOX";
|
5189
5593
|
id: string;
|
@@ -5193,7 +5597,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5193
5597
|
defaultMessage: string;
|
5194
5598
|
};
|
5195
5599
|
parent?: {
|
5196
|
-
|
5600
|
+
$$field: string;
|
5197
5601
|
} | undefined;
|
5198
5602
|
validation?: {
|
5199
5603
|
message: {
|
@@ -5204,7 +5608,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5204
5608
|
validator: import(".").JSONSchema;
|
5205
5609
|
}[] | undefined;
|
5206
5610
|
required?: boolean | undefined;
|
5207
|
-
defaultValue?: boolean | undefined;
|
5208
5611
|
conditionals?: ({
|
5209
5612
|
type: "SHOW";
|
5210
5613
|
conditional: import(".").JSONSchema;
|
@@ -5220,16 +5623,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5220
5623
|
description: string;
|
5221
5624
|
defaultMessage: string;
|
5222
5625
|
} | undefined;
|
5626
|
+
helperText?: {
|
5627
|
+
id: string;
|
5628
|
+
description: string;
|
5629
|
+
defaultMessage: string;
|
5630
|
+
} | undefined;
|
5223
5631
|
hideLabel?: boolean | undefined;
|
5632
|
+
defaultValue?: boolean | undefined;
|
5224
5633
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5225
5634
|
id: z.ZodString;
|
5226
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5227
5635
|
parent: z.ZodOptional<z.ZodObject<{
|
5228
|
-
|
5636
|
+
$$field: z.ZodString;
|
5229
5637
|
}, "strip", z.ZodTypeAny, {
|
5230
|
-
|
5638
|
+
$$field: string;
|
5231
5639
|
}, {
|
5232
|
-
|
5640
|
+
$$field: string;
|
5233
5641
|
}>>;
|
5234
5642
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5235
5643
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5261,9 +5669,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5261
5669
|
description: string;
|
5262
5670
|
defaultMessage: string;
|
5263
5671
|
}>;
|
5672
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5673
|
+
id: string;
|
5674
|
+
description: string;
|
5675
|
+
defaultMessage: string;
|
5676
|
+
}>>;
|
5264
5677
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5265
5678
|
}, {
|
5266
5679
|
type: z.ZodLiteral<"FILE">;
|
5680
|
+
defaultValue: z.ZodOptional<z.ZodObject<{
|
5681
|
+
filename: z.ZodString;
|
5682
|
+
originalFilename: z.ZodString;
|
5683
|
+
type: z.ZodString;
|
5684
|
+
}, "strip", z.ZodTypeAny, {
|
5685
|
+
type: string;
|
5686
|
+
filename: string;
|
5687
|
+
originalFilename: string;
|
5688
|
+
}, {
|
5689
|
+
type: string;
|
5690
|
+
filename: string;
|
5691
|
+
originalFilename: string;
|
5692
|
+
}>>;
|
5267
5693
|
configuration: z.ZodDefault<z.ZodObject<{
|
5268
5694
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
5269
5695
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -5311,14 +5737,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5311
5737
|
fileName?: TranslationConfig | undefined;
|
5312
5738
|
};
|
5313
5739
|
parent?: {
|
5314
|
-
|
5740
|
+
$$field: string;
|
5315
5741
|
} | undefined;
|
5316
5742
|
validation?: {
|
5317
5743
|
message: TranslationConfig;
|
5318
5744
|
validator: import(".").JSONSchema;
|
5319
5745
|
}[] | undefined;
|
5320
5746
|
required?: boolean | undefined;
|
5321
|
-
defaultValue?: string | number | boolean | undefined;
|
5322
5747
|
conditionals?: ({
|
5323
5748
|
type: "SHOW";
|
5324
5749
|
conditional: import(".").JSONSchema;
|
@@ -5330,7 +5755,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5330
5755
|
conditional: import(".").JSONSchema;
|
5331
5756
|
})[] | undefined;
|
5332
5757
|
placeholder?: TranslationConfig | undefined;
|
5758
|
+
helperText?: TranslationConfig | undefined;
|
5333
5759
|
hideLabel?: boolean | undefined;
|
5760
|
+
defaultValue?: {
|
5761
|
+
type: string;
|
5762
|
+
filename: string;
|
5763
|
+
originalFilename: string;
|
5764
|
+
} | undefined;
|
5334
5765
|
}, {
|
5335
5766
|
type: "FILE";
|
5336
5767
|
id: string;
|
@@ -5340,7 +5771,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5340
5771
|
defaultMessage: string;
|
5341
5772
|
};
|
5342
5773
|
parent?: {
|
5343
|
-
|
5774
|
+
$$field: string;
|
5344
5775
|
} | undefined;
|
5345
5776
|
validation?: {
|
5346
5777
|
message: {
|
@@ -5351,7 +5782,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5351
5782
|
validator: import(".").JSONSchema;
|
5352
5783
|
}[] | undefined;
|
5353
5784
|
required?: boolean | undefined;
|
5354
|
-
defaultValue?: string | number | boolean | undefined;
|
5355
5785
|
conditionals?: ({
|
5356
5786
|
type: "SHOW";
|
5357
5787
|
conditional: import(".").JSONSchema;
|
@@ -5367,7 +5797,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5367
5797
|
description: string;
|
5368
5798
|
defaultMessage: string;
|
5369
5799
|
} | undefined;
|
5800
|
+
helperText?: {
|
5801
|
+
id: string;
|
5802
|
+
description: string;
|
5803
|
+
defaultMessage: string;
|
5804
|
+
} | undefined;
|
5370
5805
|
hideLabel?: boolean | undefined;
|
5806
|
+
defaultValue?: {
|
5807
|
+
type: string;
|
5808
|
+
filename: string;
|
5809
|
+
originalFilename: string;
|
5810
|
+
} | undefined;
|
5371
5811
|
configuration?: {
|
5372
5812
|
maxFileSize?: number | undefined;
|
5373
5813
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
@@ -5382,13 +5822,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5382
5822
|
} | undefined;
|
5383
5823
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5384
5824
|
id: z.ZodString;
|
5385
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5386
5825
|
parent: z.ZodOptional<z.ZodObject<{
|
5387
|
-
|
5826
|
+
$$field: z.ZodString;
|
5388
5827
|
}, "strip", z.ZodTypeAny, {
|
5389
|
-
|
5828
|
+
$$field: string;
|
5390
5829
|
}, {
|
5391
|
-
|
5830
|
+
$$field: string;
|
5392
5831
|
}>>;
|
5393
5832
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5394
5833
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5420,6 +5859,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5420
5859
|
description: string;
|
5421
5860
|
defaultMessage: string;
|
5422
5861
|
}>;
|
5862
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5863
|
+
id: string;
|
5864
|
+
description: string;
|
5865
|
+
defaultMessage: string;
|
5866
|
+
}>>;
|
5423
5867
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5424
5868
|
}, {
|
5425
5869
|
type: z.ZodLiteral<"COUNTRY">;
|
@@ -5429,14 +5873,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5429
5873
|
id: string;
|
5430
5874
|
label: TranslationConfig;
|
5431
5875
|
parent?: {
|
5432
|
-
|
5876
|
+
$$field: string;
|
5433
5877
|
} | undefined;
|
5434
5878
|
validation?: {
|
5435
5879
|
message: TranslationConfig;
|
5436
5880
|
validator: import(".").JSONSchema;
|
5437
5881
|
}[] | undefined;
|
5438
5882
|
required?: boolean | undefined;
|
5439
|
-
defaultValue?: string | undefined;
|
5440
5883
|
conditionals?: ({
|
5441
5884
|
type: "SHOW";
|
5442
5885
|
conditional: import(".").JSONSchema;
|
@@ -5448,7 +5891,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5448
5891
|
conditional: import(".").JSONSchema;
|
5449
5892
|
})[] | undefined;
|
5450
5893
|
placeholder?: TranslationConfig | undefined;
|
5894
|
+
helperText?: TranslationConfig | undefined;
|
5451
5895
|
hideLabel?: boolean | undefined;
|
5896
|
+
defaultValue?: string | undefined;
|
5452
5897
|
}, {
|
5453
5898
|
type: "COUNTRY";
|
5454
5899
|
id: string;
|
@@ -5458,7 +5903,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5458
5903
|
defaultMessage: string;
|
5459
5904
|
};
|
5460
5905
|
parent?: {
|
5461
|
-
|
5906
|
+
$$field: string;
|
5462
5907
|
} | undefined;
|
5463
5908
|
validation?: {
|
5464
5909
|
message: {
|
@@ -5469,7 +5914,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5469
5914
|
validator: import(".").JSONSchema;
|
5470
5915
|
}[] | undefined;
|
5471
5916
|
required?: boolean | undefined;
|
5472
|
-
defaultValue?: string | undefined;
|
5473
5917
|
conditionals?: ({
|
5474
5918
|
type: "SHOW";
|
5475
5919
|
conditional: import(".").JSONSchema;
|
@@ -5485,16 +5929,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5485
5929
|
description: string;
|
5486
5930
|
defaultMessage: string;
|
5487
5931
|
} | undefined;
|
5932
|
+
helperText?: {
|
5933
|
+
id: string;
|
5934
|
+
description: string;
|
5935
|
+
defaultMessage: string;
|
5936
|
+
} | undefined;
|
5488
5937
|
hideLabel?: boolean | undefined;
|
5938
|
+
defaultValue?: string | undefined;
|
5489
5939
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5490
5940
|
id: z.ZodString;
|
5491
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5492
5941
|
parent: z.ZodOptional<z.ZodObject<{
|
5493
|
-
|
5942
|
+
$$field: z.ZodString;
|
5494
5943
|
}, "strip", z.ZodTypeAny, {
|
5495
|
-
|
5944
|
+
$$field: string;
|
5496
5945
|
}, {
|
5497
|
-
|
5946
|
+
$$field: string;
|
5498
5947
|
}>>;
|
5499
5948
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5500
5949
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5526,6 +5975,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5526
5975
|
description: string;
|
5527
5976
|
defaultMessage: string;
|
5528
5977
|
}>;
|
5978
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5979
|
+
id: string;
|
5980
|
+
description: string;
|
5981
|
+
defaultMessage: string;
|
5982
|
+
}>>;
|
5529
5983
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5530
5984
|
}, {
|
5531
5985
|
type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
|
@@ -5561,14 +6015,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5561
6015
|
} | undefined;
|
5562
6016
|
};
|
5563
6017
|
parent?: {
|
5564
|
-
|
6018
|
+
$$field: string;
|
5565
6019
|
} | undefined;
|
5566
6020
|
validation?: {
|
5567
6021
|
message: TranslationConfig;
|
5568
6022
|
validator: import(".").JSONSchema;
|
5569
6023
|
}[] | undefined;
|
5570
6024
|
required?: boolean | undefined;
|
5571
|
-
defaultValue?: string | undefined;
|
5572
6025
|
conditionals?: ({
|
5573
6026
|
type: "SHOW";
|
5574
6027
|
conditional: import(".").JSONSchema;
|
@@ -5580,7 +6033,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5580
6033
|
conditional: import(".").JSONSchema;
|
5581
6034
|
})[] | undefined;
|
5582
6035
|
placeholder?: TranslationConfig | undefined;
|
6036
|
+
helperText?: TranslationConfig | undefined;
|
5583
6037
|
hideLabel?: boolean | undefined;
|
6038
|
+
defaultValue?: string | undefined;
|
5584
6039
|
}, {
|
5585
6040
|
type: "ADMINISTRATIVE_AREA";
|
5586
6041
|
id: string;
|
@@ -5596,7 +6051,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5596
6051
|
} | undefined;
|
5597
6052
|
};
|
5598
6053
|
parent?: {
|
5599
|
-
|
6054
|
+
$$field: string;
|
5600
6055
|
} | undefined;
|
5601
6056
|
validation?: {
|
5602
6057
|
message: {
|
@@ -5607,7 +6062,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5607
6062
|
validator: import(".").JSONSchema;
|
5608
6063
|
}[] | undefined;
|
5609
6064
|
required?: boolean | undefined;
|
5610
|
-
defaultValue?: string | undefined;
|
5611
6065
|
conditionals?: ({
|
5612
6066
|
type: "SHOW";
|
5613
6067
|
conditional: import(".").JSONSchema;
|
@@ -5623,16 +6077,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5623
6077
|
description: string;
|
5624
6078
|
defaultMessage: string;
|
5625
6079
|
} | undefined;
|
6080
|
+
helperText?: {
|
6081
|
+
id: string;
|
6082
|
+
description: string;
|
6083
|
+
defaultMessage: string;
|
6084
|
+
} | undefined;
|
5626
6085
|
hideLabel?: boolean | undefined;
|
6086
|
+
defaultValue?: string | undefined;
|
5627
6087
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5628
6088
|
id: z.ZodString;
|
5629
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5630
6089
|
parent: z.ZodOptional<z.ZodObject<{
|
5631
|
-
|
6090
|
+
$$field: z.ZodString;
|
5632
6091
|
}, "strip", z.ZodTypeAny, {
|
5633
|
-
|
6092
|
+
$$field: string;
|
5634
6093
|
}, {
|
5635
|
-
|
6094
|
+
$$field: string;
|
5636
6095
|
}>>;
|
5637
6096
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5638
6097
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5664,6 +6123,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5664
6123
|
description: string;
|
5665
6124
|
defaultMessage: string;
|
5666
6125
|
}>;
|
6126
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6127
|
+
id: string;
|
6128
|
+
description: string;
|
6129
|
+
defaultMessage: string;
|
6130
|
+
}>>;
|
5667
6131
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5668
6132
|
}, {
|
5669
6133
|
type: z.ZodLiteral<"DIVIDER">;
|
@@ -5672,14 +6136,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5672
6136
|
id: string;
|
5673
6137
|
label: TranslationConfig;
|
5674
6138
|
parent?: {
|
5675
|
-
|
6139
|
+
$$field: string;
|
5676
6140
|
} | undefined;
|
5677
6141
|
validation?: {
|
5678
6142
|
message: TranslationConfig;
|
5679
6143
|
validator: import(".").JSONSchema;
|
5680
6144
|
}[] | undefined;
|
5681
6145
|
required?: boolean | undefined;
|
5682
|
-
defaultValue?: string | number | boolean | undefined;
|
5683
6146
|
conditionals?: ({
|
5684
6147
|
type: "SHOW";
|
5685
6148
|
conditional: import(".").JSONSchema;
|
@@ -5691,6 +6154,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5691
6154
|
conditional: import(".").JSONSchema;
|
5692
6155
|
})[] | undefined;
|
5693
6156
|
placeholder?: TranslationConfig | undefined;
|
6157
|
+
helperText?: TranslationConfig | undefined;
|
5694
6158
|
hideLabel?: boolean | undefined;
|
5695
6159
|
}, {
|
5696
6160
|
type: "DIVIDER";
|
@@ -5701,7 +6165,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5701
6165
|
defaultMessage: string;
|
5702
6166
|
};
|
5703
6167
|
parent?: {
|
5704
|
-
|
6168
|
+
$$field: string;
|
5705
6169
|
} | undefined;
|
5706
6170
|
validation?: {
|
5707
6171
|
message: {
|
@@ -5712,7 +6176,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5712
6176
|
validator: import(".").JSONSchema;
|
5713
6177
|
}[] | undefined;
|
5714
6178
|
required?: boolean | undefined;
|
5715
|
-
defaultValue?: string | number | boolean | undefined;
|
5716
6179
|
conditionals?: ({
|
5717
6180
|
type: "SHOW";
|
5718
6181
|
conditional: import(".").JSONSchema;
|
@@ -5728,16 +6191,20 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5728
6191
|
description: string;
|
5729
6192
|
defaultMessage: string;
|
5730
6193
|
} | undefined;
|
6194
|
+
helperText?: {
|
6195
|
+
id: string;
|
6196
|
+
description: string;
|
6197
|
+
defaultMessage: string;
|
6198
|
+
} | undefined;
|
5731
6199
|
hideLabel?: boolean | undefined;
|
5732
6200
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5733
6201
|
id: z.ZodString;
|
5734
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5735
6202
|
parent: z.ZodOptional<z.ZodObject<{
|
5736
|
-
|
6203
|
+
$$field: z.ZodString;
|
5737
6204
|
}, "strip", z.ZodTypeAny, {
|
5738
|
-
|
6205
|
+
$$field: string;
|
5739
6206
|
}, {
|
5740
|
-
|
6207
|
+
$$field: string;
|
5741
6208
|
}>>;
|
5742
6209
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5743
6210
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5769,6 +6236,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5769
6236
|
description: string;
|
5770
6237
|
defaultMessage: string;
|
5771
6238
|
}>;
|
6239
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6240
|
+
id: string;
|
6241
|
+
description: string;
|
6242
|
+
defaultMessage: string;
|
6243
|
+
}>>;
|
5772
6244
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5773
6245
|
}, {
|
5774
6246
|
type: z.ZodLiteral<"LOCATION">;
|
@@ -5778,14 +6250,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5778
6250
|
id: string;
|
5779
6251
|
label: TranslationConfig;
|
5780
6252
|
parent?: {
|
5781
|
-
|
6253
|
+
$$field: string;
|
5782
6254
|
} | undefined;
|
5783
6255
|
validation?: {
|
5784
6256
|
message: TranslationConfig;
|
5785
6257
|
validator: import(".").JSONSchema;
|
5786
6258
|
}[] | undefined;
|
5787
6259
|
required?: boolean | undefined;
|
5788
|
-
defaultValue?: string | undefined;
|
5789
6260
|
conditionals?: ({
|
5790
6261
|
type: "SHOW";
|
5791
6262
|
conditional: import(".").JSONSchema;
|
@@ -5797,7 +6268,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5797
6268
|
conditional: import(".").JSONSchema;
|
5798
6269
|
})[] | undefined;
|
5799
6270
|
placeholder?: TranslationConfig | undefined;
|
6271
|
+
helperText?: TranslationConfig | undefined;
|
5800
6272
|
hideLabel?: boolean | undefined;
|
6273
|
+
defaultValue?: string | undefined;
|
5801
6274
|
}, {
|
5802
6275
|
type: "LOCATION";
|
5803
6276
|
id: string;
|
@@ -5807,7 +6280,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5807
6280
|
defaultMessage: string;
|
5808
6281
|
};
|
5809
6282
|
parent?: {
|
5810
|
-
|
6283
|
+
$$field: string;
|
5811
6284
|
} | undefined;
|
5812
6285
|
validation?: {
|
5813
6286
|
message: {
|
@@ -5818,7 +6291,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5818
6291
|
validator: import(".").JSONSchema;
|
5819
6292
|
}[] | undefined;
|
5820
6293
|
required?: boolean | undefined;
|
5821
|
-
defaultValue?: string | undefined;
|
5822
6294
|
conditionals?: ({
|
5823
6295
|
type: "SHOW";
|
5824
6296
|
conditional: import(".").JSONSchema;
|
@@ -5834,16 +6306,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5834
6306
|
description: string;
|
5835
6307
|
defaultMessage: string;
|
5836
6308
|
} | undefined;
|
6309
|
+
helperText?: {
|
6310
|
+
id: string;
|
6311
|
+
description: string;
|
6312
|
+
defaultMessage: string;
|
6313
|
+
} | undefined;
|
5837
6314
|
hideLabel?: boolean | undefined;
|
6315
|
+
defaultValue?: string | undefined;
|
5838
6316
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5839
6317
|
id: z.ZodString;
|
5840
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5841
6318
|
parent: z.ZodOptional<z.ZodObject<{
|
5842
|
-
|
6319
|
+
$$field: z.ZodString;
|
5843
6320
|
}, "strip", z.ZodTypeAny, {
|
5844
|
-
|
6321
|
+
$$field: string;
|
5845
6322
|
}, {
|
5846
|
-
|
6323
|
+
$$field: string;
|
5847
6324
|
}>>;
|
5848
6325
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5849
6326
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5875,6 +6352,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5875
6352
|
description: string;
|
5876
6353
|
defaultMessage: string;
|
5877
6354
|
}>;
|
6355
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6356
|
+
id: string;
|
6357
|
+
description: string;
|
6358
|
+
defaultMessage: string;
|
6359
|
+
}>>;
|
5878
6360
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5879
6361
|
}, {
|
5880
6362
|
type: z.ZodLiteral<"FACILITY">;
|
@@ -5884,14 +6366,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5884
6366
|
id: string;
|
5885
6367
|
label: TranslationConfig;
|
5886
6368
|
parent?: {
|
5887
|
-
|
6369
|
+
$$field: string;
|
5888
6370
|
} | undefined;
|
5889
6371
|
validation?: {
|
5890
6372
|
message: TranslationConfig;
|
5891
6373
|
validator: import(".").JSONSchema;
|
5892
6374
|
}[] | undefined;
|
5893
6375
|
required?: boolean | undefined;
|
5894
|
-
defaultValue?: string | undefined;
|
5895
6376
|
conditionals?: ({
|
5896
6377
|
type: "SHOW";
|
5897
6378
|
conditional: import(".").JSONSchema;
|
@@ -5903,7 +6384,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5903
6384
|
conditional: import(".").JSONSchema;
|
5904
6385
|
})[] | undefined;
|
5905
6386
|
placeholder?: TranslationConfig | undefined;
|
6387
|
+
helperText?: TranslationConfig | undefined;
|
5906
6388
|
hideLabel?: boolean | undefined;
|
6389
|
+
defaultValue?: string | undefined;
|
5907
6390
|
}, {
|
5908
6391
|
type: "FACILITY";
|
5909
6392
|
id: string;
|
@@ -5913,7 +6396,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5913
6396
|
defaultMessage: string;
|
5914
6397
|
};
|
5915
6398
|
parent?: {
|
5916
|
-
|
6399
|
+
$$field: string;
|
5917
6400
|
} | undefined;
|
5918
6401
|
validation?: {
|
5919
6402
|
message: {
|
@@ -5924,7 +6407,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5924
6407
|
validator: import(".").JSONSchema;
|
5925
6408
|
}[] | undefined;
|
5926
6409
|
required?: boolean | undefined;
|
5927
|
-
defaultValue?: string | undefined;
|
5928
6410
|
conditionals?: ({
|
5929
6411
|
type: "SHOW";
|
5930
6412
|
conditional: import(".").JSONSchema;
|
@@ -5940,16 +6422,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5940
6422
|
description: string;
|
5941
6423
|
defaultMessage: string;
|
5942
6424
|
} | undefined;
|
6425
|
+
helperText?: {
|
6426
|
+
id: string;
|
6427
|
+
description: string;
|
6428
|
+
defaultMessage: string;
|
6429
|
+
} | undefined;
|
5943
6430
|
hideLabel?: boolean | undefined;
|
6431
|
+
defaultValue?: string | undefined;
|
5944
6432
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5945
6433
|
id: z.ZodString;
|
5946
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5947
6434
|
parent: z.ZodOptional<z.ZodObject<{
|
5948
|
-
|
6435
|
+
$$field: z.ZodString;
|
5949
6436
|
}, "strip", z.ZodTypeAny, {
|
5950
|
-
|
6437
|
+
$$field: string;
|
5951
6438
|
}, {
|
5952
|
-
|
6439
|
+
$$field: string;
|
5953
6440
|
}>>;
|
5954
6441
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5955
6442
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5981,6 +6468,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5981
6468
|
description: string;
|
5982
6469
|
defaultMessage: string;
|
5983
6470
|
}>;
|
6471
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6472
|
+
id: string;
|
6473
|
+
description: string;
|
6474
|
+
defaultMessage: string;
|
6475
|
+
}>>;
|
5984
6476
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5985
6477
|
}, {
|
5986
6478
|
type: z.ZodLiteral<"OFFICE">;
|
@@ -5990,14 +6482,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5990
6482
|
id: string;
|
5991
6483
|
label: TranslationConfig;
|
5992
6484
|
parent?: {
|
5993
|
-
|
6485
|
+
$$field: string;
|
5994
6486
|
} | undefined;
|
5995
6487
|
validation?: {
|
5996
6488
|
message: TranslationConfig;
|
5997
6489
|
validator: import(".").JSONSchema;
|
5998
6490
|
}[] | undefined;
|
5999
6491
|
required?: boolean | undefined;
|
6000
|
-
defaultValue?: string | undefined;
|
6001
6492
|
conditionals?: ({
|
6002
6493
|
type: "SHOW";
|
6003
6494
|
conditional: import(".").JSONSchema;
|
@@ -6009,7 +6500,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6009
6500
|
conditional: import(".").JSONSchema;
|
6010
6501
|
})[] | undefined;
|
6011
6502
|
placeholder?: TranslationConfig | undefined;
|
6503
|
+
helperText?: TranslationConfig | undefined;
|
6012
6504
|
hideLabel?: boolean | undefined;
|
6505
|
+
defaultValue?: string | undefined;
|
6013
6506
|
}, {
|
6014
6507
|
type: "OFFICE";
|
6015
6508
|
id: string;
|
@@ -6019,7 +6512,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6019
6512
|
defaultMessage: string;
|
6020
6513
|
};
|
6021
6514
|
parent?: {
|
6022
|
-
|
6515
|
+
$$field: string;
|
6023
6516
|
} | undefined;
|
6024
6517
|
validation?: {
|
6025
6518
|
message: {
|
@@ -6030,7 +6523,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6030
6523
|
validator: import(".").JSONSchema;
|
6031
6524
|
}[] | undefined;
|
6032
6525
|
required?: boolean | undefined;
|
6033
|
-
defaultValue?: string | undefined;
|
6034
6526
|
conditionals?: ({
|
6035
6527
|
type: "SHOW";
|
6036
6528
|
conditional: import(".").JSONSchema;
|
@@ -6046,16 +6538,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6046
6538
|
description: string;
|
6047
6539
|
defaultMessage: string;
|
6048
6540
|
} | undefined;
|
6541
|
+
helperText?: {
|
6542
|
+
id: string;
|
6543
|
+
description: string;
|
6544
|
+
defaultMessage: string;
|
6545
|
+
} | undefined;
|
6049
6546
|
hideLabel?: boolean | undefined;
|
6547
|
+
defaultValue?: string | undefined;
|
6050
6548
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6051
6549
|
id: z.ZodString;
|
6052
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6053
6550
|
parent: z.ZodOptional<z.ZodObject<{
|
6054
|
-
|
6551
|
+
$$field: z.ZodString;
|
6055
6552
|
}, "strip", z.ZodTypeAny, {
|
6056
|
-
|
6553
|
+
$$field: string;
|
6057
6554
|
}, {
|
6058
|
-
|
6555
|
+
$$field: string;
|
6059
6556
|
}>>;
|
6060
6557
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6061
6558
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6087,6 +6584,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6087
6584
|
description: string;
|
6088
6585
|
defaultMessage: string;
|
6089
6586
|
}>;
|
6587
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6588
|
+
id: string;
|
6589
|
+
description: string;
|
6590
|
+
defaultMessage: string;
|
6591
|
+
}>>;
|
6090
6592
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6091
6593
|
}, {
|
6092
6594
|
type: z.ZodLiteral<"SIGNATURE">;
|
@@ -6095,6 +6597,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6095
6597
|
description: string;
|
6096
6598
|
defaultMessage: string;
|
6097
6599
|
}>;
|
6600
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
6098
6601
|
configuration: z.ZodDefault<z.ZodObject<{
|
6099
6602
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
6100
6603
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -6115,14 +6618,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6115
6618
|
};
|
6116
6619
|
signaturePromptLabel: TranslationConfig;
|
6117
6620
|
parent?: {
|
6118
|
-
|
6621
|
+
$$field: string;
|
6119
6622
|
} | undefined;
|
6120
6623
|
validation?: {
|
6121
6624
|
message: TranslationConfig;
|
6122
6625
|
validator: import(".").JSONSchema;
|
6123
6626
|
}[] | undefined;
|
6124
6627
|
required?: boolean | undefined;
|
6125
|
-
defaultValue?: string | number | boolean | undefined;
|
6126
6628
|
conditionals?: ({
|
6127
6629
|
type: "SHOW";
|
6128
6630
|
conditional: import(".").JSONSchema;
|
@@ -6134,7 +6636,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6134
6636
|
conditional: import(".").JSONSchema;
|
6135
6637
|
})[] | undefined;
|
6136
6638
|
placeholder?: TranslationConfig | undefined;
|
6639
|
+
helperText?: TranslationConfig | undefined;
|
6137
6640
|
hideLabel?: boolean | undefined;
|
6641
|
+
defaultValue?: string | undefined;
|
6138
6642
|
}, {
|
6139
6643
|
type: "SIGNATURE";
|
6140
6644
|
id: string;
|
@@ -6149,7 +6653,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6149
6653
|
defaultMessage: string;
|
6150
6654
|
};
|
6151
6655
|
parent?: {
|
6152
|
-
|
6656
|
+
$$field: string;
|
6153
6657
|
} | undefined;
|
6154
6658
|
validation?: {
|
6155
6659
|
message: {
|
@@ -6160,7 +6664,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6160
6664
|
validator: import(".").JSONSchema;
|
6161
6665
|
}[] | undefined;
|
6162
6666
|
required?: boolean | undefined;
|
6163
|
-
defaultValue?: string | number | boolean | undefined;
|
6164
6667
|
conditionals?: ({
|
6165
6668
|
type: "SHOW";
|
6166
6669
|
conditional: import(".").JSONSchema;
|
@@ -6176,20 +6679,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6176
6679
|
description: string;
|
6177
6680
|
defaultMessage: string;
|
6178
6681
|
} | undefined;
|
6682
|
+
helperText?: {
|
6683
|
+
id: string;
|
6684
|
+
description: string;
|
6685
|
+
defaultMessage: string;
|
6686
|
+
} | undefined;
|
6179
6687
|
hideLabel?: boolean | undefined;
|
6688
|
+
defaultValue?: string | undefined;
|
6180
6689
|
configuration?: {
|
6181
6690
|
maxFileSize?: number | undefined;
|
6182
6691
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
6183
6692
|
} | undefined;
|
6184
6693
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6185
6694
|
id: z.ZodString;
|
6186
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6187
6695
|
parent: z.ZodOptional<z.ZodObject<{
|
6188
|
-
|
6696
|
+
$$field: z.ZodString;
|
6189
6697
|
}, "strip", z.ZodTypeAny, {
|
6190
|
-
|
6698
|
+
$$field: string;
|
6191
6699
|
}, {
|
6192
|
-
|
6700
|
+
$$field: string;
|
6193
6701
|
}>>;
|
6194
6702
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6195
6703
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6221,6 +6729,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6221
6729
|
description: string;
|
6222
6730
|
defaultMessage: string;
|
6223
6731
|
}>;
|
6732
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6733
|
+
id: string;
|
6734
|
+
description: string;
|
6735
|
+
defaultMessage: string;
|
6736
|
+
}>>;
|
6224
6737
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6225
6738
|
}, {
|
6226
6739
|
type: z.ZodLiteral<"EMAIL">;
|
@@ -6237,14 +6750,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6237
6750
|
id: string;
|
6238
6751
|
label: TranslationConfig;
|
6239
6752
|
parent?: {
|
6240
|
-
|
6753
|
+
$$field: string;
|
6241
6754
|
} | undefined;
|
6242
6755
|
validation?: {
|
6243
6756
|
message: TranslationConfig;
|
6244
6757
|
validator: import(".").JSONSchema;
|
6245
6758
|
}[] | undefined;
|
6246
6759
|
required?: boolean | undefined;
|
6247
|
-
defaultValue?: string | undefined;
|
6248
6760
|
conditionals?: ({
|
6249
6761
|
type: "SHOW";
|
6250
6762
|
conditional: import(".").JSONSchema;
|
@@ -6256,7 +6768,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6256
6768
|
conditional: import(".").JSONSchema;
|
6257
6769
|
})[] | undefined;
|
6258
6770
|
placeholder?: TranslationConfig | undefined;
|
6771
|
+
helperText?: TranslationConfig | undefined;
|
6259
6772
|
hideLabel?: boolean | undefined;
|
6773
|
+
defaultValue?: string | undefined;
|
6260
6774
|
configuration?: {
|
6261
6775
|
maxLength?: number | undefined;
|
6262
6776
|
} | undefined;
|
@@ -6269,7 +6783,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6269
6783
|
defaultMessage: string;
|
6270
6784
|
};
|
6271
6785
|
parent?: {
|
6272
|
-
|
6786
|
+
$$field: string;
|
6273
6787
|
} | undefined;
|
6274
6788
|
validation?: {
|
6275
6789
|
message: {
|
@@ -6280,7 +6794,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6280
6794
|
validator: import(".").JSONSchema;
|
6281
6795
|
}[] | undefined;
|
6282
6796
|
required?: boolean | undefined;
|
6283
|
-
defaultValue?: string | undefined;
|
6284
6797
|
conditionals?: ({
|
6285
6798
|
type: "SHOW";
|
6286
6799
|
conditional: import(".").JSONSchema;
|
@@ -6296,19 +6809,24 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6296
6809
|
description: string;
|
6297
6810
|
defaultMessage: string;
|
6298
6811
|
} | undefined;
|
6812
|
+
helperText?: {
|
6813
|
+
id: string;
|
6814
|
+
description: string;
|
6815
|
+
defaultMessage: string;
|
6816
|
+
} | undefined;
|
6299
6817
|
hideLabel?: boolean | undefined;
|
6818
|
+
defaultValue?: string | undefined;
|
6300
6819
|
configuration?: {
|
6301
6820
|
maxLength?: number | undefined;
|
6302
6821
|
} | undefined;
|
6303
6822
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6304
6823
|
id: z.ZodString;
|
6305
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6306
6824
|
parent: z.ZodOptional<z.ZodObject<{
|
6307
|
-
|
6825
|
+
$$field: z.ZodString;
|
6308
6826
|
}, "strip", z.ZodTypeAny, {
|
6309
|
-
|
6827
|
+
$$field: string;
|
6310
6828
|
}, {
|
6311
|
-
|
6829
|
+
$$field: string;
|
6312
6830
|
}>>;
|
6313
6831
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6314
6832
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6340,6 +6858,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6340
6858
|
description: string;
|
6341
6859
|
defaultMessage: string;
|
6342
6860
|
}>;
|
6861
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6862
|
+
id: string;
|
6863
|
+
description: string;
|
6864
|
+
defaultMessage: string;
|
6865
|
+
}>>;
|
6343
6866
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6344
6867
|
}, {
|
6345
6868
|
type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
|
@@ -6361,6 +6884,22 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6361
6884
|
defaultMessage: string;
|
6362
6885
|
};
|
6363
6886
|
}>, "many">;
|
6887
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
6888
|
+
filename: z.ZodString;
|
6889
|
+
originalFilename: z.ZodString;
|
6890
|
+
type: z.ZodString;
|
6891
|
+
option: z.ZodString;
|
6892
|
+
}, "strip", z.ZodTypeAny, {
|
6893
|
+
type: string;
|
6894
|
+
option: string;
|
6895
|
+
filename: string;
|
6896
|
+
originalFilename: string;
|
6897
|
+
}, {
|
6898
|
+
type: string;
|
6899
|
+
option: string;
|
6900
|
+
filename: string;
|
6901
|
+
originalFilename: string;
|
6902
|
+
}>, "many">>;
|
6364
6903
|
configuration: z.ZodDefault<z.ZodObject<{
|
6365
6904
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
6366
6905
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -6384,14 +6923,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6384
6923
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
6385
6924
|
};
|
6386
6925
|
parent?: {
|
6387
|
-
|
6926
|
+
$$field: string;
|
6388
6927
|
} | undefined;
|
6389
6928
|
validation?: {
|
6390
6929
|
message: TranslationConfig;
|
6391
6930
|
validator: import(".").JSONSchema;
|
6392
6931
|
}[] | undefined;
|
6393
6932
|
required?: boolean | undefined;
|
6394
|
-
defaultValue?: string | number | boolean | undefined;
|
6395
6933
|
conditionals?: ({
|
6396
6934
|
type: "SHOW";
|
6397
6935
|
conditional: import(".").JSONSchema;
|
@@ -6403,7 +6941,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6403
6941
|
conditional: import(".").JSONSchema;
|
6404
6942
|
})[] | undefined;
|
6405
6943
|
placeholder?: TranslationConfig | undefined;
|
6944
|
+
helperText?: TranslationConfig | undefined;
|
6406
6945
|
hideLabel?: boolean | undefined;
|
6946
|
+
defaultValue?: {
|
6947
|
+
type: string;
|
6948
|
+
option: string;
|
6949
|
+
filename: string;
|
6950
|
+
originalFilename: string;
|
6951
|
+
}[] | undefined;
|
6407
6952
|
}, {
|
6408
6953
|
type: "FILE_WITH_OPTIONS";
|
6409
6954
|
id: string;
|
@@ -6421,7 +6966,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6421
6966
|
defaultMessage: string;
|
6422
6967
|
};
|
6423
6968
|
parent?: {
|
6424
|
-
|
6969
|
+
$$field: string;
|
6425
6970
|
} | undefined;
|
6426
6971
|
validation?: {
|
6427
6972
|
message: {
|
@@ -6432,7 +6977,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6432
6977
|
validator: import(".").JSONSchema;
|
6433
6978
|
}[] | undefined;
|
6434
6979
|
required?: boolean | undefined;
|
6435
|
-
defaultValue?: string | number | boolean | undefined;
|
6436
6980
|
conditionals?: ({
|
6437
6981
|
type: "SHOW";
|
6438
6982
|
conditional: import(".").JSONSchema;
|
@@ -6448,20 +6992,30 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6448
6992
|
description: string;
|
6449
6993
|
defaultMessage: string;
|
6450
6994
|
} | undefined;
|
6995
|
+
helperText?: {
|
6996
|
+
id: string;
|
6997
|
+
description: string;
|
6998
|
+
defaultMessage: string;
|
6999
|
+
} | undefined;
|
6451
7000
|
hideLabel?: boolean | undefined;
|
7001
|
+
defaultValue?: {
|
7002
|
+
type: string;
|
7003
|
+
option: string;
|
7004
|
+
filename: string;
|
7005
|
+
originalFilename: string;
|
7006
|
+
}[] | undefined;
|
6452
7007
|
configuration?: {
|
6453
7008
|
maxFileSize?: number | undefined;
|
6454
7009
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
6455
7010
|
} | undefined;
|
6456
7011
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6457
7012
|
id: z.ZodString;
|
6458
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6459
7013
|
parent: z.ZodOptional<z.ZodObject<{
|
6460
|
-
|
7014
|
+
$$field: z.ZodString;
|
6461
7015
|
}, "strip", z.ZodTypeAny, {
|
6462
|
-
|
7016
|
+
$$field: string;
|
6463
7017
|
}, {
|
6464
|
-
|
7018
|
+
$$field: string;
|
6465
7019
|
}>>;
|
6466
7020
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6467
7021
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6493,6 +7047,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6493
7047
|
description: string;
|
6494
7048
|
defaultMessage: string;
|
6495
7049
|
}>;
|
7050
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7051
|
+
id: string;
|
7052
|
+
description: string;
|
7053
|
+
defaultMessage: string;
|
7054
|
+
}>>;
|
6496
7055
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6497
7056
|
}, {
|
6498
7057
|
type: z.ZodLiteral<"DATA">;
|
@@ -6577,14 +7136,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6577
7136
|
subtitle?: TranslationConfig | undefined;
|
6578
7137
|
};
|
6579
7138
|
parent?: {
|
6580
|
-
|
7139
|
+
$$field: string;
|
6581
7140
|
} | undefined;
|
6582
7141
|
validation?: {
|
6583
7142
|
message: TranslationConfig;
|
6584
7143
|
validator: import(".").JSONSchema;
|
6585
7144
|
}[] | undefined;
|
6586
7145
|
required?: boolean | undefined;
|
6587
|
-
defaultValue?: string | number | boolean | undefined;
|
6588
7146
|
conditionals?: ({
|
6589
7147
|
type: "SHOW";
|
6590
7148
|
conditional: import(".").JSONSchema;
|
@@ -6596,6 +7154,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6596
7154
|
conditional: import(".").JSONSchema;
|
6597
7155
|
})[] | undefined;
|
6598
7156
|
placeholder?: TranslationConfig | undefined;
|
7157
|
+
helperText?: TranslationConfig | undefined;
|
6599
7158
|
hideLabel?: boolean | undefined;
|
6600
7159
|
}, {
|
6601
7160
|
type: "DATA";
|
@@ -6627,7 +7186,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6627
7186
|
} | undefined;
|
6628
7187
|
};
|
6629
7188
|
parent?: {
|
6630
|
-
|
7189
|
+
$$field: string;
|
6631
7190
|
} | undefined;
|
6632
7191
|
validation?: {
|
6633
7192
|
message: {
|
@@ -6638,7 +7197,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6638
7197
|
validator: import(".").JSONSchema;
|
6639
7198
|
}[] | undefined;
|
6640
7199
|
required?: boolean | undefined;
|
6641
|
-
defaultValue?: string | number | boolean | undefined;
|
6642
7200
|
conditionals?: ({
|
6643
7201
|
type: "SHOW";
|
6644
7202
|
conditional: import(".").JSONSchema;
|
@@ -6654,6 +7212,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6654
7212
|
description: string;
|
6655
7213
|
defaultMessage: string;
|
6656
7214
|
} | undefined;
|
7215
|
+
helperText?: {
|
7216
|
+
id: string;
|
7217
|
+
description: string;
|
7218
|
+
defaultMessage: string;
|
7219
|
+
} | undefined;
|
6657
7220
|
hideLabel?: boolean | undefined;
|
6658
7221
|
}>]>;
|
6659
7222
|
export type SelectField = z.infer<typeof Select>;
|