@opencrvs/toolkit 1.8.0-rc.ff0b26c → 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 +2356 -1097
- package/dist/commons/conditionals/conditionals.d.ts +7 -6
- package/dist/commons/events/ActionConfig.d.ts +15774 -7797
- package/dist/commons/events/ActionDocument.d.ts +533 -346
- package/dist/commons/events/ActionInput.d.ts +197 -125
- 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 +13649 -9488
- package/dist/commons/events/EventDocument.d.ts +386 -267
- package/dist/commons/events/EventIndex.d.ts +209 -605
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +71 -48
- package/dist/commons/events/FieldConfig.d.ts +486 -440
- 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 +3346 -3052
- package/dist/commons/events/PageConfig.d.ts +750 -680
- 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 +3460 -485
- package/dist/commons/events/defineConfig.d.ts +1381 -575
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/field.d.ts +4 -13
- package/dist/commons/events/index.d.ts +4 -0
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +26 -5
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +333 -296
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +28 -8
- package/dist/events/index.js +1564 -584
- 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>>;
|
@@ -51,14 +57,13 @@ declare const BaseField: z.ZodObject<{
|
|
51
57
|
id: string;
|
52
58
|
label: TranslationConfig;
|
53
59
|
parent?: {
|
54
|
-
|
60
|
+
$$field: string;
|
55
61
|
} | undefined;
|
56
62
|
validation?: {
|
57
63
|
message: TranslationConfig;
|
58
64
|
validator: import(".").JSONSchema;
|
59
65
|
}[] | undefined;
|
60
66
|
required?: boolean | undefined;
|
61
|
-
defaultValue?: string | number | boolean | undefined;
|
62
67
|
conditionals?: ({
|
63
68
|
type: "SHOW";
|
64
69
|
conditional: import(".").JSONSchema;
|
@@ -80,7 +85,7 @@ declare const BaseField: z.ZodObject<{
|
|
80
85
|
defaultMessage: string;
|
81
86
|
};
|
82
87
|
parent?: {
|
83
|
-
|
88
|
+
$$field: string;
|
84
89
|
} | undefined;
|
85
90
|
validation?: {
|
86
91
|
message: {
|
@@ -91,7 +96,6 @@ declare const BaseField: z.ZodObject<{
|
|
91
96
|
validator: import(".").JSONSchema;
|
92
97
|
}[] | undefined;
|
93
98
|
required?: boolean | undefined;
|
94
|
-
defaultValue?: string | number | boolean | undefined;
|
95
99
|
conditionals?: ({
|
96
100
|
type: "SHOW";
|
97
101
|
conditional: import(".").JSONSchema;
|
@@ -117,13 +121,12 @@ declare const BaseField: z.ZodObject<{
|
|
117
121
|
export type BaseField = z.infer<typeof BaseField>;
|
118
122
|
declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
119
123
|
id: z.ZodString;
|
120
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
121
124
|
parent: z.ZodOptional<z.ZodObject<{
|
122
|
-
|
125
|
+
$$field: z.ZodString;
|
123
126
|
}, "strip", z.ZodTypeAny, {
|
124
|
-
|
127
|
+
$$field: string;
|
125
128
|
}, {
|
126
|
-
|
129
|
+
$$field: string;
|
127
130
|
}>>;
|
128
131
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
129
132
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -168,14 +171,13 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
168
171
|
id: string;
|
169
172
|
label: TranslationConfig;
|
170
173
|
parent?: {
|
171
|
-
|
174
|
+
$$field: string;
|
172
175
|
} | undefined;
|
173
176
|
validation?: {
|
174
177
|
message: TranslationConfig;
|
175
178
|
validator: import(".").JSONSchema;
|
176
179
|
}[] | undefined;
|
177
180
|
required?: boolean | undefined;
|
178
|
-
defaultValue?: string | number | boolean | undefined;
|
179
181
|
conditionals?: ({
|
180
182
|
type: "SHOW";
|
181
183
|
conditional: import(".").JSONSchema;
|
@@ -198,7 +200,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
198
200
|
defaultMessage: string;
|
199
201
|
};
|
200
202
|
parent?: {
|
201
|
-
|
203
|
+
$$field: string;
|
202
204
|
} | undefined;
|
203
205
|
validation?: {
|
204
206
|
message: {
|
@@ -209,7 +211,6 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
209
211
|
validator: import(".").JSONSchema;
|
210
212
|
}[] | undefined;
|
211
213
|
required?: boolean | undefined;
|
212
|
-
defaultValue?: string | number | boolean | undefined;
|
213
214
|
conditionals?: ({
|
214
215
|
type: "SHOW";
|
215
216
|
conditional: import(".").JSONSchema;
|
@@ -235,13 +236,12 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
235
236
|
export type Divider = z.infer<typeof Divider>;
|
236
237
|
declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
237
238
|
id: z.ZodString;
|
238
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
239
239
|
parent: z.ZodOptional<z.ZodObject<{
|
240
|
-
|
240
|
+
$$field: z.ZodString;
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
242
|
-
|
242
|
+
$$field: string;
|
243
243
|
}, {
|
244
|
-
|
244
|
+
$$field: string;
|
245
245
|
}>>;
|
246
246
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
247
247
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -319,14 +319,13 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
319
319
|
id: string;
|
320
320
|
label: TranslationConfig;
|
321
321
|
parent?: {
|
322
|
-
|
322
|
+
$$field: string;
|
323
323
|
} | undefined;
|
324
324
|
validation?: {
|
325
325
|
message: TranslationConfig;
|
326
326
|
validator: import(".").JSONSchema;
|
327
327
|
}[] | undefined;
|
328
328
|
required?: boolean | undefined;
|
329
|
-
defaultValue?: string | undefined;
|
330
329
|
conditionals?: ({
|
331
330
|
type: "SHOW";
|
332
331
|
conditional: import(".").JSONSchema;
|
@@ -340,6 +339,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
340
339
|
placeholder?: TranslationConfig | undefined;
|
341
340
|
helperText?: TranslationConfig | undefined;
|
342
341
|
hideLabel?: boolean | undefined;
|
342
|
+
defaultValue?: string | undefined;
|
343
343
|
configuration?: {
|
344
344
|
type?: "text" | "password" | undefined;
|
345
345
|
maxLength?: number | undefined;
|
@@ -355,7 +355,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
355
355
|
defaultMessage: string;
|
356
356
|
};
|
357
357
|
parent?: {
|
358
|
-
|
358
|
+
$$field: string;
|
359
359
|
} | undefined;
|
360
360
|
validation?: {
|
361
361
|
message: {
|
@@ -366,7 +366,6 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
366
366
|
validator: import(".").JSONSchema;
|
367
367
|
}[] | undefined;
|
368
368
|
required?: boolean | undefined;
|
369
|
-
defaultValue?: string | undefined;
|
370
369
|
conditionals?: ({
|
371
370
|
type: "SHOW";
|
372
371
|
conditional: import(".").JSONSchema;
|
@@ -388,6 +387,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
388
387
|
defaultMessage: string;
|
389
388
|
} | undefined;
|
390
389
|
hideLabel?: boolean | undefined;
|
390
|
+
defaultValue?: string | undefined;
|
391
391
|
configuration?: {
|
392
392
|
type?: "text" | "password" | undefined;
|
393
393
|
maxLength?: number | undefined;
|
@@ -406,13 +406,12 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
406
406
|
export type TextField = z.infer<typeof TextField>;
|
407
407
|
declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
408
408
|
id: z.ZodString;
|
409
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
410
409
|
parent: z.ZodOptional<z.ZodObject<{
|
411
|
-
|
410
|
+
$$field: z.ZodString;
|
412
411
|
}, "strip", z.ZodTypeAny, {
|
413
|
-
|
412
|
+
$$field: string;
|
414
413
|
}, {
|
415
|
-
|
414
|
+
$$field: string;
|
416
415
|
}>>;
|
417
416
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
418
417
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -490,14 +489,13 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
490
489
|
id: string;
|
491
490
|
label: TranslationConfig;
|
492
491
|
parent?: {
|
493
|
-
|
492
|
+
$$field: string;
|
494
493
|
} | undefined;
|
495
494
|
validation?: {
|
496
495
|
message: TranslationConfig;
|
497
496
|
validator: import(".").JSONSchema;
|
498
497
|
}[] | undefined;
|
499
498
|
required?: boolean | undefined;
|
500
|
-
defaultValue?: number | undefined;
|
501
499
|
conditionals?: ({
|
502
500
|
type: "SHOW";
|
503
501
|
conditional: import(".").JSONSchema;
|
@@ -511,6 +509,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
511
509
|
placeholder?: TranslationConfig | undefined;
|
512
510
|
helperText?: TranslationConfig | undefined;
|
513
511
|
hideLabel?: boolean | undefined;
|
512
|
+
defaultValue?: number | undefined;
|
514
513
|
configuration?: {
|
515
514
|
prefix?: TranslationConfig | undefined;
|
516
515
|
postfix?: TranslationConfig | undefined;
|
@@ -526,7 +525,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
526
525
|
defaultMessage: string;
|
527
526
|
};
|
528
527
|
parent?: {
|
529
|
-
|
528
|
+
$$field: string;
|
530
529
|
} | undefined;
|
531
530
|
validation?: {
|
532
531
|
message: {
|
@@ -537,7 +536,6 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
537
536
|
validator: import(".").JSONSchema;
|
538
537
|
}[] | undefined;
|
539
538
|
required?: boolean | undefined;
|
540
|
-
defaultValue?: number | undefined;
|
541
539
|
conditionals?: ({
|
542
540
|
type: "SHOW";
|
543
541
|
conditional: import(".").JSONSchema;
|
@@ -559,6 +557,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
559
557
|
defaultMessage: string;
|
560
558
|
} | undefined;
|
561
559
|
hideLabel?: boolean | undefined;
|
560
|
+
defaultValue?: number | undefined;
|
562
561
|
configuration?: {
|
563
562
|
prefix?: {
|
564
563
|
id: string;
|
@@ -576,13 +575,12 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
576
575
|
}>;
|
577
576
|
declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
578
577
|
id: z.ZodString;
|
579
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
580
578
|
parent: z.ZodOptional<z.ZodObject<{
|
581
|
-
|
579
|
+
$$field: z.ZodString;
|
582
580
|
}, "strip", z.ZodTypeAny, {
|
583
|
-
|
581
|
+
$$field: string;
|
584
582
|
}, {
|
585
|
-
|
583
|
+
$$field: string;
|
586
584
|
}>>;
|
587
585
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
588
586
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -663,14 +661,13 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
663
661
|
id: string;
|
664
662
|
label: TranslationConfig;
|
665
663
|
parent?: {
|
666
|
-
|
664
|
+
$$field: string;
|
667
665
|
} | undefined;
|
668
666
|
validation?: {
|
669
667
|
message: TranslationConfig;
|
670
668
|
validator: import(".").JSONSchema;
|
671
669
|
}[] | undefined;
|
672
670
|
required?: boolean | undefined;
|
673
|
-
defaultValue?: string | undefined;
|
674
671
|
conditionals?: ({
|
675
672
|
type: "SHOW";
|
676
673
|
conditional: import(".").JSONSchema;
|
@@ -684,6 +681,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
684
681
|
placeholder?: TranslationConfig | undefined;
|
685
682
|
helperText?: TranslationConfig | undefined;
|
686
683
|
hideLabel?: boolean | undefined;
|
684
|
+
defaultValue?: string | undefined;
|
687
685
|
configuration?: {
|
688
686
|
maxLength?: number | undefined;
|
689
687
|
prefix?: TranslationConfig | undefined;
|
@@ -700,7 +698,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
700
698
|
defaultMessage: string;
|
701
699
|
};
|
702
700
|
parent?: {
|
703
|
-
|
701
|
+
$$field: string;
|
704
702
|
} | undefined;
|
705
703
|
validation?: {
|
706
704
|
message: {
|
@@ -711,7 +709,6 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
711
709
|
validator: import(".").JSONSchema;
|
712
710
|
}[] | undefined;
|
713
711
|
required?: boolean | undefined;
|
714
|
-
defaultValue?: string | undefined;
|
715
712
|
conditionals?: ({
|
716
713
|
type: "SHOW";
|
717
714
|
conditional: import(".").JSONSchema;
|
@@ -733,6 +730,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
733
730
|
defaultMessage: string;
|
734
731
|
} | undefined;
|
735
732
|
hideLabel?: boolean | undefined;
|
733
|
+
defaultValue?: string | undefined;
|
736
734
|
configuration?: {
|
737
735
|
maxLength?: number | undefined;
|
738
736
|
prefix?: {
|
@@ -755,13 +753,12 @@ export declare const MimeType: z.ZodEnum<["image/png", "image/jpg", "image/jpeg"
|
|
755
753
|
export type MimeType = z.infer<typeof MimeType>;
|
756
754
|
declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
757
755
|
id: z.ZodString;
|
758
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
759
756
|
parent: z.ZodOptional<z.ZodObject<{
|
760
|
-
|
757
|
+
$$field: z.ZodString;
|
761
758
|
}, "strip", z.ZodTypeAny, {
|
762
|
-
|
759
|
+
$$field: string;
|
763
760
|
}, {
|
764
|
-
|
761
|
+
$$field: string;
|
765
762
|
}>>;
|
766
763
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
767
764
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -806,6 +803,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
806
803
|
description: string;
|
807
804
|
defaultMessage: string;
|
808
805
|
}>;
|
806
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
809
807
|
configuration: z.ZodDefault<z.ZodObject<{
|
810
808
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
811
809
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -826,14 +824,13 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
826
824
|
};
|
827
825
|
signaturePromptLabel: TranslationConfig;
|
828
826
|
parent?: {
|
829
|
-
|
827
|
+
$$field: string;
|
830
828
|
} | undefined;
|
831
829
|
validation?: {
|
832
830
|
message: TranslationConfig;
|
833
831
|
validator: import(".").JSONSchema;
|
834
832
|
}[] | undefined;
|
835
833
|
required?: boolean | undefined;
|
836
|
-
defaultValue?: string | number | boolean | undefined;
|
837
834
|
conditionals?: ({
|
838
835
|
type: "SHOW";
|
839
836
|
conditional: import(".").JSONSchema;
|
@@ -847,6 +844,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
847
844
|
placeholder?: TranslationConfig | undefined;
|
848
845
|
helperText?: TranslationConfig | undefined;
|
849
846
|
hideLabel?: boolean | undefined;
|
847
|
+
defaultValue?: string | undefined;
|
850
848
|
}, {
|
851
849
|
type: "SIGNATURE";
|
852
850
|
id: string;
|
@@ -861,7 +859,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
861
859
|
defaultMessage: string;
|
862
860
|
};
|
863
861
|
parent?: {
|
864
|
-
|
862
|
+
$$field: string;
|
865
863
|
} | undefined;
|
866
864
|
validation?: {
|
867
865
|
message: {
|
@@ -872,7 +870,6 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
872
870
|
validator: import(".").JSONSchema;
|
873
871
|
}[] | undefined;
|
874
872
|
required?: boolean | undefined;
|
875
|
-
defaultValue?: string | number | boolean | undefined;
|
876
873
|
conditionals?: ({
|
877
874
|
type: "SHOW";
|
878
875
|
conditional: import(".").JSONSchema;
|
@@ -894,6 +891,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
894
891
|
defaultMessage: string;
|
895
892
|
} | undefined;
|
896
893
|
hideLabel?: boolean | undefined;
|
894
|
+
defaultValue?: string | undefined;
|
897
895
|
configuration?: {
|
898
896
|
maxFileSize?: number | undefined;
|
899
897
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
@@ -902,13 +900,12 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
902
900
|
export type SignatureField = z.infer<typeof SignatureField>;
|
903
901
|
export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
904
902
|
id: z.ZodString;
|
905
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
906
903
|
parent: z.ZodOptional<z.ZodObject<{
|
907
|
-
|
904
|
+
$$field: z.ZodString;
|
908
905
|
}, "strip", z.ZodTypeAny, {
|
909
|
-
|
906
|
+
$$field: string;
|
910
907
|
}, {
|
911
|
-
|
908
|
+
$$field: string;
|
912
909
|
}>>;
|
913
910
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
914
911
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -961,14 +958,13 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
961
958
|
id: string;
|
962
959
|
label: TranslationConfig;
|
963
960
|
parent?: {
|
964
|
-
|
961
|
+
$$field: string;
|
965
962
|
} | undefined;
|
966
963
|
validation?: {
|
967
964
|
message: TranslationConfig;
|
968
965
|
validator: import(".").JSONSchema;
|
969
966
|
}[] | undefined;
|
970
967
|
required?: boolean | undefined;
|
971
|
-
defaultValue?: string | undefined;
|
972
968
|
conditionals?: ({
|
973
969
|
type: "SHOW";
|
974
970
|
conditional: import(".").JSONSchema;
|
@@ -982,6 +978,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
982
978
|
placeholder?: TranslationConfig | undefined;
|
983
979
|
helperText?: TranslationConfig | undefined;
|
984
980
|
hideLabel?: boolean | undefined;
|
981
|
+
defaultValue?: string | undefined;
|
985
982
|
configuration?: {
|
986
983
|
maxLength?: number | undefined;
|
987
984
|
} | undefined;
|
@@ -994,7 +991,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
994
991
|
defaultMessage: string;
|
995
992
|
};
|
996
993
|
parent?: {
|
997
|
-
|
994
|
+
$$field: string;
|
998
995
|
} | undefined;
|
999
996
|
validation?: {
|
1000
997
|
message: {
|
@@ -1005,7 +1002,6 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1005
1002
|
validator: import(".").JSONSchema;
|
1006
1003
|
}[] | undefined;
|
1007
1004
|
required?: boolean | undefined;
|
1008
|
-
defaultValue?: string | undefined;
|
1009
1005
|
conditionals?: ({
|
1010
1006
|
type: "SHOW";
|
1011
1007
|
conditional: import(".").JSONSchema;
|
@@ -1027,6 +1023,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1027
1023
|
defaultMessage: string;
|
1028
1024
|
} | undefined;
|
1029
1025
|
hideLabel?: boolean | undefined;
|
1026
|
+
defaultValue?: string | undefined;
|
1030
1027
|
configuration?: {
|
1031
1028
|
maxLength?: number | undefined;
|
1032
1029
|
} | undefined;
|
@@ -1034,13 +1031,12 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1034
1031
|
export type EmailField = z.infer<typeof EmailField>;
|
1035
1032
|
declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
1036
1033
|
id: z.ZodString;
|
1037
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1038
1034
|
parent: z.ZodOptional<z.ZodObject<{
|
1039
|
-
|
1035
|
+
$$field: z.ZodString;
|
1040
1036
|
}, "strip", z.ZodTypeAny, {
|
1041
|
-
|
1037
|
+
$$field: string;
|
1042
1038
|
}, {
|
1043
|
-
|
1039
|
+
$$field: string;
|
1044
1040
|
}>>;
|
1045
1041
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1046
1042
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1101,14 +1097,13 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1101
1097
|
id: string;
|
1102
1098
|
label: TranslationConfig;
|
1103
1099
|
parent?: {
|
1104
|
-
|
1100
|
+
$$field: string;
|
1105
1101
|
} | undefined;
|
1106
1102
|
validation?: {
|
1107
1103
|
message: TranslationConfig;
|
1108
1104
|
validator: import(".").JSONSchema;
|
1109
1105
|
}[] | undefined;
|
1110
1106
|
required?: boolean | undefined;
|
1111
|
-
defaultValue?: string | undefined;
|
1112
1107
|
conditionals?: ({
|
1113
1108
|
type: "SHOW";
|
1114
1109
|
conditional: import(".").JSONSchema;
|
@@ -1122,6 +1117,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1122
1117
|
placeholder?: TranslationConfig | undefined;
|
1123
1118
|
helperText?: TranslationConfig | undefined;
|
1124
1119
|
hideLabel?: boolean | undefined;
|
1120
|
+
defaultValue?: string | undefined;
|
1125
1121
|
configuration?: {
|
1126
1122
|
notice?: TranslationConfig | undefined;
|
1127
1123
|
} | undefined;
|
@@ -1134,7 +1130,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1134
1130
|
defaultMessage: string;
|
1135
1131
|
};
|
1136
1132
|
parent?: {
|
1137
|
-
|
1133
|
+
$$field: string;
|
1138
1134
|
} | undefined;
|
1139
1135
|
validation?: {
|
1140
1136
|
message: {
|
@@ -1145,7 +1141,6 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1145
1141
|
validator: import(".").JSONSchema;
|
1146
1142
|
}[] | undefined;
|
1147
1143
|
required?: boolean | undefined;
|
1148
|
-
defaultValue?: string | undefined;
|
1149
1144
|
conditionals?: ({
|
1150
1145
|
type: "SHOW";
|
1151
1146
|
conditional: import(".").JSONSchema;
|
@@ -1167,6 +1162,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1167
1162
|
defaultMessage: string;
|
1168
1163
|
} | undefined;
|
1169
1164
|
hideLabel?: boolean | undefined;
|
1165
|
+
defaultValue?: string | undefined;
|
1170
1166
|
configuration?: {
|
1171
1167
|
notice?: {
|
1172
1168
|
id: string;
|
@@ -1178,13 +1174,12 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1178
1174
|
export type DateField = z.infer<typeof DateField>;
|
1179
1175
|
declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
1180
1176
|
id: z.ZodString;
|
1181
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1182
1177
|
parent: z.ZodOptional<z.ZodObject<{
|
1183
|
-
|
1178
|
+
$$field: z.ZodString;
|
1184
1179
|
}, "strip", z.ZodTypeAny, {
|
1185
|
-
|
1180
|
+
$$field: string;
|
1186
1181
|
}, {
|
1187
|
-
|
1182
|
+
$$field: string;
|
1188
1183
|
}>>;
|
1189
1184
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1190
1185
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1245,14 +1240,13 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1245
1240
|
id: string;
|
1246
1241
|
label: TranslationConfig;
|
1247
1242
|
parent?: {
|
1248
|
-
|
1243
|
+
$$field: string;
|
1249
1244
|
} | undefined;
|
1250
1245
|
validation?: {
|
1251
1246
|
message: TranslationConfig;
|
1252
1247
|
validator: import(".").JSONSchema;
|
1253
1248
|
}[] | undefined;
|
1254
1249
|
required?: boolean | undefined;
|
1255
|
-
defaultValue?: string | [string, string] | undefined;
|
1256
1250
|
conditionals?: ({
|
1257
1251
|
type: "SHOW";
|
1258
1252
|
conditional: import(".").JSONSchema;
|
@@ -1266,6 +1260,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1266
1260
|
placeholder?: TranslationConfig | undefined;
|
1267
1261
|
helperText?: TranslationConfig | undefined;
|
1268
1262
|
hideLabel?: boolean | undefined;
|
1263
|
+
defaultValue?: string | [string, string] | undefined;
|
1269
1264
|
configuration?: {
|
1270
1265
|
notice?: TranslationConfig | undefined;
|
1271
1266
|
} | undefined;
|
@@ -1278,7 +1273,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1278
1273
|
defaultMessage: string;
|
1279
1274
|
};
|
1280
1275
|
parent?: {
|
1281
|
-
|
1276
|
+
$$field: string;
|
1282
1277
|
} | undefined;
|
1283
1278
|
validation?: {
|
1284
1279
|
message: {
|
@@ -1289,7 +1284,6 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1289
1284
|
validator: import(".").JSONSchema;
|
1290
1285
|
}[] | undefined;
|
1291
1286
|
required?: boolean | undefined;
|
1292
|
-
defaultValue?: string | [string, string] | undefined;
|
1293
1287
|
conditionals?: ({
|
1294
1288
|
type: "SHOW";
|
1295
1289
|
conditional: import(".").JSONSchema;
|
@@ -1311,6 +1305,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1311
1305
|
defaultMessage: string;
|
1312
1306
|
} | undefined;
|
1313
1307
|
hideLabel?: boolean | undefined;
|
1308
|
+
defaultValue?: string | [string, string] | undefined;
|
1314
1309
|
configuration?: {
|
1315
1310
|
notice?: {
|
1316
1311
|
id: string;
|
@@ -1324,13 +1319,12 @@ declare const HtmlFontVariant: z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h
|
|
1324
1319
|
export type HtmlFontVariant = z.infer<typeof HtmlFontVariant>;
|
1325
1320
|
declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
1326
1321
|
id: z.ZodString;
|
1327
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1328
1322
|
parent: z.ZodOptional<z.ZodObject<{
|
1329
|
-
|
1323
|
+
$$field: z.ZodString;
|
1330
1324
|
}, "strip", z.ZodTypeAny, {
|
1331
|
-
|
1325
|
+
$$field: string;
|
1332
1326
|
}, {
|
1333
|
-
|
1327
|
+
$$field: string;
|
1334
1328
|
}>>;
|
1335
1329
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1336
1330
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1398,14 +1392,13 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1398
1392
|
} | undefined;
|
1399
1393
|
};
|
1400
1394
|
parent?: {
|
1401
|
-
|
1395
|
+
$$field: string;
|
1402
1396
|
} | undefined;
|
1403
1397
|
validation?: {
|
1404
1398
|
message: TranslationConfig;
|
1405
1399
|
validator: import(".").JSONSchema;
|
1406
1400
|
}[] | undefined;
|
1407
1401
|
required?: boolean | undefined;
|
1408
|
-
defaultValue?: string | undefined;
|
1409
1402
|
conditionals?: ({
|
1410
1403
|
type: "SHOW";
|
1411
1404
|
conditional: import(".").JSONSchema;
|
@@ -1419,6 +1412,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1419
1412
|
placeholder?: TranslationConfig | undefined;
|
1420
1413
|
helperText?: TranslationConfig | undefined;
|
1421
1414
|
hideLabel?: boolean | undefined;
|
1415
|
+
defaultValue?: string | undefined;
|
1422
1416
|
}, {
|
1423
1417
|
type: "PARAGRAPH";
|
1424
1418
|
id: string;
|
@@ -1428,7 +1422,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1428
1422
|
defaultMessage: string;
|
1429
1423
|
};
|
1430
1424
|
parent?: {
|
1431
|
-
|
1425
|
+
$$field: string;
|
1432
1426
|
} | undefined;
|
1433
1427
|
validation?: {
|
1434
1428
|
message: {
|
@@ -1439,7 +1433,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1439
1433
|
validator: import(".").JSONSchema;
|
1440
1434
|
}[] | undefined;
|
1441
1435
|
required?: boolean | undefined;
|
1442
|
-
defaultValue?: string | undefined;
|
1443
1436
|
conditionals?: ({
|
1444
1437
|
type: "SHOW";
|
1445
1438
|
conditional: import(".").JSONSchema;
|
@@ -1461,6 +1454,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1461
1454
|
defaultMessage: string;
|
1462
1455
|
} | undefined;
|
1463
1456
|
hideLabel?: boolean | undefined;
|
1457
|
+
defaultValue?: string | undefined;
|
1464
1458
|
configuration?: {
|
1465
1459
|
styles?: {
|
1466
1460
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
@@ -1470,13 +1464,12 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1470
1464
|
export type Paragraph = z.infer<typeof Paragraph>;
|
1471
1465
|
declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
1472
1466
|
id: z.ZodString;
|
1473
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1474
1467
|
parent: z.ZodOptional<z.ZodObject<{
|
1475
|
-
|
1468
|
+
$$field: z.ZodString;
|
1476
1469
|
}, "strip", z.ZodTypeAny, {
|
1477
|
-
|
1470
|
+
$$field: string;
|
1478
1471
|
}, {
|
1479
|
-
|
1472
|
+
$$field: string;
|
1480
1473
|
}>>;
|
1481
1474
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1482
1475
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1522,14 +1515,13 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1522
1515
|
id: string;
|
1523
1516
|
label: TranslationConfig;
|
1524
1517
|
parent?: {
|
1525
|
-
|
1518
|
+
$$field: string;
|
1526
1519
|
} | undefined;
|
1527
1520
|
validation?: {
|
1528
1521
|
message: TranslationConfig;
|
1529
1522
|
validator: import(".").JSONSchema;
|
1530
1523
|
}[] | undefined;
|
1531
1524
|
required?: boolean | undefined;
|
1532
|
-
defaultValue?: string | undefined;
|
1533
1525
|
conditionals?: ({
|
1534
1526
|
type: "SHOW";
|
1535
1527
|
conditional: import(".").JSONSchema;
|
@@ -1543,6 +1535,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1543
1535
|
placeholder?: TranslationConfig | undefined;
|
1544
1536
|
helperText?: TranslationConfig | undefined;
|
1545
1537
|
hideLabel?: boolean | undefined;
|
1538
|
+
defaultValue?: string | undefined;
|
1546
1539
|
}, {
|
1547
1540
|
type: "PAGE_HEADER";
|
1548
1541
|
id: string;
|
@@ -1552,7 +1545,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1552
1545
|
defaultMessage: string;
|
1553
1546
|
};
|
1554
1547
|
parent?: {
|
1555
|
-
|
1548
|
+
$$field: string;
|
1556
1549
|
} | undefined;
|
1557
1550
|
validation?: {
|
1558
1551
|
message: {
|
@@ -1563,7 +1556,6 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1563
1556
|
validator: import(".").JSONSchema;
|
1564
1557
|
}[] | undefined;
|
1565
1558
|
required?: boolean | undefined;
|
1566
|
-
defaultValue?: string | undefined;
|
1567
1559
|
conditionals?: ({
|
1568
1560
|
type: "SHOW";
|
1569
1561
|
conditional: import(".").JSONSchema;
|
@@ -1585,17 +1577,17 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1585
1577
|
defaultMessage: string;
|
1586
1578
|
} | undefined;
|
1587
1579
|
hideLabel?: boolean | undefined;
|
1580
|
+
defaultValue?: string | undefined;
|
1588
1581
|
}>;
|
1589
1582
|
export type PageHeader = z.infer<typeof PageHeader>;
|
1590
1583
|
declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
1591
1584
|
id: z.ZodString;
|
1592
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1593
1585
|
parent: z.ZodOptional<z.ZodObject<{
|
1594
|
-
|
1586
|
+
$$field: z.ZodString;
|
1595
1587
|
}, "strip", z.ZodTypeAny, {
|
1596
|
-
|
1588
|
+
$$field: string;
|
1597
1589
|
}, {
|
1598
|
-
|
1590
|
+
$$field: string;
|
1599
1591
|
}>>;
|
1600
1592
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1601
1593
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1635,6 +1627,19 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1635
1627
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1636
1628
|
}, {
|
1637
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
|
+
}>>;
|
1638
1643
|
configuration: z.ZodDefault<z.ZodObject<{
|
1639
1644
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
1640
1645
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -1682,14 +1687,13 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1682
1687
|
fileName?: TranslationConfig | undefined;
|
1683
1688
|
};
|
1684
1689
|
parent?: {
|
1685
|
-
|
1690
|
+
$$field: string;
|
1686
1691
|
} | undefined;
|
1687
1692
|
validation?: {
|
1688
1693
|
message: TranslationConfig;
|
1689
1694
|
validator: import(".").JSONSchema;
|
1690
1695
|
}[] | undefined;
|
1691
1696
|
required?: boolean | undefined;
|
1692
|
-
defaultValue?: string | number | boolean | undefined;
|
1693
1697
|
conditionals?: ({
|
1694
1698
|
type: "SHOW";
|
1695
1699
|
conditional: import(".").JSONSchema;
|
@@ -1703,6 +1707,11 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1703
1707
|
placeholder?: TranslationConfig | undefined;
|
1704
1708
|
helperText?: TranslationConfig | undefined;
|
1705
1709
|
hideLabel?: boolean | undefined;
|
1710
|
+
defaultValue?: {
|
1711
|
+
type: string;
|
1712
|
+
filename: string;
|
1713
|
+
originalFilename: string;
|
1714
|
+
} | undefined;
|
1706
1715
|
}, {
|
1707
1716
|
type: "FILE";
|
1708
1717
|
id: string;
|
@@ -1712,7 +1721,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1712
1721
|
defaultMessage: string;
|
1713
1722
|
};
|
1714
1723
|
parent?: {
|
1715
|
-
|
1724
|
+
$$field: string;
|
1716
1725
|
} | undefined;
|
1717
1726
|
validation?: {
|
1718
1727
|
message: {
|
@@ -1723,7 +1732,6 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1723
1732
|
validator: import(".").JSONSchema;
|
1724
1733
|
}[] | undefined;
|
1725
1734
|
required?: boolean | undefined;
|
1726
|
-
defaultValue?: string | number | boolean | undefined;
|
1727
1735
|
conditionals?: ({
|
1728
1736
|
type: "SHOW";
|
1729
1737
|
conditional: import(".").JSONSchema;
|
@@ -1745,6 +1753,11 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1745
1753
|
defaultMessage: string;
|
1746
1754
|
} | undefined;
|
1747
1755
|
hideLabel?: boolean | undefined;
|
1756
|
+
defaultValue?: {
|
1757
|
+
type: string;
|
1758
|
+
filename: string;
|
1759
|
+
originalFilename: string;
|
1760
|
+
} | undefined;
|
1748
1761
|
configuration?: {
|
1749
1762
|
maxFileSize?: number | undefined;
|
1750
1763
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
@@ -1779,13 +1792,12 @@ export declare const SelectOption: z.ZodObject<{
|
|
1779
1792
|
}>;
|
1780
1793
|
declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
1781
1794
|
id: z.ZodString;
|
1782
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1783
1795
|
parent: z.ZodOptional<z.ZodObject<{
|
1784
|
-
|
1796
|
+
$$field: z.ZodString;
|
1785
1797
|
}, "strip", z.ZodTypeAny, {
|
1786
|
-
|
1798
|
+
$$field: string;
|
1787
1799
|
}, {
|
1788
|
-
|
1800
|
+
$$field: string;
|
1789
1801
|
}>>;
|
1790
1802
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1791
1803
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1870,14 +1882,13 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1870
1882
|
}[];
|
1871
1883
|
label: TranslationConfig;
|
1872
1884
|
parent?: {
|
1873
|
-
|
1885
|
+
$$field: string;
|
1874
1886
|
} | undefined;
|
1875
1887
|
validation?: {
|
1876
1888
|
message: TranslationConfig;
|
1877
1889
|
validator: import(".").JSONSchema;
|
1878
1890
|
}[] | undefined;
|
1879
1891
|
required?: boolean | undefined;
|
1880
|
-
defaultValue?: string | undefined;
|
1881
1892
|
conditionals?: ({
|
1882
1893
|
type: "SHOW";
|
1883
1894
|
conditional: import(".").JSONSchema;
|
@@ -1891,6 +1902,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1891
1902
|
placeholder?: TranslationConfig | undefined;
|
1892
1903
|
helperText?: TranslationConfig | undefined;
|
1893
1904
|
hideLabel?: boolean | undefined;
|
1905
|
+
defaultValue?: string | undefined;
|
1894
1906
|
configuration?: {
|
1895
1907
|
styles?: {
|
1896
1908
|
size?: "NORMAL" | "LARGE" | undefined;
|
@@ -1913,7 +1925,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1913
1925
|
defaultMessage: string;
|
1914
1926
|
};
|
1915
1927
|
parent?: {
|
1916
|
-
|
1928
|
+
$$field: string;
|
1917
1929
|
} | undefined;
|
1918
1930
|
validation?: {
|
1919
1931
|
message: {
|
@@ -1924,7 +1936,6 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1924
1936
|
validator: import(".").JSONSchema;
|
1925
1937
|
}[] | undefined;
|
1926
1938
|
required?: boolean | undefined;
|
1927
|
-
defaultValue?: string | undefined;
|
1928
1939
|
conditionals?: ({
|
1929
1940
|
type: "SHOW";
|
1930
1941
|
conditional: import(".").JSONSchema;
|
@@ -1946,6 +1957,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1946
1957
|
defaultMessage: string;
|
1947
1958
|
} | undefined;
|
1948
1959
|
hideLabel?: boolean | undefined;
|
1960
|
+
defaultValue?: string | undefined;
|
1949
1961
|
configuration?: {
|
1950
1962
|
styles?: {
|
1951
1963
|
size?: "NORMAL" | "LARGE" | undefined;
|
@@ -1955,13 +1967,12 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1955
1967
|
export type RadioGroup = z.infer<typeof RadioGroup>;
|
1956
1968
|
declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
1957
1969
|
id: z.ZodString;
|
1958
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
1959
1970
|
parent: z.ZodOptional<z.ZodObject<{
|
1960
|
-
|
1971
|
+
$$field: z.ZodString;
|
1961
1972
|
}, "strip", z.ZodTypeAny, {
|
1962
|
-
|
1973
|
+
$$field: string;
|
1963
1974
|
}, {
|
1964
|
-
|
1975
|
+
$$field: string;
|
1965
1976
|
}>>;
|
1966
1977
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1967
1978
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2035,14 +2046,13 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2035
2046
|
};
|
2036
2047
|
items: TranslationConfig[];
|
2037
2048
|
parent?: {
|
2038
|
-
|
2049
|
+
$$field: string;
|
2039
2050
|
} | undefined;
|
2040
2051
|
validation?: {
|
2041
2052
|
message: TranslationConfig;
|
2042
2053
|
validator: import(".").JSONSchema;
|
2043
2054
|
}[] | undefined;
|
2044
2055
|
required?: boolean | undefined;
|
2045
|
-
defaultValue?: string | undefined;
|
2046
2056
|
conditionals?: ({
|
2047
2057
|
type: "SHOW";
|
2048
2058
|
conditional: import(".").JSONSchema;
|
@@ -2056,6 +2066,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2056
2066
|
placeholder?: TranslationConfig | undefined;
|
2057
2067
|
helperText?: TranslationConfig | undefined;
|
2058
2068
|
hideLabel?: boolean | undefined;
|
2069
|
+
defaultValue?: string | undefined;
|
2059
2070
|
}, {
|
2060
2071
|
type: "BULLET_LIST";
|
2061
2072
|
id: string;
|
@@ -2070,7 +2081,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2070
2081
|
defaultMessage: string;
|
2071
2082
|
}[];
|
2072
2083
|
parent?: {
|
2073
|
-
|
2084
|
+
$$field: string;
|
2074
2085
|
} | undefined;
|
2075
2086
|
validation?: {
|
2076
2087
|
message: {
|
@@ -2081,7 +2092,6 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2081
2092
|
validator: import(".").JSONSchema;
|
2082
2093
|
}[] | undefined;
|
2083
2094
|
required?: boolean | undefined;
|
2084
|
-
defaultValue?: string | undefined;
|
2085
2095
|
conditionals?: ({
|
2086
2096
|
type: "SHOW";
|
2087
2097
|
conditional: import(".").JSONSchema;
|
@@ -2103,6 +2113,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2103
2113
|
defaultMessage: string;
|
2104
2114
|
} | undefined;
|
2105
2115
|
hideLabel?: boolean | undefined;
|
2116
|
+
defaultValue?: string | undefined;
|
2106
2117
|
configuration?: {
|
2107
2118
|
styles?: {
|
2108
2119
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
@@ -2112,13 +2123,12 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2112
2123
|
export type BulletList = z.infer<typeof BulletList>;
|
2113
2124
|
declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
2114
2125
|
id: z.ZodString;
|
2115
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2116
2126
|
parent: z.ZodOptional<z.ZodObject<{
|
2117
|
-
|
2127
|
+
$$field: z.ZodString;
|
2118
2128
|
}, "strip", z.ZodTypeAny, {
|
2119
|
-
|
2129
|
+
$$field: string;
|
2120
2130
|
}, {
|
2121
|
-
|
2131
|
+
$$field: string;
|
2122
2132
|
}>>;
|
2123
2133
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2124
2134
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2186,14 +2196,13 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2186
2196
|
}[];
|
2187
2197
|
label: TranslationConfig;
|
2188
2198
|
parent?: {
|
2189
|
-
|
2199
|
+
$$field: string;
|
2190
2200
|
} | undefined;
|
2191
2201
|
validation?: {
|
2192
2202
|
message: TranslationConfig;
|
2193
2203
|
validator: import(".").JSONSchema;
|
2194
2204
|
}[] | undefined;
|
2195
2205
|
required?: boolean | undefined;
|
2196
|
-
defaultValue?: string | undefined;
|
2197
2206
|
conditionals?: ({
|
2198
2207
|
type: "SHOW";
|
2199
2208
|
conditional: import(".").JSONSchema;
|
@@ -2207,6 +2216,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2207
2216
|
placeholder?: TranslationConfig | undefined;
|
2208
2217
|
helperText?: TranslationConfig | undefined;
|
2209
2218
|
hideLabel?: boolean | undefined;
|
2219
|
+
defaultValue?: string | undefined;
|
2210
2220
|
}, {
|
2211
2221
|
type: "SELECT";
|
2212
2222
|
id: string;
|
@@ -2224,7 +2234,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2224
2234
|
defaultMessage: string;
|
2225
2235
|
};
|
2226
2236
|
parent?: {
|
2227
|
-
|
2237
|
+
$$field: string;
|
2228
2238
|
} | undefined;
|
2229
2239
|
validation?: {
|
2230
2240
|
message: {
|
@@ -2235,7 +2245,6 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2235
2245
|
validator: import(".").JSONSchema;
|
2236
2246
|
}[] | undefined;
|
2237
2247
|
required?: boolean | undefined;
|
2238
|
-
defaultValue?: string | undefined;
|
2239
2248
|
conditionals?: ({
|
2240
2249
|
type: "SHOW";
|
2241
2250
|
conditional: import(".").JSONSchema;
|
@@ -2257,16 +2266,16 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2257
2266
|
defaultMessage: string;
|
2258
2267
|
} | undefined;
|
2259
2268
|
hideLabel?: boolean | undefined;
|
2269
|
+
defaultValue?: string | undefined;
|
2260
2270
|
}>;
|
2261
2271
|
declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
2262
2272
|
id: z.ZodString;
|
2263
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2264
2273
|
parent: z.ZodOptional<z.ZodObject<{
|
2265
|
-
|
2274
|
+
$$field: z.ZodString;
|
2266
2275
|
}, "strip", z.ZodTypeAny, {
|
2267
|
-
|
2276
|
+
$$field: string;
|
2268
2277
|
}, {
|
2269
|
-
|
2278
|
+
$$field: string;
|
2270
2279
|
}>>;
|
2271
2280
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2272
2281
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2312,14 +2321,13 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2312
2321
|
id: string;
|
2313
2322
|
label: TranslationConfig;
|
2314
2323
|
parent?: {
|
2315
|
-
|
2324
|
+
$$field: string;
|
2316
2325
|
} | undefined;
|
2317
2326
|
validation?: {
|
2318
2327
|
message: TranslationConfig;
|
2319
2328
|
validator: import(".").JSONSchema;
|
2320
2329
|
}[] | undefined;
|
2321
2330
|
required?: boolean | undefined;
|
2322
|
-
defaultValue?: boolean | undefined;
|
2323
2331
|
conditionals?: ({
|
2324
2332
|
type: "SHOW";
|
2325
2333
|
conditional: import(".").JSONSchema;
|
@@ -2333,6 +2341,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2333
2341
|
placeholder?: TranslationConfig | undefined;
|
2334
2342
|
helperText?: TranslationConfig | undefined;
|
2335
2343
|
hideLabel?: boolean | undefined;
|
2344
|
+
defaultValue?: boolean | undefined;
|
2336
2345
|
}, {
|
2337
2346
|
type: "CHECKBOX";
|
2338
2347
|
id: string;
|
@@ -2342,7 +2351,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2342
2351
|
defaultMessage: string;
|
2343
2352
|
};
|
2344
2353
|
parent?: {
|
2345
|
-
|
2354
|
+
$$field: string;
|
2346
2355
|
} | undefined;
|
2347
2356
|
validation?: {
|
2348
2357
|
message: {
|
@@ -2353,7 +2362,6 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2353
2362
|
validator: import(".").JSONSchema;
|
2354
2363
|
}[] | undefined;
|
2355
2364
|
required?: boolean | undefined;
|
2356
|
-
defaultValue?: boolean | undefined;
|
2357
2365
|
conditionals?: ({
|
2358
2366
|
type: "SHOW";
|
2359
2367
|
conditional: import(".").JSONSchema;
|
@@ -2375,17 +2383,17 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2375
2383
|
defaultMessage: string;
|
2376
2384
|
} | undefined;
|
2377
2385
|
hideLabel?: boolean | undefined;
|
2386
|
+
defaultValue?: boolean | undefined;
|
2378
2387
|
}>;
|
2379
2388
|
export type Checkbox = z.infer<typeof Checkbox>;
|
2380
2389
|
declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
2381
2390
|
id: z.ZodString;
|
2382
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2383
2391
|
parent: z.ZodOptional<z.ZodObject<{
|
2384
|
-
|
2392
|
+
$$field: z.ZodString;
|
2385
2393
|
}, "strip", z.ZodTypeAny, {
|
2386
|
-
|
2394
|
+
$$field: string;
|
2387
2395
|
}, {
|
2388
|
-
|
2396
|
+
$$field: string;
|
2389
2397
|
}>>;
|
2390
2398
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2391
2399
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2431,14 +2439,13 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2431
2439
|
id: string;
|
2432
2440
|
label: TranslationConfig;
|
2433
2441
|
parent?: {
|
2434
|
-
|
2442
|
+
$$field: string;
|
2435
2443
|
} | undefined;
|
2436
2444
|
validation?: {
|
2437
2445
|
message: TranslationConfig;
|
2438
2446
|
validator: import(".").JSONSchema;
|
2439
2447
|
}[] | undefined;
|
2440
2448
|
required?: boolean | undefined;
|
2441
|
-
defaultValue?: string | undefined;
|
2442
2449
|
conditionals?: ({
|
2443
2450
|
type: "SHOW";
|
2444
2451
|
conditional: import(".").JSONSchema;
|
@@ -2452,6 +2459,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2452
2459
|
placeholder?: TranslationConfig | undefined;
|
2453
2460
|
helperText?: TranslationConfig | undefined;
|
2454
2461
|
hideLabel?: boolean | undefined;
|
2462
|
+
defaultValue?: string | undefined;
|
2455
2463
|
}, {
|
2456
2464
|
type: "COUNTRY";
|
2457
2465
|
id: string;
|
@@ -2461,7 +2469,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2461
2469
|
defaultMessage: string;
|
2462
2470
|
};
|
2463
2471
|
parent?: {
|
2464
|
-
|
2472
|
+
$$field: string;
|
2465
2473
|
} | undefined;
|
2466
2474
|
validation?: {
|
2467
2475
|
message: {
|
@@ -2472,7 +2480,6 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2472
2480
|
validator: import(".").JSONSchema;
|
2473
2481
|
}[] | undefined;
|
2474
2482
|
required?: boolean | undefined;
|
2475
|
-
defaultValue?: string | undefined;
|
2476
2483
|
conditionals?: ({
|
2477
2484
|
type: "SHOW";
|
2478
2485
|
conditional: import(".").JSONSchema;
|
@@ -2494,6 +2501,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2494
2501
|
defaultMessage: string;
|
2495
2502
|
} | undefined;
|
2496
2503
|
hideLabel?: boolean | undefined;
|
2504
|
+
defaultValue?: string | undefined;
|
2497
2505
|
}>;
|
2498
2506
|
export type Country = z.infer<typeof Country>;
|
2499
2507
|
export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
@@ -2519,13 +2527,12 @@ declare const AdministrativeAreaConfiguration: z.ZodObject<{
|
|
2519
2527
|
}>;
|
2520
2528
|
declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
2521
2529
|
id: z.ZodString;
|
2522
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2523
2530
|
parent: z.ZodOptional<z.ZodObject<{
|
2524
|
-
|
2531
|
+
$$field: z.ZodString;
|
2525
2532
|
}, "strip", z.ZodTypeAny, {
|
2526
|
-
|
2533
|
+
$$field: string;
|
2527
2534
|
}, {
|
2528
|
-
|
2535
|
+
$$field: string;
|
2529
2536
|
}>>;
|
2530
2537
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2531
2538
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2597,14 +2604,13 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2597
2604
|
} | undefined;
|
2598
2605
|
};
|
2599
2606
|
parent?: {
|
2600
|
-
|
2607
|
+
$$field: string;
|
2601
2608
|
} | undefined;
|
2602
2609
|
validation?: {
|
2603
2610
|
message: TranslationConfig;
|
2604
2611
|
validator: import(".").JSONSchema;
|
2605
2612
|
}[] | undefined;
|
2606
2613
|
required?: boolean | undefined;
|
2607
|
-
defaultValue?: string | undefined;
|
2608
2614
|
conditionals?: ({
|
2609
2615
|
type: "SHOW";
|
2610
2616
|
conditional: import(".").JSONSchema;
|
@@ -2618,6 +2624,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2618
2624
|
placeholder?: TranslationConfig | undefined;
|
2619
2625
|
helperText?: TranslationConfig | undefined;
|
2620
2626
|
hideLabel?: boolean | undefined;
|
2627
|
+
defaultValue?: string | undefined;
|
2621
2628
|
}, {
|
2622
2629
|
type: "ADMINISTRATIVE_AREA";
|
2623
2630
|
id: string;
|
@@ -2633,7 +2640,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2633
2640
|
} | undefined;
|
2634
2641
|
};
|
2635
2642
|
parent?: {
|
2636
|
-
|
2643
|
+
$$field: string;
|
2637
2644
|
} | undefined;
|
2638
2645
|
validation?: {
|
2639
2646
|
message: {
|
@@ -2644,7 +2651,6 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2644
2651
|
validator: import(".").JSONSchema;
|
2645
2652
|
}[] | undefined;
|
2646
2653
|
required?: boolean | undefined;
|
2647
|
-
defaultValue?: string | undefined;
|
2648
2654
|
conditionals?: ({
|
2649
2655
|
type: "SHOW";
|
2650
2656
|
conditional: import(".").JSONSchema;
|
@@ -2666,17 +2672,17 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2666
2672
|
defaultMessage: string;
|
2667
2673
|
} | undefined;
|
2668
2674
|
hideLabel?: boolean | undefined;
|
2675
|
+
defaultValue?: string | undefined;
|
2669
2676
|
}>;
|
2670
2677
|
export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
|
2671
2678
|
declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
2672
2679
|
id: z.ZodString;
|
2673
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2674
2680
|
parent: z.ZodOptional<z.ZodObject<{
|
2675
|
-
|
2681
|
+
$$field: z.ZodString;
|
2676
2682
|
}, "strip", z.ZodTypeAny, {
|
2677
|
-
|
2683
|
+
$$field: string;
|
2678
2684
|
}, {
|
2679
|
-
|
2685
|
+
$$field: string;
|
2680
2686
|
}>>;
|
2681
2687
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2682
2688
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2722,14 +2728,13 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2722
2728
|
id: string;
|
2723
2729
|
label: TranslationConfig;
|
2724
2730
|
parent?: {
|
2725
|
-
|
2731
|
+
$$field: string;
|
2726
2732
|
} | undefined;
|
2727
2733
|
validation?: {
|
2728
2734
|
message: TranslationConfig;
|
2729
2735
|
validator: import(".").JSONSchema;
|
2730
2736
|
}[] | undefined;
|
2731
2737
|
required?: boolean | undefined;
|
2732
|
-
defaultValue?: string | undefined;
|
2733
2738
|
conditionals?: ({
|
2734
2739
|
type: "SHOW";
|
2735
2740
|
conditional: import(".").JSONSchema;
|
@@ -2743,6 +2748,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2743
2748
|
placeholder?: TranslationConfig | undefined;
|
2744
2749
|
helperText?: TranslationConfig | undefined;
|
2745
2750
|
hideLabel?: boolean | undefined;
|
2751
|
+
defaultValue?: string | undefined;
|
2746
2752
|
}, {
|
2747
2753
|
type: "LOCATION";
|
2748
2754
|
id: string;
|
@@ -2752,7 +2758,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2752
2758
|
defaultMessage: string;
|
2753
2759
|
};
|
2754
2760
|
parent?: {
|
2755
|
-
|
2761
|
+
$$field: string;
|
2756
2762
|
} | undefined;
|
2757
2763
|
validation?: {
|
2758
2764
|
message: {
|
@@ -2763,7 +2769,6 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2763
2769
|
validator: import(".").JSONSchema;
|
2764
2770
|
}[] | undefined;
|
2765
2771
|
required?: boolean | undefined;
|
2766
|
-
defaultValue?: string | undefined;
|
2767
2772
|
conditionals?: ({
|
2768
2773
|
type: "SHOW";
|
2769
2774
|
conditional: import(".").JSONSchema;
|
@@ -2785,17 +2790,17 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2785
2790
|
defaultMessage: string;
|
2786
2791
|
} | undefined;
|
2787
2792
|
hideLabel?: boolean | undefined;
|
2793
|
+
defaultValue?: string | undefined;
|
2788
2794
|
}>;
|
2789
2795
|
export type Location = z.infer<typeof Location>;
|
2790
2796
|
declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
2791
2797
|
id: z.ZodString;
|
2792
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2793
2798
|
parent: z.ZodOptional<z.ZodObject<{
|
2794
|
-
|
2799
|
+
$$field: z.ZodString;
|
2795
2800
|
}, "strip", z.ZodTypeAny, {
|
2796
|
-
|
2801
|
+
$$field: string;
|
2797
2802
|
}, {
|
2798
|
-
|
2803
|
+
$$field: string;
|
2799
2804
|
}>>;
|
2800
2805
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2801
2806
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2853,6 +2858,22 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2853
2858
|
defaultMessage: string;
|
2854
2859
|
};
|
2855
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">>;
|
2856
2877
|
configuration: z.ZodDefault<z.ZodObject<{
|
2857
2878
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
2858
2879
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -2876,14 +2897,13 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2876
2897
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
2877
2898
|
};
|
2878
2899
|
parent?: {
|
2879
|
-
|
2900
|
+
$$field: string;
|
2880
2901
|
} | undefined;
|
2881
2902
|
validation?: {
|
2882
2903
|
message: TranslationConfig;
|
2883
2904
|
validator: import(".").JSONSchema;
|
2884
2905
|
}[] | undefined;
|
2885
2906
|
required?: boolean | undefined;
|
2886
|
-
defaultValue?: string | number | boolean | undefined;
|
2887
2907
|
conditionals?: ({
|
2888
2908
|
type: "SHOW";
|
2889
2909
|
conditional: import(".").JSONSchema;
|
@@ -2897,6 +2917,12 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2897
2917
|
placeholder?: TranslationConfig | undefined;
|
2898
2918
|
helperText?: TranslationConfig | undefined;
|
2899
2919
|
hideLabel?: boolean | undefined;
|
2920
|
+
defaultValue?: {
|
2921
|
+
type: string;
|
2922
|
+
option: string;
|
2923
|
+
filename: string;
|
2924
|
+
originalFilename: string;
|
2925
|
+
}[] | undefined;
|
2900
2926
|
}, {
|
2901
2927
|
type: "FILE_WITH_OPTIONS";
|
2902
2928
|
id: string;
|
@@ -2914,7 +2940,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2914
2940
|
defaultMessage: string;
|
2915
2941
|
};
|
2916
2942
|
parent?: {
|
2917
|
-
|
2943
|
+
$$field: string;
|
2918
2944
|
} | undefined;
|
2919
2945
|
validation?: {
|
2920
2946
|
message: {
|
@@ -2925,7 +2951,6 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2925
2951
|
validator: import(".").JSONSchema;
|
2926
2952
|
}[] | undefined;
|
2927
2953
|
required?: boolean | undefined;
|
2928
|
-
defaultValue?: string | number | boolean | undefined;
|
2929
2954
|
conditionals?: ({
|
2930
2955
|
type: "SHOW";
|
2931
2956
|
conditional: import(".").JSONSchema;
|
@@ -2947,6 +2972,12 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2947
2972
|
defaultMessage: string;
|
2948
2973
|
} | undefined;
|
2949
2974
|
hideLabel?: boolean | undefined;
|
2975
|
+
defaultValue?: {
|
2976
|
+
type: string;
|
2977
|
+
option: string;
|
2978
|
+
filename: string;
|
2979
|
+
originalFilename: string;
|
2980
|
+
}[] | undefined;
|
2950
2981
|
configuration?: {
|
2951
2982
|
maxFileSize?: number | undefined;
|
2952
2983
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
@@ -2955,13 +2986,12 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2955
2986
|
export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
|
2956
2987
|
declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
2957
2988
|
id: z.ZodString;
|
2958
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
2959
2989
|
parent: z.ZodOptional<z.ZodObject<{
|
2960
|
-
|
2990
|
+
$$field: z.ZodString;
|
2961
2991
|
}, "strip", z.ZodTypeAny, {
|
2962
|
-
|
2992
|
+
$$field: string;
|
2963
2993
|
}, {
|
2964
|
-
|
2994
|
+
$$field: string;
|
2965
2995
|
}>>;
|
2966
2996
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2967
2997
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3007,14 +3037,13 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3007
3037
|
id: string;
|
3008
3038
|
label: TranslationConfig;
|
3009
3039
|
parent?: {
|
3010
|
-
|
3040
|
+
$$field: string;
|
3011
3041
|
} | undefined;
|
3012
3042
|
validation?: {
|
3013
3043
|
message: TranslationConfig;
|
3014
3044
|
validator: import(".").JSONSchema;
|
3015
3045
|
}[] | undefined;
|
3016
3046
|
required?: boolean | undefined;
|
3017
|
-
defaultValue?: string | undefined;
|
3018
3047
|
conditionals?: ({
|
3019
3048
|
type: "SHOW";
|
3020
3049
|
conditional: import(".").JSONSchema;
|
@@ -3028,6 +3057,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3028
3057
|
placeholder?: TranslationConfig | undefined;
|
3029
3058
|
helperText?: TranslationConfig | undefined;
|
3030
3059
|
hideLabel?: boolean | undefined;
|
3060
|
+
defaultValue?: string | undefined;
|
3031
3061
|
}, {
|
3032
3062
|
type: "FACILITY";
|
3033
3063
|
id: string;
|
@@ -3037,7 +3067,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3037
3067
|
defaultMessage: string;
|
3038
3068
|
};
|
3039
3069
|
parent?: {
|
3040
|
-
|
3070
|
+
$$field: string;
|
3041
3071
|
} | undefined;
|
3042
3072
|
validation?: {
|
3043
3073
|
message: {
|
@@ -3048,7 +3078,6 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3048
3078
|
validator: import(".").JSONSchema;
|
3049
3079
|
}[] | undefined;
|
3050
3080
|
required?: boolean | undefined;
|
3051
|
-
defaultValue?: string | undefined;
|
3052
3081
|
conditionals?: ({
|
3053
3082
|
type: "SHOW";
|
3054
3083
|
conditional: import(".").JSONSchema;
|
@@ -3070,17 +3099,17 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3070
3099
|
defaultMessage: string;
|
3071
3100
|
} | undefined;
|
3072
3101
|
hideLabel?: boolean | undefined;
|
3102
|
+
defaultValue?: string | undefined;
|
3073
3103
|
}>;
|
3074
3104
|
export type Facility = z.infer<typeof Facility>;
|
3075
3105
|
declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
3076
3106
|
id: z.ZodString;
|
3077
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
3078
3107
|
parent: z.ZodOptional<z.ZodObject<{
|
3079
|
-
|
3108
|
+
$$field: z.ZodString;
|
3080
3109
|
}, "strip", z.ZodTypeAny, {
|
3081
|
-
|
3110
|
+
$$field: string;
|
3082
3111
|
}, {
|
3083
|
-
|
3112
|
+
$$field: string;
|
3084
3113
|
}>>;
|
3085
3114
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3086
3115
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3126,14 +3155,13 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3126
3155
|
id: string;
|
3127
3156
|
label: TranslationConfig;
|
3128
3157
|
parent?: {
|
3129
|
-
|
3158
|
+
$$field: string;
|
3130
3159
|
} | undefined;
|
3131
3160
|
validation?: {
|
3132
3161
|
message: TranslationConfig;
|
3133
3162
|
validator: import(".").JSONSchema;
|
3134
3163
|
}[] | undefined;
|
3135
3164
|
required?: boolean | undefined;
|
3136
|
-
defaultValue?: string | undefined;
|
3137
3165
|
conditionals?: ({
|
3138
3166
|
type: "SHOW";
|
3139
3167
|
conditional: import(".").JSONSchema;
|
@@ -3147,6 +3175,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3147
3175
|
placeholder?: TranslationConfig | undefined;
|
3148
3176
|
helperText?: TranslationConfig | undefined;
|
3149
3177
|
hideLabel?: boolean | undefined;
|
3178
|
+
defaultValue?: string | undefined;
|
3150
3179
|
}, {
|
3151
3180
|
type: "OFFICE";
|
3152
3181
|
id: string;
|
@@ -3156,7 +3185,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3156
3185
|
defaultMessage: string;
|
3157
3186
|
};
|
3158
3187
|
parent?: {
|
3159
|
-
|
3188
|
+
$$field: string;
|
3160
3189
|
} | undefined;
|
3161
3190
|
validation?: {
|
3162
3191
|
message: {
|
@@ -3167,7 +3196,6 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3167
3196
|
validator: import(".").JSONSchema;
|
3168
3197
|
}[] | undefined;
|
3169
3198
|
required?: boolean | undefined;
|
3170
|
-
defaultValue?: string | undefined;
|
3171
3199
|
conditionals?: ({
|
3172
3200
|
type: "SHOW";
|
3173
3201
|
conditional: import(".").JSONSchema;
|
@@ -3189,17 +3217,17 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3189
3217
|
defaultMessage: string;
|
3190
3218
|
} | undefined;
|
3191
3219
|
hideLabel?: boolean | undefined;
|
3220
|
+
defaultValue?: string | undefined;
|
3192
3221
|
}>;
|
3193
3222
|
export type Office = z.infer<typeof Office>;
|
3194
3223
|
declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
3195
3224
|
id: z.ZodString;
|
3196
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
3197
3225
|
parent: z.ZodOptional<z.ZodObject<{
|
3198
|
-
|
3226
|
+
$$field: z.ZodString;
|
3199
3227
|
}, "strip", z.ZodTypeAny, {
|
3200
|
-
|
3228
|
+
$$field: string;
|
3201
3229
|
}, {
|
3202
|
-
|
3230
|
+
$$field: string;
|
3203
3231
|
}>>;
|
3204
3232
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3205
3233
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3331,13 +3359,26 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3331
3359
|
id: string;
|
3332
3360
|
label: TranslationConfig;
|
3333
3361
|
parent?: {
|
3334
|
-
|
3362
|
+
$$field: string;
|
3335
3363
|
} | undefined;
|
3336
3364
|
validation?: {
|
3337
3365
|
message: TranslationConfig;
|
3338
3366
|
validator: import(".").JSONSchema;
|
3339
3367
|
}[] | undefined;
|
3340
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;
|
3341
3382
|
defaultValue?: {
|
3342
3383
|
country: string;
|
3343
3384
|
district: string;
|
@@ -3367,19 +3408,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3367
3408
|
addressLine3?: string | undefined;
|
3368
3409
|
postcodeOrZip?: string | undefined;
|
3369
3410
|
} | undefined;
|
3370
|
-
conditionals?: ({
|
3371
|
-
type: "SHOW";
|
3372
|
-
conditional: import(".").JSONSchema;
|
3373
|
-
} | {
|
3374
|
-
type: "ENABLE";
|
3375
|
-
conditional: import(".").JSONSchema;
|
3376
|
-
} | {
|
3377
|
-
type: "DISPLAY_ON_REVIEW";
|
3378
|
-
conditional: import(".").JSONSchema;
|
3379
|
-
})[] | undefined;
|
3380
|
-
placeholder?: TranslationConfig | undefined;
|
3381
|
-
helperText?: TranslationConfig | undefined;
|
3382
|
-
hideLabel?: boolean | undefined;
|
3383
3411
|
}, {
|
3384
3412
|
type: "ADDRESS";
|
3385
3413
|
id: string;
|
@@ -3389,7 +3417,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3389
3417
|
defaultMessage: string;
|
3390
3418
|
};
|
3391
3419
|
parent?: {
|
3392
|
-
|
3420
|
+
$$field: string;
|
3393
3421
|
} | undefined;
|
3394
3422
|
validation?: {
|
3395
3423
|
message: {
|
@@ -3400,6 +3428,27 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3400
3428
|
validator: import(".").JSONSchema;
|
3401
3429
|
}[] | undefined;
|
3402
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;
|
3403
3452
|
defaultValue?: {
|
3404
3453
|
country: string;
|
3405
3454
|
district: string;
|
@@ -3429,27 +3478,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3429
3478
|
addressLine3?: string | undefined;
|
3430
3479
|
postcodeOrZip?: string | undefined;
|
3431
3480
|
} | undefined;
|
3432
|
-
conditionals?: ({
|
3433
|
-
type: "SHOW";
|
3434
|
-
conditional: import(".").JSONSchema;
|
3435
|
-
} | {
|
3436
|
-
type: "ENABLE";
|
3437
|
-
conditional: import(".").JSONSchema;
|
3438
|
-
} | {
|
3439
|
-
type: "DISPLAY_ON_REVIEW";
|
3440
|
-
conditional: import(".").JSONSchema;
|
3441
|
-
})[] | undefined;
|
3442
|
-
placeholder?: {
|
3443
|
-
id: string;
|
3444
|
-
description: string;
|
3445
|
-
defaultMessage: string;
|
3446
|
-
} | undefined;
|
3447
|
-
helperText?: {
|
3448
|
-
id: string;
|
3449
|
-
description: string;
|
3450
|
-
defaultMessage: string;
|
3451
|
-
} | undefined;
|
3452
|
-
hideLabel?: boolean | undefined;
|
3453
3481
|
}>;
|
3454
3482
|
export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
|
3455
3483
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -3486,13 +3514,12 @@ export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
|
|
3486
3514
|
export type DataEntry = z.infer<typeof DataEntry>;
|
3487
3515
|
declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
3488
3516
|
id: z.ZodString;
|
3489
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
3490
3517
|
parent: z.ZodOptional<z.ZodObject<{
|
3491
|
-
|
3518
|
+
$$field: z.ZodString;
|
3492
3519
|
}, "strip", z.ZodTypeAny, {
|
3493
|
-
|
3520
|
+
$$field: string;
|
3494
3521
|
}, {
|
3495
|
-
|
3522
|
+
$$field: string;
|
3496
3523
|
}>>;
|
3497
3524
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3498
3525
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3613,14 +3640,13 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3613
3640
|
subtitle?: TranslationConfig | undefined;
|
3614
3641
|
};
|
3615
3642
|
parent?: {
|
3616
|
-
|
3643
|
+
$$field: string;
|
3617
3644
|
} | undefined;
|
3618
3645
|
validation?: {
|
3619
3646
|
message: TranslationConfig;
|
3620
3647
|
validator: import(".").JSONSchema;
|
3621
3648
|
}[] | undefined;
|
3622
3649
|
required?: boolean | undefined;
|
3623
|
-
defaultValue?: string | number | boolean | undefined;
|
3624
3650
|
conditionals?: ({
|
3625
3651
|
type: "SHOW";
|
3626
3652
|
conditional: import(".").JSONSchema;
|
@@ -3664,7 +3690,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3664
3690
|
} | undefined;
|
3665
3691
|
};
|
3666
3692
|
parent?: {
|
3667
|
-
|
3693
|
+
$$field: string;
|
3668
3694
|
} | undefined;
|
3669
3695
|
validation?: {
|
3670
3696
|
message: {
|
@@ -3675,7 +3701,6 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3675
3701
|
validator: import(".").JSONSchema;
|
3676
3702
|
}[] | undefined;
|
3677
3703
|
required?: boolean | undefined;
|
3678
|
-
defaultValue?: string | number | boolean | undefined;
|
3679
3704
|
conditionals?: ({
|
3680
3705
|
type: "SHOW";
|
3681
3706
|
conditional: import(".").JSONSchema;
|
@@ -3710,13 +3735,12 @@ export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.i
|
|
3710
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>;
|
3711
3736
|
export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
3712
3737
|
id: z.ZodString;
|
3713
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
3714
3738
|
parent: z.ZodOptional<z.ZodObject<{
|
3715
|
-
|
3739
|
+
$$field: z.ZodString;
|
3716
3740
|
}, "strip", z.ZodTypeAny, {
|
3717
|
-
|
3741
|
+
$$field: string;
|
3718
3742
|
}, {
|
3719
|
-
|
3743
|
+
$$field: string;
|
3720
3744
|
}>>;
|
3721
3745
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3722
3746
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3848,13 +3872,26 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3848
3872
|
id: string;
|
3849
3873
|
label: TranslationConfig;
|
3850
3874
|
parent?: {
|
3851
|
-
|
3875
|
+
$$field: string;
|
3852
3876
|
} | undefined;
|
3853
3877
|
validation?: {
|
3854
3878
|
message: TranslationConfig;
|
3855
3879
|
validator: import(".").JSONSchema;
|
3856
3880
|
}[] | undefined;
|
3857
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;
|
3858
3895
|
defaultValue?: {
|
3859
3896
|
country: string;
|
3860
3897
|
district: string;
|
@@ -3884,19 +3921,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3884
3921
|
addressLine3?: string | undefined;
|
3885
3922
|
postcodeOrZip?: string | undefined;
|
3886
3923
|
} | undefined;
|
3887
|
-
conditionals?: ({
|
3888
|
-
type: "SHOW";
|
3889
|
-
conditional: import(".").JSONSchema;
|
3890
|
-
} | {
|
3891
|
-
type: "ENABLE";
|
3892
|
-
conditional: import(".").JSONSchema;
|
3893
|
-
} | {
|
3894
|
-
type: "DISPLAY_ON_REVIEW";
|
3895
|
-
conditional: import(".").JSONSchema;
|
3896
|
-
})[] | undefined;
|
3897
|
-
placeholder?: TranslationConfig | undefined;
|
3898
|
-
helperText?: TranslationConfig | undefined;
|
3899
|
-
hideLabel?: boolean | undefined;
|
3900
3924
|
}, {
|
3901
3925
|
type: "ADDRESS";
|
3902
3926
|
id: string;
|
@@ -3906,7 +3930,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3906
3930
|
defaultMessage: string;
|
3907
3931
|
};
|
3908
3932
|
parent?: {
|
3909
|
-
|
3933
|
+
$$field: string;
|
3910
3934
|
} | undefined;
|
3911
3935
|
validation?: {
|
3912
3936
|
message: {
|
@@ -3917,6 +3941,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3917
3941
|
validator: import(".").JSONSchema;
|
3918
3942
|
}[] | undefined;
|
3919
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;
|
3920
3965
|
defaultValue?: {
|
3921
3966
|
country: string;
|
3922
3967
|
district: string;
|
@@ -3946,36 +3991,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3946
3991
|
addressLine3?: string | undefined;
|
3947
3992
|
postcodeOrZip?: string | undefined;
|
3948
3993
|
} | undefined;
|
3949
|
-
conditionals?: ({
|
3950
|
-
type: "SHOW";
|
3951
|
-
conditional: import(".").JSONSchema;
|
3952
|
-
} | {
|
3953
|
-
type: "ENABLE";
|
3954
|
-
conditional: import(".").JSONSchema;
|
3955
|
-
} | {
|
3956
|
-
type: "DISPLAY_ON_REVIEW";
|
3957
|
-
conditional: import(".").JSONSchema;
|
3958
|
-
})[] | undefined;
|
3959
|
-
placeholder?: {
|
3960
|
-
id: string;
|
3961
|
-
description: string;
|
3962
|
-
defaultMessage: string;
|
3963
|
-
} | undefined;
|
3964
|
-
helperText?: {
|
3965
|
-
id: string;
|
3966
|
-
description: string;
|
3967
|
-
defaultMessage: string;
|
3968
|
-
} | undefined;
|
3969
|
-
hideLabel?: boolean | undefined;
|
3970
3994
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3971
3995
|
id: z.ZodString;
|
3972
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
3973
3996
|
parent: z.ZodOptional<z.ZodObject<{
|
3974
|
-
|
3997
|
+
$$field: z.ZodString;
|
3975
3998
|
}, "strip", z.ZodTypeAny, {
|
3976
|
-
|
3999
|
+
$$field: string;
|
3977
4000
|
}, {
|
3978
|
-
|
4001
|
+
$$field: string;
|
3979
4002
|
}>>;
|
3980
4003
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3981
4004
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4053,14 +4076,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4053
4076
|
id: string;
|
4054
4077
|
label: TranslationConfig;
|
4055
4078
|
parent?: {
|
4056
|
-
|
4079
|
+
$$field: string;
|
4057
4080
|
} | undefined;
|
4058
4081
|
validation?: {
|
4059
4082
|
message: TranslationConfig;
|
4060
4083
|
validator: import(".").JSONSchema;
|
4061
4084
|
}[] | undefined;
|
4062
4085
|
required?: boolean | undefined;
|
4063
|
-
defaultValue?: string | undefined;
|
4064
4086
|
conditionals?: ({
|
4065
4087
|
type: "SHOW";
|
4066
4088
|
conditional: import(".").JSONSchema;
|
@@ -4074,6 +4096,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4074
4096
|
placeholder?: TranslationConfig | undefined;
|
4075
4097
|
helperText?: TranslationConfig | undefined;
|
4076
4098
|
hideLabel?: boolean | undefined;
|
4099
|
+
defaultValue?: string | undefined;
|
4077
4100
|
configuration?: {
|
4078
4101
|
type?: "text" | "password" | undefined;
|
4079
4102
|
maxLength?: number | undefined;
|
@@ -4089,7 +4112,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4089
4112
|
defaultMessage: string;
|
4090
4113
|
};
|
4091
4114
|
parent?: {
|
4092
|
-
|
4115
|
+
$$field: string;
|
4093
4116
|
} | undefined;
|
4094
4117
|
validation?: {
|
4095
4118
|
message: {
|
@@ -4100,7 +4123,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4100
4123
|
validator: import(".").JSONSchema;
|
4101
4124
|
}[] | undefined;
|
4102
4125
|
required?: boolean | undefined;
|
4103
|
-
defaultValue?: string | undefined;
|
4104
4126
|
conditionals?: ({
|
4105
4127
|
type: "SHOW";
|
4106
4128
|
conditional: import(".").JSONSchema;
|
@@ -4122,6 +4144,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4122
4144
|
defaultMessage: string;
|
4123
4145
|
} | undefined;
|
4124
4146
|
hideLabel?: boolean | undefined;
|
4147
|
+
defaultValue?: string | undefined;
|
4125
4148
|
configuration?: {
|
4126
4149
|
type?: "text" | "password" | undefined;
|
4127
4150
|
maxLength?: number | undefined;
|
@@ -4138,13 +4161,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4138
4161
|
} | undefined;
|
4139
4162
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4140
4163
|
id: z.ZodString;
|
4141
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4142
4164
|
parent: z.ZodOptional<z.ZodObject<{
|
4143
|
-
|
4165
|
+
$$field: z.ZodString;
|
4144
4166
|
}, "strip", z.ZodTypeAny, {
|
4145
|
-
|
4167
|
+
$$field: string;
|
4146
4168
|
}, {
|
4147
|
-
|
4169
|
+
$$field: string;
|
4148
4170
|
}>>;
|
4149
4171
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4150
4172
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4222,14 +4244,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4222
4244
|
id: string;
|
4223
4245
|
label: TranslationConfig;
|
4224
4246
|
parent?: {
|
4225
|
-
|
4247
|
+
$$field: string;
|
4226
4248
|
} | undefined;
|
4227
4249
|
validation?: {
|
4228
4250
|
message: TranslationConfig;
|
4229
4251
|
validator: import(".").JSONSchema;
|
4230
4252
|
}[] | undefined;
|
4231
4253
|
required?: boolean | undefined;
|
4232
|
-
defaultValue?: number | undefined;
|
4233
4254
|
conditionals?: ({
|
4234
4255
|
type: "SHOW";
|
4235
4256
|
conditional: import(".").JSONSchema;
|
@@ -4243,6 +4264,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4243
4264
|
placeholder?: TranslationConfig | undefined;
|
4244
4265
|
helperText?: TranslationConfig | undefined;
|
4245
4266
|
hideLabel?: boolean | undefined;
|
4267
|
+
defaultValue?: number | undefined;
|
4246
4268
|
configuration?: {
|
4247
4269
|
prefix?: TranslationConfig | undefined;
|
4248
4270
|
postfix?: TranslationConfig | undefined;
|
@@ -4258,7 +4280,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4258
4280
|
defaultMessage: string;
|
4259
4281
|
};
|
4260
4282
|
parent?: {
|
4261
|
-
|
4283
|
+
$$field: string;
|
4262
4284
|
} | undefined;
|
4263
4285
|
validation?: {
|
4264
4286
|
message: {
|
@@ -4269,7 +4291,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4269
4291
|
validator: import(".").JSONSchema;
|
4270
4292
|
}[] | undefined;
|
4271
4293
|
required?: boolean | undefined;
|
4272
|
-
defaultValue?: number | undefined;
|
4273
4294
|
conditionals?: ({
|
4274
4295
|
type: "SHOW";
|
4275
4296
|
conditional: import(".").JSONSchema;
|
@@ -4291,6 +4312,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4291
4312
|
defaultMessage: string;
|
4292
4313
|
} | undefined;
|
4293
4314
|
hideLabel?: boolean | undefined;
|
4315
|
+
defaultValue?: number | undefined;
|
4294
4316
|
configuration?: {
|
4295
4317
|
prefix?: {
|
4296
4318
|
id: string;
|
@@ -4307,13 +4329,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4307
4329
|
} | undefined;
|
4308
4330
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4309
4331
|
id: z.ZodString;
|
4310
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4311
4332
|
parent: z.ZodOptional<z.ZodObject<{
|
4312
|
-
|
4333
|
+
$$field: z.ZodString;
|
4313
4334
|
}, "strip", z.ZodTypeAny, {
|
4314
|
-
|
4335
|
+
$$field: string;
|
4315
4336
|
}, {
|
4316
|
-
|
4337
|
+
$$field: string;
|
4317
4338
|
}>>;
|
4318
4339
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4319
4340
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4394,14 +4415,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4394
4415
|
id: string;
|
4395
4416
|
label: TranslationConfig;
|
4396
4417
|
parent?: {
|
4397
|
-
|
4418
|
+
$$field: string;
|
4398
4419
|
} | undefined;
|
4399
4420
|
validation?: {
|
4400
4421
|
message: TranslationConfig;
|
4401
4422
|
validator: import(".").JSONSchema;
|
4402
4423
|
}[] | undefined;
|
4403
4424
|
required?: boolean | undefined;
|
4404
|
-
defaultValue?: string | undefined;
|
4405
4425
|
conditionals?: ({
|
4406
4426
|
type: "SHOW";
|
4407
4427
|
conditional: import(".").JSONSchema;
|
@@ -4415,6 +4435,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4415
4435
|
placeholder?: TranslationConfig | undefined;
|
4416
4436
|
helperText?: TranslationConfig | undefined;
|
4417
4437
|
hideLabel?: boolean | undefined;
|
4438
|
+
defaultValue?: string | undefined;
|
4418
4439
|
configuration?: {
|
4419
4440
|
maxLength?: number | undefined;
|
4420
4441
|
prefix?: TranslationConfig | undefined;
|
@@ -4431,7 +4452,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4431
4452
|
defaultMessage: string;
|
4432
4453
|
};
|
4433
4454
|
parent?: {
|
4434
|
-
|
4455
|
+
$$field: string;
|
4435
4456
|
} | undefined;
|
4436
4457
|
validation?: {
|
4437
4458
|
message: {
|
@@ -4442,7 +4463,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4442
4463
|
validator: import(".").JSONSchema;
|
4443
4464
|
}[] | undefined;
|
4444
4465
|
required?: boolean | undefined;
|
4445
|
-
defaultValue?: string | undefined;
|
4446
4466
|
conditionals?: ({
|
4447
4467
|
type: "SHOW";
|
4448
4468
|
conditional: import(".").JSONSchema;
|
@@ -4464,6 +4484,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4464
4484
|
defaultMessage: string;
|
4465
4485
|
} | undefined;
|
4466
4486
|
hideLabel?: boolean | undefined;
|
4487
|
+
defaultValue?: string | undefined;
|
4467
4488
|
configuration?: {
|
4468
4489
|
maxLength?: number | undefined;
|
4469
4490
|
prefix?: {
|
@@ -4481,13 +4502,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4481
4502
|
} | undefined;
|
4482
4503
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4483
4504
|
id: z.ZodString;
|
4484
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4485
4505
|
parent: z.ZodOptional<z.ZodObject<{
|
4486
|
-
|
4506
|
+
$$field: z.ZodString;
|
4487
4507
|
}, "strip", z.ZodTypeAny, {
|
4488
|
-
|
4508
|
+
$$field: string;
|
4489
4509
|
}, {
|
4490
|
-
|
4510
|
+
$$field: string;
|
4491
4511
|
}>>;
|
4492
4512
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4493
4513
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4548,14 +4568,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4548
4568
|
id: string;
|
4549
4569
|
label: TranslationConfig;
|
4550
4570
|
parent?: {
|
4551
|
-
|
4571
|
+
$$field: string;
|
4552
4572
|
} | undefined;
|
4553
4573
|
validation?: {
|
4554
4574
|
message: TranslationConfig;
|
4555
4575
|
validator: import(".").JSONSchema;
|
4556
4576
|
}[] | undefined;
|
4557
4577
|
required?: boolean | undefined;
|
4558
|
-
defaultValue?: string | undefined;
|
4559
4578
|
conditionals?: ({
|
4560
4579
|
type: "SHOW";
|
4561
4580
|
conditional: import(".").JSONSchema;
|
@@ -4569,6 +4588,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4569
4588
|
placeholder?: TranslationConfig | undefined;
|
4570
4589
|
helperText?: TranslationConfig | undefined;
|
4571
4590
|
hideLabel?: boolean | undefined;
|
4591
|
+
defaultValue?: string | undefined;
|
4572
4592
|
configuration?: {
|
4573
4593
|
notice?: TranslationConfig | undefined;
|
4574
4594
|
} | undefined;
|
@@ -4581,7 +4601,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4581
4601
|
defaultMessage: string;
|
4582
4602
|
};
|
4583
4603
|
parent?: {
|
4584
|
-
|
4604
|
+
$$field: string;
|
4585
4605
|
} | undefined;
|
4586
4606
|
validation?: {
|
4587
4607
|
message: {
|
@@ -4592,7 +4612,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4592
4612
|
validator: import(".").JSONSchema;
|
4593
4613
|
}[] | undefined;
|
4594
4614
|
required?: boolean | undefined;
|
4595
|
-
defaultValue?: string | undefined;
|
4596
4615
|
conditionals?: ({
|
4597
4616
|
type: "SHOW";
|
4598
4617
|
conditional: import(".").JSONSchema;
|
@@ -4614,6 +4633,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4614
4633
|
defaultMessage: string;
|
4615
4634
|
} | undefined;
|
4616
4635
|
hideLabel?: boolean | undefined;
|
4636
|
+
defaultValue?: string | undefined;
|
4617
4637
|
configuration?: {
|
4618
4638
|
notice?: {
|
4619
4639
|
id: string;
|
@@ -4623,13 +4643,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4623
4643
|
} | undefined;
|
4624
4644
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4625
4645
|
id: z.ZodString;
|
4626
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4627
4646
|
parent: z.ZodOptional<z.ZodObject<{
|
4628
|
-
|
4647
|
+
$$field: z.ZodString;
|
4629
4648
|
}, "strip", z.ZodTypeAny, {
|
4630
|
-
|
4649
|
+
$$field: string;
|
4631
4650
|
}, {
|
4632
|
-
|
4651
|
+
$$field: string;
|
4633
4652
|
}>>;
|
4634
4653
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4635
4654
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4690,14 +4709,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4690
4709
|
id: string;
|
4691
4710
|
label: TranslationConfig;
|
4692
4711
|
parent?: {
|
4693
|
-
|
4712
|
+
$$field: string;
|
4694
4713
|
} | undefined;
|
4695
4714
|
validation?: {
|
4696
4715
|
message: TranslationConfig;
|
4697
4716
|
validator: import(".").JSONSchema;
|
4698
4717
|
}[] | undefined;
|
4699
4718
|
required?: boolean | undefined;
|
4700
|
-
defaultValue?: string | [string, string] | undefined;
|
4701
4719
|
conditionals?: ({
|
4702
4720
|
type: "SHOW";
|
4703
4721
|
conditional: import(".").JSONSchema;
|
@@ -4711,6 +4729,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4711
4729
|
placeholder?: TranslationConfig | undefined;
|
4712
4730
|
helperText?: TranslationConfig | undefined;
|
4713
4731
|
hideLabel?: boolean | undefined;
|
4732
|
+
defaultValue?: string | [string, string] | undefined;
|
4714
4733
|
configuration?: {
|
4715
4734
|
notice?: TranslationConfig | undefined;
|
4716
4735
|
} | undefined;
|
@@ -4723,7 +4742,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4723
4742
|
defaultMessage: string;
|
4724
4743
|
};
|
4725
4744
|
parent?: {
|
4726
|
-
|
4745
|
+
$$field: string;
|
4727
4746
|
} | undefined;
|
4728
4747
|
validation?: {
|
4729
4748
|
message: {
|
@@ -4734,7 +4753,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4734
4753
|
validator: import(".").JSONSchema;
|
4735
4754
|
}[] | undefined;
|
4736
4755
|
required?: boolean | undefined;
|
4737
|
-
defaultValue?: string | [string, string] | undefined;
|
4738
4756
|
conditionals?: ({
|
4739
4757
|
type: "SHOW";
|
4740
4758
|
conditional: import(".").JSONSchema;
|
@@ -4756,6 +4774,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4756
4774
|
defaultMessage: string;
|
4757
4775
|
} | undefined;
|
4758
4776
|
hideLabel?: boolean | undefined;
|
4777
|
+
defaultValue?: string | [string, string] | undefined;
|
4759
4778
|
configuration?: {
|
4760
4779
|
notice?: {
|
4761
4780
|
id: string;
|
@@ -4765,13 +4784,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4765
4784
|
} | undefined;
|
4766
4785
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4767
4786
|
id: z.ZodString;
|
4768
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4769
4787
|
parent: z.ZodOptional<z.ZodObject<{
|
4770
|
-
|
4788
|
+
$$field: z.ZodString;
|
4771
4789
|
}, "strip", z.ZodTypeAny, {
|
4772
|
-
|
4790
|
+
$$field: string;
|
4773
4791
|
}, {
|
4774
|
-
|
4792
|
+
$$field: string;
|
4775
4793
|
}>>;
|
4776
4794
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4777
4795
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -4839,14 +4857,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4839
4857
|
} | undefined;
|
4840
4858
|
};
|
4841
4859
|
parent?: {
|
4842
|
-
|
4860
|
+
$$field: string;
|
4843
4861
|
} | undefined;
|
4844
4862
|
validation?: {
|
4845
4863
|
message: TranslationConfig;
|
4846
4864
|
validator: import(".").JSONSchema;
|
4847
4865
|
}[] | undefined;
|
4848
4866
|
required?: boolean | undefined;
|
4849
|
-
defaultValue?: string | undefined;
|
4850
4867
|
conditionals?: ({
|
4851
4868
|
type: "SHOW";
|
4852
4869
|
conditional: import(".").JSONSchema;
|
@@ -4860,6 +4877,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4860
4877
|
placeholder?: TranslationConfig | undefined;
|
4861
4878
|
helperText?: TranslationConfig | undefined;
|
4862
4879
|
hideLabel?: boolean | undefined;
|
4880
|
+
defaultValue?: string | undefined;
|
4863
4881
|
}, {
|
4864
4882
|
type: "PARAGRAPH";
|
4865
4883
|
id: string;
|
@@ -4869,7 +4887,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4869
4887
|
defaultMessage: string;
|
4870
4888
|
};
|
4871
4889
|
parent?: {
|
4872
|
-
|
4890
|
+
$$field: string;
|
4873
4891
|
} | undefined;
|
4874
4892
|
validation?: {
|
4875
4893
|
message: {
|
@@ -4880,7 +4898,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4880
4898
|
validator: import(".").JSONSchema;
|
4881
4899
|
}[] | undefined;
|
4882
4900
|
required?: boolean | undefined;
|
4883
|
-
defaultValue?: string | undefined;
|
4884
4901
|
conditionals?: ({
|
4885
4902
|
type: "SHOW";
|
4886
4903
|
conditional: import(".").JSONSchema;
|
@@ -4902,6 +4919,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4902
4919
|
defaultMessage: string;
|
4903
4920
|
} | undefined;
|
4904
4921
|
hideLabel?: boolean | undefined;
|
4922
|
+
defaultValue?: string | undefined;
|
4905
4923
|
configuration?: {
|
4906
4924
|
styles?: {
|
4907
4925
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
@@ -4909,13 +4927,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4909
4927
|
} | undefined;
|
4910
4928
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4911
4929
|
id: z.ZodString;
|
4912
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
4913
4930
|
parent: z.ZodOptional<z.ZodObject<{
|
4914
|
-
|
4931
|
+
$$field: z.ZodString;
|
4915
4932
|
}, "strip", z.ZodTypeAny, {
|
4916
|
-
|
4933
|
+
$$field: string;
|
4917
4934
|
}, {
|
4918
|
-
|
4935
|
+
$$field: string;
|
4919
4936
|
}>>;
|
4920
4937
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4921
4938
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5000,14 +5017,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5000
5017
|
}[];
|
5001
5018
|
label: TranslationConfig;
|
5002
5019
|
parent?: {
|
5003
|
-
|
5020
|
+
$$field: string;
|
5004
5021
|
} | undefined;
|
5005
5022
|
validation?: {
|
5006
5023
|
message: TranslationConfig;
|
5007
5024
|
validator: import(".").JSONSchema;
|
5008
5025
|
}[] | undefined;
|
5009
5026
|
required?: boolean | undefined;
|
5010
|
-
defaultValue?: string | undefined;
|
5011
5027
|
conditionals?: ({
|
5012
5028
|
type: "SHOW";
|
5013
5029
|
conditional: import(".").JSONSchema;
|
@@ -5021,6 +5037,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5021
5037
|
placeholder?: TranslationConfig | undefined;
|
5022
5038
|
helperText?: TranslationConfig | undefined;
|
5023
5039
|
hideLabel?: boolean | undefined;
|
5040
|
+
defaultValue?: string | undefined;
|
5024
5041
|
configuration?: {
|
5025
5042
|
styles?: {
|
5026
5043
|
size?: "NORMAL" | "LARGE" | undefined;
|
@@ -5043,7 +5060,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5043
5060
|
defaultMessage: string;
|
5044
5061
|
};
|
5045
5062
|
parent?: {
|
5046
|
-
|
5063
|
+
$$field: string;
|
5047
5064
|
} | undefined;
|
5048
5065
|
validation?: {
|
5049
5066
|
message: {
|
@@ -5054,7 +5071,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5054
5071
|
validator: import(".").JSONSchema;
|
5055
5072
|
}[] | undefined;
|
5056
5073
|
required?: boolean | undefined;
|
5057
|
-
defaultValue?: string | undefined;
|
5058
5074
|
conditionals?: ({
|
5059
5075
|
type: "SHOW";
|
5060
5076
|
conditional: import(".").JSONSchema;
|
@@ -5076,6 +5092,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5076
5092
|
defaultMessage: string;
|
5077
5093
|
} | undefined;
|
5078
5094
|
hideLabel?: boolean | undefined;
|
5095
|
+
defaultValue?: string | undefined;
|
5079
5096
|
configuration?: {
|
5080
5097
|
styles?: {
|
5081
5098
|
size?: "NORMAL" | "LARGE" | undefined;
|
@@ -5083,13 +5100,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5083
5100
|
} | undefined;
|
5084
5101
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5085
5102
|
id: z.ZodString;
|
5086
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5087
5103
|
parent: z.ZodOptional<z.ZodObject<{
|
5088
|
-
|
5104
|
+
$$field: z.ZodString;
|
5089
5105
|
}, "strip", z.ZodTypeAny, {
|
5090
|
-
|
5106
|
+
$$field: string;
|
5091
5107
|
}, {
|
5092
|
-
|
5108
|
+
$$field: string;
|
5093
5109
|
}>>;
|
5094
5110
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5095
5111
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5163,14 +5179,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5163
5179
|
};
|
5164
5180
|
items: TranslationConfig[];
|
5165
5181
|
parent?: {
|
5166
|
-
|
5182
|
+
$$field: string;
|
5167
5183
|
} | undefined;
|
5168
5184
|
validation?: {
|
5169
5185
|
message: TranslationConfig;
|
5170
5186
|
validator: import(".").JSONSchema;
|
5171
5187
|
}[] | undefined;
|
5172
5188
|
required?: boolean | undefined;
|
5173
|
-
defaultValue?: string | undefined;
|
5174
5189
|
conditionals?: ({
|
5175
5190
|
type: "SHOW";
|
5176
5191
|
conditional: import(".").JSONSchema;
|
@@ -5184,6 +5199,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5184
5199
|
placeholder?: TranslationConfig | undefined;
|
5185
5200
|
helperText?: TranslationConfig | undefined;
|
5186
5201
|
hideLabel?: boolean | undefined;
|
5202
|
+
defaultValue?: string | undefined;
|
5187
5203
|
}, {
|
5188
5204
|
type: "BULLET_LIST";
|
5189
5205
|
id: string;
|
@@ -5198,7 +5214,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5198
5214
|
defaultMessage: string;
|
5199
5215
|
}[];
|
5200
5216
|
parent?: {
|
5201
|
-
|
5217
|
+
$$field: string;
|
5202
5218
|
} | undefined;
|
5203
5219
|
validation?: {
|
5204
5220
|
message: {
|
@@ -5209,7 +5225,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5209
5225
|
validator: import(".").JSONSchema;
|
5210
5226
|
}[] | undefined;
|
5211
5227
|
required?: boolean | undefined;
|
5212
|
-
defaultValue?: string | undefined;
|
5213
5228
|
conditionals?: ({
|
5214
5229
|
type: "SHOW";
|
5215
5230
|
conditional: import(".").JSONSchema;
|
@@ -5231,6 +5246,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5231
5246
|
defaultMessage: string;
|
5232
5247
|
} | undefined;
|
5233
5248
|
hideLabel?: boolean | undefined;
|
5249
|
+
defaultValue?: string | undefined;
|
5234
5250
|
configuration?: {
|
5235
5251
|
styles?: {
|
5236
5252
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
@@ -5238,13 +5254,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5238
5254
|
} | undefined;
|
5239
5255
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5240
5256
|
id: z.ZodString;
|
5241
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5242
5257
|
parent: z.ZodOptional<z.ZodObject<{
|
5243
|
-
|
5258
|
+
$$field: z.ZodString;
|
5244
5259
|
}, "strip", z.ZodTypeAny, {
|
5245
|
-
|
5260
|
+
$$field: string;
|
5246
5261
|
}, {
|
5247
|
-
|
5262
|
+
$$field: string;
|
5248
5263
|
}>>;
|
5249
5264
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5250
5265
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5290,14 +5305,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5290
5305
|
id: string;
|
5291
5306
|
label: TranslationConfig;
|
5292
5307
|
parent?: {
|
5293
|
-
|
5308
|
+
$$field: string;
|
5294
5309
|
} | undefined;
|
5295
5310
|
validation?: {
|
5296
5311
|
message: TranslationConfig;
|
5297
5312
|
validator: import(".").JSONSchema;
|
5298
5313
|
}[] | undefined;
|
5299
5314
|
required?: boolean | undefined;
|
5300
|
-
defaultValue?: string | undefined;
|
5301
5315
|
conditionals?: ({
|
5302
5316
|
type: "SHOW";
|
5303
5317
|
conditional: import(".").JSONSchema;
|
@@ -5311,6 +5325,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5311
5325
|
placeholder?: TranslationConfig | undefined;
|
5312
5326
|
helperText?: TranslationConfig | undefined;
|
5313
5327
|
hideLabel?: boolean | undefined;
|
5328
|
+
defaultValue?: string | undefined;
|
5314
5329
|
}, {
|
5315
5330
|
type: "PAGE_HEADER";
|
5316
5331
|
id: string;
|
@@ -5320,7 +5335,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5320
5335
|
defaultMessage: string;
|
5321
5336
|
};
|
5322
5337
|
parent?: {
|
5323
|
-
|
5338
|
+
$$field: string;
|
5324
5339
|
} | undefined;
|
5325
5340
|
validation?: {
|
5326
5341
|
message: {
|
@@ -5331,7 +5346,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5331
5346
|
validator: import(".").JSONSchema;
|
5332
5347
|
}[] | undefined;
|
5333
5348
|
required?: boolean | undefined;
|
5334
|
-
defaultValue?: string | undefined;
|
5335
5349
|
conditionals?: ({
|
5336
5350
|
type: "SHOW";
|
5337
5351
|
conditional: import(".").JSONSchema;
|
@@ -5353,15 +5367,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5353
5367
|
defaultMessage: string;
|
5354
5368
|
} | undefined;
|
5355
5369
|
hideLabel?: boolean | undefined;
|
5370
|
+
defaultValue?: string | undefined;
|
5356
5371
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5357
5372
|
id: z.ZodString;
|
5358
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5359
5373
|
parent: z.ZodOptional<z.ZodObject<{
|
5360
|
-
|
5374
|
+
$$field: z.ZodString;
|
5361
5375
|
}, "strip", z.ZodTypeAny, {
|
5362
|
-
|
5376
|
+
$$field: string;
|
5363
5377
|
}, {
|
5364
|
-
|
5378
|
+
$$field: string;
|
5365
5379
|
}>>;
|
5366
5380
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5367
5381
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5429,14 +5443,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5429
5443
|
}[];
|
5430
5444
|
label: TranslationConfig;
|
5431
5445
|
parent?: {
|
5432
|
-
|
5446
|
+
$$field: string;
|
5433
5447
|
} | undefined;
|
5434
5448
|
validation?: {
|
5435
5449
|
message: TranslationConfig;
|
5436
5450
|
validator: import(".").JSONSchema;
|
5437
5451
|
}[] | undefined;
|
5438
5452
|
required?: boolean | undefined;
|
5439
|
-
defaultValue?: string | undefined;
|
5440
5453
|
conditionals?: ({
|
5441
5454
|
type: "SHOW";
|
5442
5455
|
conditional: import(".").JSONSchema;
|
@@ -5450,6 +5463,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5450
5463
|
placeholder?: TranslationConfig | undefined;
|
5451
5464
|
helperText?: TranslationConfig | undefined;
|
5452
5465
|
hideLabel?: boolean | undefined;
|
5466
|
+
defaultValue?: string | undefined;
|
5453
5467
|
}, {
|
5454
5468
|
type: "SELECT";
|
5455
5469
|
id: string;
|
@@ -5467,7 +5481,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5467
5481
|
defaultMessage: string;
|
5468
5482
|
};
|
5469
5483
|
parent?: {
|
5470
|
-
|
5484
|
+
$$field: string;
|
5471
5485
|
} | undefined;
|
5472
5486
|
validation?: {
|
5473
5487
|
message: {
|
@@ -5478,7 +5492,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5478
5492
|
validator: import(".").JSONSchema;
|
5479
5493
|
}[] | undefined;
|
5480
5494
|
required?: boolean | undefined;
|
5481
|
-
defaultValue?: string | undefined;
|
5482
5495
|
conditionals?: ({
|
5483
5496
|
type: "SHOW";
|
5484
5497
|
conditional: import(".").JSONSchema;
|
@@ -5500,15 +5513,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5500
5513
|
defaultMessage: string;
|
5501
5514
|
} | undefined;
|
5502
5515
|
hideLabel?: boolean | undefined;
|
5516
|
+
defaultValue?: string | undefined;
|
5503
5517
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5504
5518
|
id: z.ZodString;
|
5505
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5506
5519
|
parent: z.ZodOptional<z.ZodObject<{
|
5507
|
-
|
5520
|
+
$$field: z.ZodString;
|
5508
5521
|
}, "strip", z.ZodTypeAny, {
|
5509
|
-
|
5522
|
+
$$field: string;
|
5510
5523
|
}, {
|
5511
|
-
|
5524
|
+
$$field: string;
|
5512
5525
|
}>>;
|
5513
5526
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5514
5527
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5554,14 +5567,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5554
5567
|
id: string;
|
5555
5568
|
label: TranslationConfig;
|
5556
5569
|
parent?: {
|
5557
|
-
|
5570
|
+
$$field: string;
|
5558
5571
|
} | undefined;
|
5559
5572
|
validation?: {
|
5560
5573
|
message: TranslationConfig;
|
5561
5574
|
validator: import(".").JSONSchema;
|
5562
5575
|
}[] | undefined;
|
5563
5576
|
required?: boolean | undefined;
|
5564
|
-
defaultValue?: boolean | undefined;
|
5565
5577
|
conditionals?: ({
|
5566
5578
|
type: "SHOW";
|
5567
5579
|
conditional: import(".").JSONSchema;
|
@@ -5575,6 +5587,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5575
5587
|
placeholder?: TranslationConfig | undefined;
|
5576
5588
|
helperText?: TranslationConfig | undefined;
|
5577
5589
|
hideLabel?: boolean | undefined;
|
5590
|
+
defaultValue?: boolean | undefined;
|
5578
5591
|
}, {
|
5579
5592
|
type: "CHECKBOX";
|
5580
5593
|
id: string;
|
@@ -5584,7 +5597,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5584
5597
|
defaultMessage: string;
|
5585
5598
|
};
|
5586
5599
|
parent?: {
|
5587
|
-
|
5600
|
+
$$field: string;
|
5588
5601
|
} | undefined;
|
5589
5602
|
validation?: {
|
5590
5603
|
message: {
|
@@ -5595,7 +5608,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5595
5608
|
validator: import(".").JSONSchema;
|
5596
5609
|
}[] | undefined;
|
5597
5610
|
required?: boolean | undefined;
|
5598
|
-
defaultValue?: boolean | undefined;
|
5599
5611
|
conditionals?: ({
|
5600
5612
|
type: "SHOW";
|
5601
5613
|
conditional: import(".").JSONSchema;
|
@@ -5617,15 +5629,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5617
5629
|
defaultMessage: string;
|
5618
5630
|
} | undefined;
|
5619
5631
|
hideLabel?: boolean | undefined;
|
5632
|
+
defaultValue?: boolean | undefined;
|
5620
5633
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5621
5634
|
id: z.ZodString;
|
5622
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5623
5635
|
parent: z.ZodOptional<z.ZodObject<{
|
5624
|
-
|
5636
|
+
$$field: z.ZodString;
|
5625
5637
|
}, "strip", z.ZodTypeAny, {
|
5626
|
-
|
5638
|
+
$$field: string;
|
5627
5639
|
}, {
|
5628
|
-
|
5640
|
+
$$field: string;
|
5629
5641
|
}>>;
|
5630
5642
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5631
5643
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5665,6 +5677,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5665
5677
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5666
5678
|
}, {
|
5667
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
|
+
}>>;
|
5668
5693
|
configuration: z.ZodDefault<z.ZodObject<{
|
5669
5694
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
5670
5695
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -5712,14 +5737,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5712
5737
|
fileName?: TranslationConfig | undefined;
|
5713
5738
|
};
|
5714
5739
|
parent?: {
|
5715
|
-
|
5740
|
+
$$field: string;
|
5716
5741
|
} | undefined;
|
5717
5742
|
validation?: {
|
5718
5743
|
message: TranslationConfig;
|
5719
5744
|
validator: import(".").JSONSchema;
|
5720
5745
|
}[] | undefined;
|
5721
5746
|
required?: boolean | undefined;
|
5722
|
-
defaultValue?: string | number | boolean | undefined;
|
5723
5747
|
conditionals?: ({
|
5724
5748
|
type: "SHOW";
|
5725
5749
|
conditional: import(".").JSONSchema;
|
@@ -5733,6 +5757,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5733
5757
|
placeholder?: TranslationConfig | undefined;
|
5734
5758
|
helperText?: TranslationConfig | undefined;
|
5735
5759
|
hideLabel?: boolean | undefined;
|
5760
|
+
defaultValue?: {
|
5761
|
+
type: string;
|
5762
|
+
filename: string;
|
5763
|
+
originalFilename: string;
|
5764
|
+
} | undefined;
|
5736
5765
|
}, {
|
5737
5766
|
type: "FILE";
|
5738
5767
|
id: string;
|
@@ -5742,7 +5771,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5742
5771
|
defaultMessage: string;
|
5743
5772
|
};
|
5744
5773
|
parent?: {
|
5745
|
-
|
5774
|
+
$$field: string;
|
5746
5775
|
} | undefined;
|
5747
5776
|
validation?: {
|
5748
5777
|
message: {
|
@@ -5753,7 +5782,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5753
5782
|
validator: import(".").JSONSchema;
|
5754
5783
|
}[] | undefined;
|
5755
5784
|
required?: boolean | undefined;
|
5756
|
-
defaultValue?: string | number | boolean | undefined;
|
5757
5785
|
conditionals?: ({
|
5758
5786
|
type: "SHOW";
|
5759
5787
|
conditional: import(".").JSONSchema;
|
@@ -5775,6 +5803,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5775
5803
|
defaultMessage: string;
|
5776
5804
|
} | undefined;
|
5777
5805
|
hideLabel?: boolean | undefined;
|
5806
|
+
defaultValue?: {
|
5807
|
+
type: string;
|
5808
|
+
filename: string;
|
5809
|
+
originalFilename: string;
|
5810
|
+
} | undefined;
|
5778
5811
|
configuration?: {
|
5779
5812
|
maxFileSize?: number | undefined;
|
5780
5813
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
@@ -5789,13 +5822,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5789
5822
|
} | undefined;
|
5790
5823
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5791
5824
|
id: z.ZodString;
|
5792
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5793
5825
|
parent: z.ZodOptional<z.ZodObject<{
|
5794
|
-
|
5826
|
+
$$field: z.ZodString;
|
5795
5827
|
}, "strip", z.ZodTypeAny, {
|
5796
|
-
|
5828
|
+
$$field: string;
|
5797
5829
|
}, {
|
5798
|
-
|
5830
|
+
$$field: string;
|
5799
5831
|
}>>;
|
5800
5832
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5801
5833
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5841,14 +5873,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5841
5873
|
id: string;
|
5842
5874
|
label: TranslationConfig;
|
5843
5875
|
parent?: {
|
5844
|
-
|
5876
|
+
$$field: string;
|
5845
5877
|
} | undefined;
|
5846
5878
|
validation?: {
|
5847
5879
|
message: TranslationConfig;
|
5848
5880
|
validator: import(".").JSONSchema;
|
5849
5881
|
}[] | undefined;
|
5850
5882
|
required?: boolean | undefined;
|
5851
|
-
defaultValue?: string | undefined;
|
5852
5883
|
conditionals?: ({
|
5853
5884
|
type: "SHOW";
|
5854
5885
|
conditional: import(".").JSONSchema;
|
@@ -5862,6 +5893,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5862
5893
|
placeholder?: TranslationConfig | undefined;
|
5863
5894
|
helperText?: TranslationConfig | undefined;
|
5864
5895
|
hideLabel?: boolean | undefined;
|
5896
|
+
defaultValue?: string | undefined;
|
5865
5897
|
}, {
|
5866
5898
|
type: "COUNTRY";
|
5867
5899
|
id: string;
|
@@ -5871,7 +5903,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5871
5903
|
defaultMessage: string;
|
5872
5904
|
};
|
5873
5905
|
parent?: {
|
5874
|
-
|
5906
|
+
$$field: string;
|
5875
5907
|
} | undefined;
|
5876
5908
|
validation?: {
|
5877
5909
|
message: {
|
@@ -5882,7 +5914,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5882
5914
|
validator: import(".").JSONSchema;
|
5883
5915
|
}[] | undefined;
|
5884
5916
|
required?: boolean | undefined;
|
5885
|
-
defaultValue?: string | undefined;
|
5886
5917
|
conditionals?: ({
|
5887
5918
|
type: "SHOW";
|
5888
5919
|
conditional: import(".").JSONSchema;
|
@@ -5904,15 +5935,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5904
5935
|
defaultMessage: string;
|
5905
5936
|
} | undefined;
|
5906
5937
|
hideLabel?: boolean | undefined;
|
5938
|
+
defaultValue?: string | undefined;
|
5907
5939
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5908
5940
|
id: z.ZodString;
|
5909
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
5910
5941
|
parent: z.ZodOptional<z.ZodObject<{
|
5911
|
-
|
5942
|
+
$$field: z.ZodString;
|
5912
5943
|
}, "strip", z.ZodTypeAny, {
|
5913
|
-
|
5944
|
+
$$field: string;
|
5914
5945
|
}, {
|
5915
|
-
|
5946
|
+
$$field: string;
|
5916
5947
|
}>>;
|
5917
5948
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5918
5949
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -5984,14 +6015,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5984
6015
|
} | undefined;
|
5985
6016
|
};
|
5986
6017
|
parent?: {
|
5987
|
-
|
6018
|
+
$$field: string;
|
5988
6019
|
} | undefined;
|
5989
6020
|
validation?: {
|
5990
6021
|
message: TranslationConfig;
|
5991
6022
|
validator: import(".").JSONSchema;
|
5992
6023
|
}[] | undefined;
|
5993
6024
|
required?: boolean | undefined;
|
5994
|
-
defaultValue?: string | undefined;
|
5995
6025
|
conditionals?: ({
|
5996
6026
|
type: "SHOW";
|
5997
6027
|
conditional: import(".").JSONSchema;
|
@@ -6005,6 +6035,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6005
6035
|
placeholder?: TranslationConfig | undefined;
|
6006
6036
|
helperText?: TranslationConfig | undefined;
|
6007
6037
|
hideLabel?: boolean | undefined;
|
6038
|
+
defaultValue?: string | undefined;
|
6008
6039
|
}, {
|
6009
6040
|
type: "ADMINISTRATIVE_AREA";
|
6010
6041
|
id: string;
|
@@ -6020,7 +6051,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6020
6051
|
} | undefined;
|
6021
6052
|
};
|
6022
6053
|
parent?: {
|
6023
|
-
|
6054
|
+
$$field: string;
|
6024
6055
|
} | undefined;
|
6025
6056
|
validation?: {
|
6026
6057
|
message: {
|
@@ -6031,7 +6062,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6031
6062
|
validator: import(".").JSONSchema;
|
6032
6063
|
}[] | undefined;
|
6033
6064
|
required?: boolean | undefined;
|
6034
|
-
defaultValue?: string | undefined;
|
6035
6065
|
conditionals?: ({
|
6036
6066
|
type: "SHOW";
|
6037
6067
|
conditional: import(".").JSONSchema;
|
@@ -6053,15 +6083,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6053
6083
|
defaultMessage: string;
|
6054
6084
|
} | undefined;
|
6055
6085
|
hideLabel?: boolean | undefined;
|
6086
|
+
defaultValue?: string | undefined;
|
6056
6087
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6057
6088
|
id: z.ZodString;
|
6058
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6059
6089
|
parent: z.ZodOptional<z.ZodObject<{
|
6060
|
-
|
6090
|
+
$$field: z.ZodString;
|
6061
6091
|
}, "strip", z.ZodTypeAny, {
|
6062
|
-
|
6092
|
+
$$field: string;
|
6063
6093
|
}, {
|
6064
|
-
|
6094
|
+
$$field: string;
|
6065
6095
|
}>>;
|
6066
6096
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6067
6097
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6106,14 +6136,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6106
6136
|
id: string;
|
6107
6137
|
label: TranslationConfig;
|
6108
6138
|
parent?: {
|
6109
|
-
|
6139
|
+
$$field: string;
|
6110
6140
|
} | undefined;
|
6111
6141
|
validation?: {
|
6112
6142
|
message: TranslationConfig;
|
6113
6143
|
validator: import(".").JSONSchema;
|
6114
6144
|
}[] | undefined;
|
6115
6145
|
required?: boolean | undefined;
|
6116
|
-
defaultValue?: string | number | boolean | undefined;
|
6117
6146
|
conditionals?: ({
|
6118
6147
|
type: "SHOW";
|
6119
6148
|
conditional: import(".").JSONSchema;
|
@@ -6136,7 +6165,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6136
6165
|
defaultMessage: string;
|
6137
6166
|
};
|
6138
6167
|
parent?: {
|
6139
|
-
|
6168
|
+
$$field: string;
|
6140
6169
|
} | undefined;
|
6141
6170
|
validation?: {
|
6142
6171
|
message: {
|
@@ -6147,7 +6176,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6147
6176
|
validator: import(".").JSONSchema;
|
6148
6177
|
}[] | undefined;
|
6149
6178
|
required?: boolean | undefined;
|
6150
|
-
defaultValue?: string | number | boolean | undefined;
|
6151
6179
|
conditionals?: ({
|
6152
6180
|
type: "SHOW";
|
6153
6181
|
conditional: import(".").JSONSchema;
|
@@ -6171,13 +6199,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6171
6199
|
hideLabel?: boolean | undefined;
|
6172
6200
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6173
6201
|
id: z.ZodString;
|
6174
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6175
6202
|
parent: z.ZodOptional<z.ZodObject<{
|
6176
|
-
|
6203
|
+
$$field: z.ZodString;
|
6177
6204
|
}, "strip", z.ZodTypeAny, {
|
6178
|
-
|
6205
|
+
$$field: string;
|
6179
6206
|
}, {
|
6180
|
-
|
6207
|
+
$$field: string;
|
6181
6208
|
}>>;
|
6182
6209
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6183
6210
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6223,14 +6250,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6223
6250
|
id: string;
|
6224
6251
|
label: TranslationConfig;
|
6225
6252
|
parent?: {
|
6226
|
-
|
6253
|
+
$$field: string;
|
6227
6254
|
} | undefined;
|
6228
6255
|
validation?: {
|
6229
6256
|
message: TranslationConfig;
|
6230
6257
|
validator: import(".").JSONSchema;
|
6231
6258
|
}[] | undefined;
|
6232
6259
|
required?: boolean | undefined;
|
6233
|
-
defaultValue?: string | undefined;
|
6234
6260
|
conditionals?: ({
|
6235
6261
|
type: "SHOW";
|
6236
6262
|
conditional: import(".").JSONSchema;
|
@@ -6244,6 +6270,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6244
6270
|
placeholder?: TranslationConfig | undefined;
|
6245
6271
|
helperText?: TranslationConfig | undefined;
|
6246
6272
|
hideLabel?: boolean | undefined;
|
6273
|
+
defaultValue?: string | undefined;
|
6247
6274
|
}, {
|
6248
6275
|
type: "LOCATION";
|
6249
6276
|
id: string;
|
@@ -6253,7 +6280,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6253
6280
|
defaultMessage: string;
|
6254
6281
|
};
|
6255
6282
|
parent?: {
|
6256
|
-
|
6283
|
+
$$field: string;
|
6257
6284
|
} | undefined;
|
6258
6285
|
validation?: {
|
6259
6286
|
message: {
|
@@ -6264,7 +6291,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6264
6291
|
validator: import(".").JSONSchema;
|
6265
6292
|
}[] | undefined;
|
6266
6293
|
required?: boolean | undefined;
|
6267
|
-
defaultValue?: string | undefined;
|
6268
6294
|
conditionals?: ({
|
6269
6295
|
type: "SHOW";
|
6270
6296
|
conditional: import(".").JSONSchema;
|
@@ -6286,15 +6312,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6286
6312
|
defaultMessage: string;
|
6287
6313
|
} | undefined;
|
6288
6314
|
hideLabel?: boolean | undefined;
|
6315
|
+
defaultValue?: string | undefined;
|
6289
6316
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6290
6317
|
id: z.ZodString;
|
6291
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6292
6318
|
parent: z.ZodOptional<z.ZodObject<{
|
6293
|
-
|
6319
|
+
$$field: z.ZodString;
|
6294
6320
|
}, "strip", z.ZodTypeAny, {
|
6295
|
-
|
6321
|
+
$$field: string;
|
6296
6322
|
}, {
|
6297
|
-
|
6323
|
+
$$field: string;
|
6298
6324
|
}>>;
|
6299
6325
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6300
6326
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6340,14 +6366,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6340
6366
|
id: string;
|
6341
6367
|
label: TranslationConfig;
|
6342
6368
|
parent?: {
|
6343
|
-
|
6369
|
+
$$field: string;
|
6344
6370
|
} | undefined;
|
6345
6371
|
validation?: {
|
6346
6372
|
message: TranslationConfig;
|
6347
6373
|
validator: import(".").JSONSchema;
|
6348
6374
|
}[] | undefined;
|
6349
6375
|
required?: boolean | undefined;
|
6350
|
-
defaultValue?: string | undefined;
|
6351
6376
|
conditionals?: ({
|
6352
6377
|
type: "SHOW";
|
6353
6378
|
conditional: import(".").JSONSchema;
|
@@ -6361,6 +6386,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6361
6386
|
placeholder?: TranslationConfig | undefined;
|
6362
6387
|
helperText?: TranslationConfig | undefined;
|
6363
6388
|
hideLabel?: boolean | undefined;
|
6389
|
+
defaultValue?: string | undefined;
|
6364
6390
|
}, {
|
6365
6391
|
type: "FACILITY";
|
6366
6392
|
id: string;
|
@@ -6370,7 +6396,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6370
6396
|
defaultMessage: string;
|
6371
6397
|
};
|
6372
6398
|
parent?: {
|
6373
|
-
|
6399
|
+
$$field: string;
|
6374
6400
|
} | undefined;
|
6375
6401
|
validation?: {
|
6376
6402
|
message: {
|
@@ -6381,7 +6407,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6381
6407
|
validator: import(".").JSONSchema;
|
6382
6408
|
}[] | undefined;
|
6383
6409
|
required?: boolean | undefined;
|
6384
|
-
defaultValue?: string | undefined;
|
6385
6410
|
conditionals?: ({
|
6386
6411
|
type: "SHOW";
|
6387
6412
|
conditional: import(".").JSONSchema;
|
@@ -6403,15 +6428,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6403
6428
|
defaultMessage: string;
|
6404
6429
|
} | undefined;
|
6405
6430
|
hideLabel?: boolean | undefined;
|
6431
|
+
defaultValue?: string | undefined;
|
6406
6432
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6407
6433
|
id: z.ZodString;
|
6408
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6409
6434
|
parent: z.ZodOptional<z.ZodObject<{
|
6410
|
-
|
6435
|
+
$$field: z.ZodString;
|
6411
6436
|
}, "strip", z.ZodTypeAny, {
|
6412
|
-
|
6437
|
+
$$field: string;
|
6413
6438
|
}, {
|
6414
|
-
|
6439
|
+
$$field: string;
|
6415
6440
|
}>>;
|
6416
6441
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6417
6442
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6457,14 +6482,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6457
6482
|
id: string;
|
6458
6483
|
label: TranslationConfig;
|
6459
6484
|
parent?: {
|
6460
|
-
|
6485
|
+
$$field: string;
|
6461
6486
|
} | undefined;
|
6462
6487
|
validation?: {
|
6463
6488
|
message: TranslationConfig;
|
6464
6489
|
validator: import(".").JSONSchema;
|
6465
6490
|
}[] | undefined;
|
6466
6491
|
required?: boolean | undefined;
|
6467
|
-
defaultValue?: string | undefined;
|
6468
6492
|
conditionals?: ({
|
6469
6493
|
type: "SHOW";
|
6470
6494
|
conditional: import(".").JSONSchema;
|
@@ -6478,6 +6502,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6478
6502
|
placeholder?: TranslationConfig | undefined;
|
6479
6503
|
helperText?: TranslationConfig | undefined;
|
6480
6504
|
hideLabel?: boolean | undefined;
|
6505
|
+
defaultValue?: string | undefined;
|
6481
6506
|
}, {
|
6482
6507
|
type: "OFFICE";
|
6483
6508
|
id: string;
|
@@ -6487,7 +6512,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6487
6512
|
defaultMessage: string;
|
6488
6513
|
};
|
6489
6514
|
parent?: {
|
6490
|
-
|
6515
|
+
$$field: string;
|
6491
6516
|
} | undefined;
|
6492
6517
|
validation?: {
|
6493
6518
|
message: {
|
@@ -6498,7 +6523,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6498
6523
|
validator: import(".").JSONSchema;
|
6499
6524
|
}[] | undefined;
|
6500
6525
|
required?: boolean | undefined;
|
6501
|
-
defaultValue?: string | undefined;
|
6502
6526
|
conditionals?: ({
|
6503
6527
|
type: "SHOW";
|
6504
6528
|
conditional: import(".").JSONSchema;
|
@@ -6520,15 +6544,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6520
6544
|
defaultMessage: string;
|
6521
6545
|
} | undefined;
|
6522
6546
|
hideLabel?: boolean | undefined;
|
6547
|
+
defaultValue?: string | undefined;
|
6523
6548
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6524
6549
|
id: z.ZodString;
|
6525
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6526
6550
|
parent: z.ZodOptional<z.ZodObject<{
|
6527
|
-
|
6551
|
+
$$field: z.ZodString;
|
6528
6552
|
}, "strip", z.ZodTypeAny, {
|
6529
|
-
|
6553
|
+
$$field: string;
|
6530
6554
|
}, {
|
6531
|
-
|
6555
|
+
$$field: string;
|
6532
6556
|
}>>;
|
6533
6557
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6534
6558
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6573,6 +6597,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6573
6597
|
description: string;
|
6574
6598
|
defaultMessage: string;
|
6575
6599
|
}>;
|
6600
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
6576
6601
|
configuration: z.ZodDefault<z.ZodObject<{
|
6577
6602
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
6578
6603
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -6593,14 +6618,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6593
6618
|
};
|
6594
6619
|
signaturePromptLabel: TranslationConfig;
|
6595
6620
|
parent?: {
|
6596
|
-
|
6621
|
+
$$field: string;
|
6597
6622
|
} | undefined;
|
6598
6623
|
validation?: {
|
6599
6624
|
message: TranslationConfig;
|
6600
6625
|
validator: import(".").JSONSchema;
|
6601
6626
|
}[] | undefined;
|
6602
6627
|
required?: boolean | undefined;
|
6603
|
-
defaultValue?: string | number | boolean | undefined;
|
6604
6628
|
conditionals?: ({
|
6605
6629
|
type: "SHOW";
|
6606
6630
|
conditional: import(".").JSONSchema;
|
@@ -6614,6 +6638,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6614
6638
|
placeholder?: TranslationConfig | undefined;
|
6615
6639
|
helperText?: TranslationConfig | undefined;
|
6616
6640
|
hideLabel?: boolean | undefined;
|
6641
|
+
defaultValue?: string | undefined;
|
6617
6642
|
}, {
|
6618
6643
|
type: "SIGNATURE";
|
6619
6644
|
id: string;
|
@@ -6628,7 +6653,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6628
6653
|
defaultMessage: string;
|
6629
6654
|
};
|
6630
6655
|
parent?: {
|
6631
|
-
|
6656
|
+
$$field: string;
|
6632
6657
|
} | undefined;
|
6633
6658
|
validation?: {
|
6634
6659
|
message: {
|
@@ -6639,7 +6664,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6639
6664
|
validator: import(".").JSONSchema;
|
6640
6665
|
}[] | undefined;
|
6641
6666
|
required?: boolean | undefined;
|
6642
|
-
defaultValue?: string | number | boolean | undefined;
|
6643
6667
|
conditionals?: ({
|
6644
6668
|
type: "SHOW";
|
6645
6669
|
conditional: import(".").JSONSchema;
|
@@ -6661,19 +6685,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6661
6685
|
defaultMessage: string;
|
6662
6686
|
} | undefined;
|
6663
6687
|
hideLabel?: boolean | undefined;
|
6688
|
+
defaultValue?: string | undefined;
|
6664
6689
|
configuration?: {
|
6665
6690
|
maxFileSize?: number | undefined;
|
6666
6691
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
6667
6692
|
} | undefined;
|
6668
6693
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6669
6694
|
id: z.ZodString;
|
6670
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6671
6695
|
parent: z.ZodOptional<z.ZodObject<{
|
6672
|
-
|
6696
|
+
$$field: z.ZodString;
|
6673
6697
|
}, "strip", z.ZodTypeAny, {
|
6674
|
-
|
6698
|
+
$$field: string;
|
6675
6699
|
}, {
|
6676
|
-
|
6700
|
+
$$field: string;
|
6677
6701
|
}>>;
|
6678
6702
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6679
6703
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6726,14 +6750,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6726
6750
|
id: string;
|
6727
6751
|
label: TranslationConfig;
|
6728
6752
|
parent?: {
|
6729
|
-
|
6753
|
+
$$field: string;
|
6730
6754
|
} | undefined;
|
6731
6755
|
validation?: {
|
6732
6756
|
message: TranslationConfig;
|
6733
6757
|
validator: import(".").JSONSchema;
|
6734
6758
|
}[] | undefined;
|
6735
6759
|
required?: boolean | undefined;
|
6736
|
-
defaultValue?: string | undefined;
|
6737
6760
|
conditionals?: ({
|
6738
6761
|
type: "SHOW";
|
6739
6762
|
conditional: import(".").JSONSchema;
|
@@ -6747,6 +6770,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6747
6770
|
placeholder?: TranslationConfig | undefined;
|
6748
6771
|
helperText?: TranslationConfig | undefined;
|
6749
6772
|
hideLabel?: boolean | undefined;
|
6773
|
+
defaultValue?: string | undefined;
|
6750
6774
|
configuration?: {
|
6751
6775
|
maxLength?: number | undefined;
|
6752
6776
|
} | undefined;
|
@@ -6759,7 +6783,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6759
6783
|
defaultMessage: string;
|
6760
6784
|
};
|
6761
6785
|
parent?: {
|
6762
|
-
|
6786
|
+
$$field: string;
|
6763
6787
|
} | undefined;
|
6764
6788
|
validation?: {
|
6765
6789
|
message: {
|
@@ -6770,7 +6794,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6770
6794
|
validator: import(".").JSONSchema;
|
6771
6795
|
}[] | undefined;
|
6772
6796
|
required?: boolean | undefined;
|
6773
|
-
defaultValue?: string | undefined;
|
6774
6797
|
conditionals?: ({
|
6775
6798
|
type: "SHOW";
|
6776
6799
|
conditional: import(".").JSONSchema;
|
@@ -6792,18 +6815,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6792
6815
|
defaultMessage: string;
|
6793
6816
|
} | undefined;
|
6794
6817
|
hideLabel?: boolean | undefined;
|
6818
|
+
defaultValue?: string | undefined;
|
6795
6819
|
configuration?: {
|
6796
6820
|
maxLength?: number | undefined;
|
6797
6821
|
} | undefined;
|
6798
6822
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6799
6823
|
id: z.ZodString;
|
6800
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6801
6824
|
parent: z.ZodOptional<z.ZodObject<{
|
6802
|
-
|
6825
|
+
$$field: z.ZodString;
|
6803
6826
|
}, "strip", z.ZodTypeAny, {
|
6804
|
-
|
6827
|
+
$$field: string;
|
6805
6828
|
}, {
|
6806
|
-
|
6829
|
+
$$field: string;
|
6807
6830
|
}>>;
|
6808
6831
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6809
6832
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -6861,6 +6884,22 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6861
6884
|
defaultMessage: string;
|
6862
6885
|
};
|
6863
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">>;
|
6864
6903
|
configuration: z.ZodDefault<z.ZodObject<{
|
6865
6904
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
6866
6905
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -6884,14 +6923,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6884
6923
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
6885
6924
|
};
|
6886
6925
|
parent?: {
|
6887
|
-
|
6926
|
+
$$field: string;
|
6888
6927
|
} | undefined;
|
6889
6928
|
validation?: {
|
6890
6929
|
message: TranslationConfig;
|
6891
6930
|
validator: import(".").JSONSchema;
|
6892
6931
|
}[] | undefined;
|
6893
6932
|
required?: boolean | undefined;
|
6894
|
-
defaultValue?: string | number | boolean | undefined;
|
6895
6933
|
conditionals?: ({
|
6896
6934
|
type: "SHOW";
|
6897
6935
|
conditional: import(".").JSONSchema;
|
@@ -6905,6 +6943,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6905
6943
|
placeholder?: TranslationConfig | undefined;
|
6906
6944
|
helperText?: TranslationConfig | undefined;
|
6907
6945
|
hideLabel?: boolean | undefined;
|
6946
|
+
defaultValue?: {
|
6947
|
+
type: string;
|
6948
|
+
option: string;
|
6949
|
+
filename: string;
|
6950
|
+
originalFilename: string;
|
6951
|
+
}[] | undefined;
|
6908
6952
|
}, {
|
6909
6953
|
type: "FILE_WITH_OPTIONS";
|
6910
6954
|
id: string;
|
@@ -6922,7 +6966,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6922
6966
|
defaultMessage: string;
|
6923
6967
|
};
|
6924
6968
|
parent?: {
|
6925
|
-
|
6969
|
+
$$field: string;
|
6926
6970
|
} | undefined;
|
6927
6971
|
validation?: {
|
6928
6972
|
message: {
|
@@ -6933,7 +6977,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6933
6977
|
validator: import(".").JSONSchema;
|
6934
6978
|
}[] | undefined;
|
6935
6979
|
required?: boolean | undefined;
|
6936
|
-
defaultValue?: string | number | boolean | undefined;
|
6937
6980
|
conditionals?: ({
|
6938
6981
|
type: "SHOW";
|
6939
6982
|
conditional: import(".").JSONSchema;
|
@@ -6955,19 +6998,24 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6955
6998
|
defaultMessage: string;
|
6956
6999
|
} | undefined;
|
6957
7000
|
hideLabel?: boolean | undefined;
|
7001
|
+
defaultValue?: {
|
7002
|
+
type: string;
|
7003
|
+
option: string;
|
7004
|
+
filename: string;
|
7005
|
+
originalFilename: string;
|
7006
|
+
}[] | undefined;
|
6958
7007
|
configuration?: {
|
6959
7008
|
maxFileSize?: number | undefined;
|
6960
7009
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
6961
7010
|
} | undefined;
|
6962
7011
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6963
7012
|
id: z.ZodString;
|
6964
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
6965
7013
|
parent: z.ZodOptional<z.ZodObject<{
|
6966
|
-
|
7014
|
+
$$field: z.ZodString;
|
6967
7015
|
}, "strip", z.ZodTypeAny, {
|
6968
|
-
|
7016
|
+
$$field: string;
|
6969
7017
|
}, {
|
6970
|
-
|
7018
|
+
$$field: string;
|
6971
7019
|
}>>;
|
6972
7020
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6973
7021
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -7088,14 +7136,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7088
7136
|
subtitle?: TranslationConfig | undefined;
|
7089
7137
|
};
|
7090
7138
|
parent?: {
|
7091
|
-
|
7139
|
+
$$field: string;
|
7092
7140
|
} | undefined;
|
7093
7141
|
validation?: {
|
7094
7142
|
message: TranslationConfig;
|
7095
7143
|
validator: import(".").JSONSchema;
|
7096
7144
|
}[] | undefined;
|
7097
7145
|
required?: boolean | undefined;
|
7098
|
-
defaultValue?: string | number | boolean | undefined;
|
7099
7146
|
conditionals?: ({
|
7100
7147
|
type: "SHOW";
|
7101
7148
|
conditional: import(".").JSONSchema;
|
@@ -7139,7 +7186,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7139
7186
|
} | undefined;
|
7140
7187
|
};
|
7141
7188
|
parent?: {
|
7142
|
-
|
7189
|
+
$$field: string;
|
7143
7190
|
} | undefined;
|
7144
7191
|
validation?: {
|
7145
7192
|
message: {
|
@@ -7150,7 +7197,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7150
7197
|
validator: import(".").JSONSchema;
|
7151
7198
|
}[] | undefined;
|
7152
7199
|
required?: boolean | undefined;
|
7153
|
-
defaultValue?: string | number | boolean | undefined;
|
7154
7200
|
conditionals?: ({
|
7155
7201
|
type: "SHOW";
|
7156
7202
|
conditional: import(".").JSONSchema;
|