@opencrvs/toolkit 1.8.0-rc.f876361 → 1.8.0-rc.f8e4107
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 +3159 -158
- package/dist/commons/conditionals/conditionals.d.ts +80 -8
- package/dist/commons/conditionals/validate.d.ts +14 -17
- package/dist/commons/events/ActionDocument.d.ts +212 -101
- package/dist/commons/events/ActionInput.d.ts +1109 -214
- package/dist/commons/events/ActionType.d.ts +5 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +107 -14
- package/dist/commons/events/Conditional.d.ts +21 -5
- package/dist/commons/events/Draft.d.ts +24 -12
- package/dist/commons/events/EventConfig.d.ts +132 -66
- package/dist/commons/events/EventDocument.d.ts +161 -76
- package/dist/commons/events/EventIndex.d.ts +746 -4
- package/dist/commons/events/EventMetadata.d.ts +6 -3
- package/dist/commons/events/FieldConfig.d.ts +208 -70
- package/dist/commons/events/PageConfig.d.ts +0 -24
- package/dist/commons/events/TemplateConfig.d.ts +5 -5
- package/dist/commons/events/defineConfig.d.ts +15 -11
- package/dist/commons/events/test.utils.d.ts +20 -112
- package/dist/commons/events/utils.d.ts +60 -54
- package/dist/commons/events/utils.test.d.ts +2 -0
- package/dist/conditionals/index.js +180 -151
- package/dist/events/index.js +1325 -1103
- package/package.json +1 -1
@@ -13,7 +13,7 @@ declare const BaseField: z.ZodObject<{
|
|
13
13
|
expression: string;
|
14
14
|
dependsOn?: string[] | undefined;
|
15
15
|
}>]>>;
|
16
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
16
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
17
17
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
18
18
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
19
19
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -54,7 +54,6 @@ declare const BaseField: z.ZodObject<{
|
|
54
54
|
message: TranslationConfig;
|
55
55
|
validator: import(".").JSONSchema;
|
56
56
|
}[] | undefined;
|
57
|
-
required?: boolean | undefined;
|
58
57
|
dependsOn?: string[] | undefined;
|
59
58
|
defaultValue?: string | number | boolean | {
|
60
59
|
dependsOn: string[];
|
@@ -66,7 +65,11 @@ declare const BaseField: z.ZodObject<{
|
|
66
65
|
} | {
|
67
66
|
type: "ENABLE";
|
68
67
|
conditional: import(".").JSONSchema;
|
68
|
+
} | {
|
69
|
+
type: "DISPLAY_ON_REVIEW";
|
70
|
+
conditional: import(".").JSONSchema;
|
69
71
|
})[] | undefined;
|
72
|
+
required?: boolean | undefined;
|
70
73
|
disabled?: boolean | undefined;
|
71
74
|
hidden?: boolean | undefined;
|
72
75
|
placeholder?: TranslationConfig | undefined;
|
@@ -86,7 +89,6 @@ declare const BaseField: z.ZodObject<{
|
|
86
89
|
};
|
87
90
|
validator: import(".").JSONSchema;
|
88
91
|
}[] | undefined;
|
89
|
-
required?: boolean | undefined;
|
90
92
|
dependsOn?: string[] | undefined;
|
91
93
|
defaultValue?: string | number | boolean | {
|
92
94
|
expression: string;
|
@@ -98,7 +100,11 @@ declare const BaseField: z.ZodObject<{
|
|
98
100
|
} | {
|
99
101
|
type: "ENABLE";
|
100
102
|
conditional: import(".").JSONSchema;
|
103
|
+
} | {
|
104
|
+
type: "DISPLAY_ON_REVIEW";
|
105
|
+
conditional: import(".").JSONSchema;
|
101
106
|
})[] | undefined;
|
107
|
+
required?: boolean | undefined;
|
102
108
|
disabled?: boolean | undefined;
|
103
109
|
hidden?: boolean | undefined;
|
104
110
|
placeholder?: {
|
@@ -121,7 +127,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
121
127
|
expression: string;
|
122
128
|
dependsOn?: string[] | undefined;
|
123
129
|
}>]>>;
|
124
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
130
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
125
131
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
126
132
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
127
133
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -165,7 +171,6 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
165
171
|
message: TranslationConfig;
|
166
172
|
validator: import(".").JSONSchema;
|
167
173
|
}[] | undefined;
|
168
|
-
required?: boolean | undefined;
|
169
174
|
dependsOn?: string[] | undefined;
|
170
175
|
defaultValue?: string | number | boolean | {
|
171
176
|
dependsOn: string[];
|
@@ -177,7 +182,11 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
177
182
|
} | {
|
178
183
|
type: "ENABLE";
|
179
184
|
conditional: import(".").JSONSchema;
|
185
|
+
} | {
|
186
|
+
type: "DISPLAY_ON_REVIEW";
|
187
|
+
conditional: import(".").JSONSchema;
|
180
188
|
})[] | undefined;
|
189
|
+
required?: boolean | undefined;
|
181
190
|
disabled?: boolean | undefined;
|
182
191
|
hidden?: boolean | undefined;
|
183
192
|
placeholder?: TranslationConfig | undefined;
|
@@ -198,7 +207,6 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
198
207
|
};
|
199
208
|
validator: import(".").JSONSchema;
|
200
209
|
}[] | undefined;
|
201
|
-
required?: boolean | undefined;
|
202
210
|
dependsOn?: string[] | undefined;
|
203
211
|
defaultValue?: string | number | boolean | {
|
204
212
|
expression: string;
|
@@ -210,7 +218,11 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
210
218
|
} | {
|
211
219
|
type: "ENABLE";
|
212
220
|
conditional: import(".").JSONSchema;
|
221
|
+
} | {
|
222
|
+
type: "DISPLAY_ON_REVIEW";
|
223
|
+
conditional: import(".").JSONSchema;
|
213
224
|
})[] | undefined;
|
225
|
+
required?: boolean | undefined;
|
214
226
|
disabled?: boolean | undefined;
|
215
227
|
hidden?: boolean | undefined;
|
216
228
|
placeholder?: {
|
@@ -233,7 +245,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
233
245
|
expression: string;
|
234
246
|
dependsOn?: string[] | undefined;
|
235
247
|
}>]>>;
|
236
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
248
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
237
249
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
238
250
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
239
251
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -319,7 +331,6 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
319
331
|
message: TranslationConfig;
|
320
332
|
validator: import(".").JSONSchema;
|
321
333
|
}[] | undefined;
|
322
|
-
required?: boolean | undefined;
|
323
334
|
dependsOn?: string[] | undefined;
|
324
335
|
defaultValue?: string | {
|
325
336
|
dependsOn: string[];
|
@@ -331,7 +342,11 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
331
342
|
} | {
|
332
343
|
type: "ENABLE";
|
333
344
|
conditional: import(".").JSONSchema;
|
345
|
+
} | {
|
346
|
+
type: "DISPLAY_ON_REVIEW";
|
347
|
+
conditional: import(".").JSONSchema;
|
334
348
|
})[] | undefined;
|
349
|
+
required?: boolean | undefined;
|
335
350
|
disabled?: boolean | undefined;
|
336
351
|
hidden?: boolean | undefined;
|
337
352
|
placeholder?: TranslationConfig | undefined;
|
@@ -358,7 +373,6 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
358
373
|
};
|
359
374
|
validator: import(".").JSONSchema;
|
360
375
|
}[] | undefined;
|
361
|
-
required?: boolean | undefined;
|
362
376
|
dependsOn?: string[] | undefined;
|
363
377
|
defaultValue?: string | {
|
364
378
|
expression: string;
|
@@ -370,7 +384,11 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
370
384
|
} | {
|
371
385
|
type: "ENABLE";
|
372
386
|
conditional: import(".").JSONSchema;
|
387
|
+
} | {
|
388
|
+
type: "DISPLAY_ON_REVIEW";
|
389
|
+
conditional: import(".").JSONSchema;
|
373
390
|
})[] | undefined;
|
391
|
+
required?: boolean | undefined;
|
374
392
|
disabled?: boolean | undefined;
|
375
393
|
hidden?: boolean | undefined;
|
376
394
|
placeholder?: {
|
@@ -407,7 +425,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
407
425
|
expression: string;
|
408
426
|
dependsOn?: string[] | undefined;
|
409
427
|
}>]>>;
|
410
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
428
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
411
429
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
412
430
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
413
431
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -493,7 +511,6 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
493
511
|
message: TranslationConfig;
|
494
512
|
validator: import(".").JSONSchema;
|
495
513
|
}[] | undefined;
|
496
|
-
required?: boolean | undefined;
|
497
514
|
dependsOn?: string[] | undefined;
|
498
515
|
defaultValue?: number | {
|
499
516
|
dependsOn: string[];
|
@@ -505,7 +522,11 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
505
522
|
} | {
|
506
523
|
type: "ENABLE";
|
507
524
|
conditional: import(".").JSONSchema;
|
525
|
+
} | {
|
526
|
+
type: "DISPLAY_ON_REVIEW";
|
527
|
+
conditional: import(".").JSONSchema;
|
508
528
|
})[] | undefined;
|
529
|
+
required?: boolean | undefined;
|
509
530
|
disabled?: boolean | undefined;
|
510
531
|
hidden?: boolean | undefined;
|
511
532
|
placeholder?: TranslationConfig | undefined;
|
@@ -532,7 +553,6 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
532
553
|
};
|
533
554
|
validator: import(".").JSONSchema;
|
534
555
|
}[] | undefined;
|
535
|
-
required?: boolean | undefined;
|
536
556
|
dependsOn?: string[] | undefined;
|
537
557
|
defaultValue?: number | {
|
538
558
|
expression: string;
|
@@ -544,7 +564,11 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
544
564
|
} | {
|
545
565
|
type: "ENABLE";
|
546
566
|
conditional: import(".").JSONSchema;
|
567
|
+
} | {
|
568
|
+
type: "DISPLAY_ON_REVIEW";
|
569
|
+
conditional: import(".").JSONSchema;
|
547
570
|
})[] | undefined;
|
571
|
+
required?: boolean | undefined;
|
548
572
|
disabled?: boolean | undefined;
|
549
573
|
hidden?: boolean | undefined;
|
550
574
|
placeholder?: {
|
@@ -580,7 +604,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
580
604
|
expression: string;
|
581
605
|
dependsOn?: string[] | undefined;
|
582
606
|
}>]>>;
|
583
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
607
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
584
608
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
585
609
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
586
610
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -669,7 +693,6 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
669
693
|
message: TranslationConfig;
|
670
694
|
validator: import(".").JSONSchema;
|
671
695
|
}[] | undefined;
|
672
|
-
required?: boolean | undefined;
|
673
696
|
dependsOn?: string[] | undefined;
|
674
697
|
defaultValue?: string | {
|
675
698
|
dependsOn: string[];
|
@@ -681,7 +704,11 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
681
704
|
} | {
|
682
705
|
type: "ENABLE";
|
683
706
|
conditional: import(".").JSONSchema;
|
707
|
+
} | {
|
708
|
+
type: "DISPLAY_ON_REVIEW";
|
709
|
+
conditional: import(".").JSONSchema;
|
684
710
|
})[] | undefined;
|
711
|
+
required?: boolean | undefined;
|
685
712
|
disabled?: boolean | undefined;
|
686
713
|
hidden?: boolean | undefined;
|
687
714
|
placeholder?: TranslationConfig | undefined;
|
@@ -709,7 +736,6 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
709
736
|
};
|
710
737
|
validator: import(".").JSONSchema;
|
711
738
|
}[] | undefined;
|
712
|
-
required?: boolean | undefined;
|
713
739
|
dependsOn?: string[] | undefined;
|
714
740
|
defaultValue?: string | {
|
715
741
|
expression: string;
|
@@ -721,7 +747,11 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
721
747
|
} | {
|
722
748
|
type: "ENABLE";
|
723
749
|
conditional: import(".").JSONSchema;
|
750
|
+
} | {
|
751
|
+
type: "DISPLAY_ON_REVIEW";
|
752
|
+
conditional: import(".").JSONSchema;
|
724
753
|
})[] | undefined;
|
754
|
+
required?: boolean | undefined;
|
725
755
|
disabled?: boolean | undefined;
|
726
756
|
hidden?: boolean | undefined;
|
727
757
|
placeholder?: {
|
@@ -762,7 +792,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
762
792
|
expression: string;
|
763
793
|
dependsOn?: string[] | undefined;
|
764
794
|
}>]>>;
|
765
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
795
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
766
796
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
767
797
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
768
798
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -826,7 +856,6 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
826
856
|
message: TranslationConfig;
|
827
857
|
validator: import(".").JSONSchema;
|
828
858
|
}[] | undefined;
|
829
|
-
required?: boolean | undefined;
|
830
859
|
dependsOn?: string[] | undefined;
|
831
860
|
defaultValue?: string | number | boolean | {
|
832
861
|
dependsOn: string[];
|
@@ -838,7 +867,11 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
838
867
|
} | {
|
839
868
|
type: "ENABLE";
|
840
869
|
conditional: import(".").JSONSchema;
|
870
|
+
} | {
|
871
|
+
type: "DISPLAY_ON_REVIEW";
|
872
|
+
conditional: import(".").JSONSchema;
|
841
873
|
})[] | undefined;
|
874
|
+
required?: boolean | undefined;
|
842
875
|
disabled?: boolean | undefined;
|
843
876
|
hidden?: boolean | undefined;
|
844
877
|
placeholder?: TranslationConfig | undefined;
|
@@ -864,7 +897,6 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
864
897
|
};
|
865
898
|
validator: import(".").JSONSchema;
|
866
899
|
}[] | undefined;
|
867
|
-
required?: boolean | undefined;
|
868
900
|
dependsOn?: string[] | undefined;
|
869
901
|
defaultValue?: string | number | boolean | {
|
870
902
|
expression: string;
|
@@ -876,7 +908,11 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
876
908
|
} | {
|
877
909
|
type: "ENABLE";
|
878
910
|
conditional: import(".").JSONSchema;
|
911
|
+
} | {
|
912
|
+
type: "DISPLAY_ON_REVIEW";
|
913
|
+
conditional: import(".").JSONSchema;
|
879
914
|
})[] | undefined;
|
915
|
+
required?: boolean | undefined;
|
880
916
|
disabled?: boolean | undefined;
|
881
917
|
hidden?: boolean | undefined;
|
882
918
|
placeholder?: {
|
@@ -903,7 +939,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
903
939
|
expression: string;
|
904
940
|
dependsOn?: string[] | undefined;
|
905
941
|
}>]>>;
|
906
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
942
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
907
943
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
908
944
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
909
945
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -964,7 +1000,6 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
964
1000
|
message: TranslationConfig;
|
965
1001
|
validator: import(".").JSONSchema;
|
966
1002
|
}[] | undefined;
|
967
|
-
required?: boolean | undefined;
|
968
1003
|
dependsOn?: string[] | undefined;
|
969
1004
|
defaultValue?: string | {
|
970
1005
|
dependsOn: string[];
|
@@ -976,7 +1011,11 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
976
1011
|
} | {
|
977
1012
|
type: "ENABLE";
|
978
1013
|
conditional: import(".").JSONSchema;
|
1014
|
+
} | {
|
1015
|
+
type: "DISPLAY_ON_REVIEW";
|
1016
|
+
conditional: import(".").JSONSchema;
|
979
1017
|
})[] | undefined;
|
1018
|
+
required?: boolean | undefined;
|
980
1019
|
disabled?: boolean | undefined;
|
981
1020
|
hidden?: boolean | undefined;
|
982
1021
|
placeholder?: TranslationConfig | undefined;
|
@@ -1000,7 +1039,6 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1000
1039
|
};
|
1001
1040
|
validator: import(".").JSONSchema;
|
1002
1041
|
}[] | undefined;
|
1003
|
-
required?: boolean | undefined;
|
1004
1042
|
dependsOn?: string[] | undefined;
|
1005
1043
|
defaultValue?: string | {
|
1006
1044
|
expression: string;
|
@@ -1012,7 +1050,11 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1012
1050
|
} | {
|
1013
1051
|
type: "ENABLE";
|
1014
1052
|
conditional: import(".").JSONSchema;
|
1053
|
+
} | {
|
1054
|
+
type: "DISPLAY_ON_REVIEW";
|
1055
|
+
conditional: import(".").JSONSchema;
|
1015
1056
|
})[] | undefined;
|
1057
|
+
required?: boolean | undefined;
|
1016
1058
|
disabled?: boolean | undefined;
|
1017
1059
|
hidden?: boolean | undefined;
|
1018
1060
|
placeholder?: {
|
@@ -1038,7 +1080,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1038
1080
|
expression: string;
|
1039
1081
|
dependsOn?: string[] | undefined;
|
1040
1082
|
}>]>>;
|
1041
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1083
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1042
1084
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1043
1085
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1044
1086
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1107,7 +1149,6 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1107
1149
|
message: TranslationConfig;
|
1108
1150
|
validator: import(".").JSONSchema;
|
1109
1151
|
}[] | undefined;
|
1110
|
-
required?: boolean | undefined;
|
1111
1152
|
dependsOn?: string[] | undefined;
|
1112
1153
|
defaultValue?: string | {
|
1113
1154
|
dependsOn: string[];
|
@@ -1119,7 +1160,11 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1119
1160
|
} | {
|
1120
1161
|
type: "ENABLE";
|
1121
1162
|
conditional: import(".").JSONSchema;
|
1163
|
+
} | {
|
1164
|
+
type: "DISPLAY_ON_REVIEW";
|
1165
|
+
conditional: import(".").JSONSchema;
|
1122
1166
|
})[] | undefined;
|
1167
|
+
required?: boolean | undefined;
|
1123
1168
|
disabled?: boolean | undefined;
|
1124
1169
|
hidden?: boolean | undefined;
|
1125
1170
|
placeholder?: TranslationConfig | undefined;
|
@@ -1143,7 +1188,6 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1143
1188
|
};
|
1144
1189
|
validator: import(".").JSONSchema;
|
1145
1190
|
}[] | undefined;
|
1146
|
-
required?: boolean | undefined;
|
1147
1191
|
dependsOn?: string[] | undefined;
|
1148
1192
|
defaultValue?: string | {
|
1149
1193
|
expression: string;
|
@@ -1155,7 +1199,11 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1155
1199
|
} | {
|
1156
1200
|
type: "ENABLE";
|
1157
1201
|
conditional: import(".").JSONSchema;
|
1202
|
+
} | {
|
1203
|
+
type: "DISPLAY_ON_REVIEW";
|
1204
|
+
conditional: import(".").JSONSchema;
|
1158
1205
|
})[] | undefined;
|
1206
|
+
required?: boolean | undefined;
|
1159
1207
|
disabled?: boolean | undefined;
|
1160
1208
|
hidden?: boolean | undefined;
|
1161
1209
|
placeholder?: {
|
@@ -1187,7 +1235,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1187
1235
|
expression: string;
|
1188
1236
|
dependsOn?: string[] | undefined;
|
1189
1237
|
}>]>>;
|
1190
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1238
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1191
1239
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1192
1240
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1193
1241
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1263,7 +1311,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1263
1311
|
message: TranslationConfig;
|
1264
1312
|
validator: import(".").JSONSchema;
|
1265
1313
|
}[] | undefined;
|
1266
|
-
required?: boolean | undefined;
|
1267
1314
|
dependsOn?: string[] | undefined;
|
1268
1315
|
defaultValue?: string | {
|
1269
1316
|
dependsOn: string[];
|
@@ -1275,7 +1322,11 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1275
1322
|
} | {
|
1276
1323
|
type: "ENABLE";
|
1277
1324
|
conditional: import(".").JSONSchema;
|
1325
|
+
} | {
|
1326
|
+
type: "DISPLAY_ON_REVIEW";
|
1327
|
+
conditional: import(".").JSONSchema;
|
1278
1328
|
})[] | undefined;
|
1329
|
+
required?: boolean | undefined;
|
1279
1330
|
disabled?: boolean | undefined;
|
1280
1331
|
hidden?: boolean | undefined;
|
1281
1332
|
placeholder?: TranslationConfig | undefined;
|
@@ -1296,7 +1347,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1296
1347
|
};
|
1297
1348
|
validator: import(".").JSONSchema;
|
1298
1349
|
}[] | undefined;
|
1299
|
-
required?: boolean | undefined;
|
1300
1350
|
dependsOn?: string[] | undefined;
|
1301
1351
|
defaultValue?: string | {
|
1302
1352
|
expression: string;
|
@@ -1308,7 +1358,11 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1308
1358
|
} | {
|
1309
1359
|
type: "ENABLE";
|
1310
1360
|
conditional: import(".").JSONSchema;
|
1361
|
+
} | {
|
1362
|
+
type: "DISPLAY_ON_REVIEW";
|
1363
|
+
conditional: import(".").JSONSchema;
|
1311
1364
|
})[] | undefined;
|
1365
|
+
required?: boolean | undefined;
|
1312
1366
|
disabled?: boolean | undefined;
|
1313
1367
|
hidden?: boolean | undefined;
|
1314
1368
|
placeholder?: {
|
@@ -1336,7 +1390,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1336
1390
|
expression: string;
|
1337
1391
|
dependsOn?: string[] | undefined;
|
1338
1392
|
}>]>>;
|
1339
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1393
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1340
1394
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1341
1395
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1342
1396
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1390,7 +1444,6 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1390
1444
|
message: TranslationConfig;
|
1391
1445
|
validator: import(".").JSONSchema;
|
1392
1446
|
}[] | undefined;
|
1393
|
-
required?: boolean | undefined;
|
1394
1447
|
dependsOn?: string[] | undefined;
|
1395
1448
|
defaultValue?: string | {
|
1396
1449
|
dependsOn: string[];
|
@@ -1402,7 +1455,11 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1402
1455
|
} | {
|
1403
1456
|
type: "ENABLE";
|
1404
1457
|
conditional: import(".").JSONSchema;
|
1458
|
+
} | {
|
1459
|
+
type: "DISPLAY_ON_REVIEW";
|
1460
|
+
conditional: import(".").JSONSchema;
|
1405
1461
|
})[] | undefined;
|
1462
|
+
required?: boolean | undefined;
|
1406
1463
|
disabled?: boolean | undefined;
|
1407
1464
|
hidden?: boolean | undefined;
|
1408
1465
|
placeholder?: TranslationConfig | undefined;
|
@@ -1423,7 +1480,6 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1423
1480
|
};
|
1424
1481
|
validator: import(".").JSONSchema;
|
1425
1482
|
}[] | undefined;
|
1426
|
-
required?: boolean | undefined;
|
1427
1483
|
dependsOn?: string[] | undefined;
|
1428
1484
|
defaultValue?: string | {
|
1429
1485
|
expression: string;
|
@@ -1435,7 +1491,11 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1435
1491
|
} | {
|
1436
1492
|
type: "ENABLE";
|
1437
1493
|
conditional: import(".").JSONSchema;
|
1494
|
+
} | {
|
1495
|
+
type: "DISPLAY_ON_REVIEW";
|
1496
|
+
conditional: import(".").JSONSchema;
|
1438
1497
|
})[] | undefined;
|
1498
|
+
required?: boolean | undefined;
|
1439
1499
|
disabled?: boolean | undefined;
|
1440
1500
|
hidden?: boolean | undefined;
|
1441
1501
|
placeholder?: {
|
@@ -1458,7 +1518,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1458
1518
|
expression: string;
|
1459
1519
|
dependsOn?: string[] | undefined;
|
1460
1520
|
}>]>>;
|
1461
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1521
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1462
1522
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1463
1523
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1464
1524
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1532,7 +1592,6 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1532
1592
|
message: TranslationConfig;
|
1533
1593
|
validator: import(".").JSONSchema;
|
1534
1594
|
}[] | undefined;
|
1535
|
-
required?: boolean | undefined;
|
1536
1595
|
dependsOn?: string[] | undefined;
|
1537
1596
|
defaultValue?: string | number | boolean | {
|
1538
1597
|
dependsOn: string[];
|
@@ -1544,7 +1603,11 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1544
1603
|
} | {
|
1545
1604
|
type: "ENABLE";
|
1546
1605
|
conditional: import(".").JSONSchema;
|
1606
|
+
} | {
|
1607
|
+
type: "DISPLAY_ON_REVIEW";
|
1608
|
+
conditional: import(".").JSONSchema;
|
1547
1609
|
})[] | undefined;
|
1610
|
+
required?: boolean | undefined;
|
1548
1611
|
disabled?: boolean | undefined;
|
1549
1612
|
hidden?: boolean | undefined;
|
1550
1613
|
placeholder?: TranslationConfig | undefined;
|
@@ -1565,7 +1628,6 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1565
1628
|
};
|
1566
1629
|
validator: import(".").JSONSchema;
|
1567
1630
|
}[] | undefined;
|
1568
|
-
required?: boolean | undefined;
|
1569
1631
|
dependsOn?: string[] | undefined;
|
1570
1632
|
defaultValue?: string | number | boolean | {
|
1571
1633
|
expression: string;
|
@@ -1577,7 +1639,11 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1577
1639
|
} | {
|
1578
1640
|
type: "ENABLE";
|
1579
1641
|
conditional: import(".").JSONSchema;
|
1642
|
+
} | {
|
1643
|
+
type: "DISPLAY_ON_REVIEW";
|
1644
|
+
conditional: import(".").JSONSchema;
|
1580
1645
|
})[] | undefined;
|
1646
|
+
required?: boolean | undefined;
|
1581
1647
|
disabled?: boolean | undefined;
|
1582
1648
|
hidden?: boolean | undefined;
|
1583
1649
|
placeholder?: {
|
@@ -1595,7 +1661,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1595
1661
|
} | undefined;
|
1596
1662
|
}>;
|
1597
1663
|
export type File = z.infer<typeof File>;
|
1598
|
-
declare const SelectOption: z.ZodObject<{
|
1664
|
+
export declare const SelectOption: z.ZodObject<{
|
1599
1665
|
value: z.ZodString;
|
1600
1666
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1601
1667
|
id: string;
|
@@ -1625,7 +1691,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1625
1691
|
expression: string;
|
1626
1692
|
dependsOn?: string[] | undefined;
|
1627
1693
|
}>]>>;
|
1628
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1694
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1629
1695
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1630
1696
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1631
1697
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1718,7 +1784,6 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1718
1784
|
message: TranslationConfig;
|
1719
1785
|
validator: import(".").JSONSchema;
|
1720
1786
|
}[] | undefined;
|
1721
|
-
required?: boolean | undefined;
|
1722
1787
|
dependsOn?: string[] | undefined;
|
1723
1788
|
defaultValue?: string | {
|
1724
1789
|
dependsOn: string[];
|
@@ -1730,7 +1795,11 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1730
1795
|
} | {
|
1731
1796
|
type: "ENABLE";
|
1732
1797
|
conditional: import(".").JSONSchema;
|
1798
|
+
} | {
|
1799
|
+
type: "DISPLAY_ON_REVIEW";
|
1800
|
+
conditional: import(".").JSONSchema;
|
1733
1801
|
})[] | undefined;
|
1802
|
+
required?: boolean | undefined;
|
1734
1803
|
disabled?: boolean | undefined;
|
1735
1804
|
hidden?: boolean | undefined;
|
1736
1805
|
placeholder?: TranslationConfig | undefined;
|
@@ -1764,7 +1833,6 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1764
1833
|
};
|
1765
1834
|
validator: import(".").JSONSchema;
|
1766
1835
|
}[] | undefined;
|
1767
|
-
required?: boolean | undefined;
|
1768
1836
|
dependsOn?: string[] | undefined;
|
1769
1837
|
defaultValue?: string | {
|
1770
1838
|
expression: string;
|
@@ -1776,7 +1844,11 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1776
1844
|
} | {
|
1777
1845
|
type: "ENABLE";
|
1778
1846
|
conditional: import(".").JSONSchema;
|
1847
|
+
} | {
|
1848
|
+
type: "DISPLAY_ON_REVIEW";
|
1849
|
+
conditional: import(".").JSONSchema;
|
1779
1850
|
})[] | undefined;
|
1851
|
+
required?: boolean | undefined;
|
1780
1852
|
disabled?: boolean | undefined;
|
1781
1853
|
hidden?: boolean | undefined;
|
1782
1854
|
placeholder?: {
|
@@ -1804,7 +1876,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1804
1876
|
expression: string;
|
1805
1877
|
dependsOn?: string[] | undefined;
|
1806
1878
|
}>]>>;
|
1807
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1879
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1808
1880
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1809
1881
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1810
1882
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1877,7 +1949,6 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1877
1949
|
message: TranslationConfig;
|
1878
1950
|
validator: import(".").JSONSchema;
|
1879
1951
|
}[] | undefined;
|
1880
|
-
required?: boolean | undefined;
|
1881
1952
|
dependsOn?: string[] | undefined;
|
1882
1953
|
defaultValue?: string | undefined;
|
1883
1954
|
conditionals?: ({
|
@@ -1886,7 +1957,11 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1886
1957
|
} | {
|
1887
1958
|
type: "ENABLE";
|
1888
1959
|
conditional: import(".").JSONSchema;
|
1960
|
+
} | {
|
1961
|
+
type: "DISPLAY_ON_REVIEW";
|
1962
|
+
conditional: import(".").JSONSchema;
|
1889
1963
|
})[] | undefined;
|
1964
|
+
required?: boolean | undefined;
|
1890
1965
|
disabled?: boolean | undefined;
|
1891
1966
|
hidden?: boolean | undefined;
|
1892
1967
|
placeholder?: TranslationConfig | undefined;
|
@@ -1912,7 +1987,6 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1912
1987
|
};
|
1913
1988
|
validator: import(".").JSONSchema;
|
1914
1989
|
}[] | undefined;
|
1915
|
-
required?: boolean | undefined;
|
1916
1990
|
dependsOn?: string[] | undefined;
|
1917
1991
|
defaultValue?: string | undefined;
|
1918
1992
|
conditionals?: ({
|
@@ -1921,7 +1995,11 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1921
1995
|
} | {
|
1922
1996
|
type: "ENABLE";
|
1923
1997
|
conditional: import(".").JSONSchema;
|
1998
|
+
} | {
|
1999
|
+
type: "DISPLAY_ON_REVIEW";
|
2000
|
+
conditional: import(".").JSONSchema;
|
1924
2001
|
})[] | undefined;
|
2002
|
+
required?: boolean | undefined;
|
1925
2003
|
disabled?: boolean | undefined;
|
1926
2004
|
hidden?: boolean | undefined;
|
1927
2005
|
placeholder?: {
|
@@ -1949,7 +2027,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
1949
2027
|
expression: string;
|
1950
2028
|
dependsOn?: string[] | undefined;
|
1951
2029
|
}>]>>;
|
1952
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2030
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1953
2031
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1954
2032
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1955
2033
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2025,7 +2103,6 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2025
2103
|
message: TranslationConfig;
|
2026
2104
|
validator: import(".").JSONSchema;
|
2027
2105
|
}[] | undefined;
|
2028
|
-
required?: boolean | undefined;
|
2029
2106
|
dependsOn?: string[] | undefined;
|
2030
2107
|
defaultValue?: string | {
|
2031
2108
|
dependsOn: string[];
|
@@ -2037,7 +2114,11 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2037
2114
|
} | {
|
2038
2115
|
type: "ENABLE";
|
2039
2116
|
conditional: import(".").JSONSchema;
|
2117
|
+
} | {
|
2118
|
+
type: "DISPLAY_ON_REVIEW";
|
2119
|
+
conditional: import(".").JSONSchema;
|
2040
2120
|
})[] | undefined;
|
2121
|
+
required?: boolean | undefined;
|
2041
2122
|
disabled?: boolean | undefined;
|
2042
2123
|
hidden?: boolean | undefined;
|
2043
2124
|
placeholder?: TranslationConfig | undefined;
|
@@ -2066,7 +2147,6 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2066
2147
|
};
|
2067
2148
|
validator: import(".").JSONSchema;
|
2068
2149
|
}[] | undefined;
|
2069
|
-
required?: boolean | undefined;
|
2070
2150
|
dependsOn?: string[] | undefined;
|
2071
2151
|
defaultValue?: string | {
|
2072
2152
|
expression: string;
|
@@ -2078,7 +2158,11 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2078
2158
|
} | {
|
2079
2159
|
type: "ENABLE";
|
2080
2160
|
conditional: import(".").JSONSchema;
|
2161
|
+
} | {
|
2162
|
+
type: "DISPLAY_ON_REVIEW";
|
2163
|
+
conditional: import(".").JSONSchema;
|
2081
2164
|
})[] | undefined;
|
2165
|
+
required?: boolean | undefined;
|
2082
2166
|
disabled?: boolean | undefined;
|
2083
2167
|
hidden?: boolean | undefined;
|
2084
2168
|
placeholder?: {
|
@@ -2100,7 +2184,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2100
2184
|
expression: string;
|
2101
2185
|
dependsOn?: string[] | undefined;
|
2102
2186
|
}>]>>;
|
2103
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2187
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2104
2188
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2105
2189
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2106
2190
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2154,7 +2238,6 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2154
2238
|
message: TranslationConfig;
|
2155
2239
|
validator: import(".").JSONSchema;
|
2156
2240
|
}[] | undefined;
|
2157
|
-
required?: boolean | undefined;
|
2158
2241
|
dependsOn?: string[] | undefined;
|
2159
2242
|
defaultValue?: boolean | {
|
2160
2243
|
dependsOn: string[];
|
@@ -2166,7 +2249,11 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2166
2249
|
} | {
|
2167
2250
|
type: "ENABLE";
|
2168
2251
|
conditional: import(".").JSONSchema;
|
2252
|
+
} | {
|
2253
|
+
type: "DISPLAY_ON_REVIEW";
|
2254
|
+
conditional: import(".").JSONSchema;
|
2169
2255
|
})[] | undefined;
|
2256
|
+
required?: boolean | undefined;
|
2170
2257
|
disabled?: boolean | undefined;
|
2171
2258
|
hidden?: boolean | undefined;
|
2172
2259
|
placeholder?: TranslationConfig | undefined;
|
@@ -2187,7 +2274,6 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2187
2274
|
};
|
2188
2275
|
validator: import(".").JSONSchema;
|
2189
2276
|
}[] | undefined;
|
2190
|
-
required?: boolean | undefined;
|
2191
2277
|
dependsOn?: string[] | undefined;
|
2192
2278
|
defaultValue?: boolean | {
|
2193
2279
|
expression: string;
|
@@ -2199,7 +2285,11 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2199
2285
|
} | {
|
2200
2286
|
type: "ENABLE";
|
2201
2287
|
conditional: import(".").JSONSchema;
|
2288
|
+
} | {
|
2289
|
+
type: "DISPLAY_ON_REVIEW";
|
2290
|
+
conditional: import(".").JSONSchema;
|
2202
2291
|
})[] | undefined;
|
2292
|
+
required?: boolean | undefined;
|
2203
2293
|
disabled?: boolean | undefined;
|
2204
2294
|
hidden?: boolean | undefined;
|
2205
2295
|
placeholder?: {
|
@@ -2222,7 +2312,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2222
2312
|
expression: string;
|
2223
2313
|
dependsOn?: string[] | undefined;
|
2224
2314
|
}>]>>;
|
2225
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2315
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2226
2316
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2227
2317
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2228
2318
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2276,7 +2366,6 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2276
2366
|
message: TranslationConfig;
|
2277
2367
|
validator: import(".").JSONSchema;
|
2278
2368
|
}[] | undefined;
|
2279
|
-
required?: boolean | undefined;
|
2280
2369
|
dependsOn?: string[] | undefined;
|
2281
2370
|
defaultValue?: string | {
|
2282
2371
|
dependsOn: string[];
|
@@ -2288,7 +2377,11 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2288
2377
|
} | {
|
2289
2378
|
type: "ENABLE";
|
2290
2379
|
conditional: import(".").JSONSchema;
|
2380
|
+
} | {
|
2381
|
+
type: "DISPLAY_ON_REVIEW";
|
2382
|
+
conditional: import(".").JSONSchema;
|
2291
2383
|
})[] | undefined;
|
2384
|
+
required?: boolean | undefined;
|
2292
2385
|
disabled?: boolean | undefined;
|
2293
2386
|
hidden?: boolean | undefined;
|
2294
2387
|
placeholder?: TranslationConfig | undefined;
|
@@ -2309,7 +2402,6 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2309
2402
|
};
|
2310
2403
|
validator: import(".").JSONSchema;
|
2311
2404
|
}[] | undefined;
|
2312
|
-
required?: boolean | undefined;
|
2313
2405
|
dependsOn?: string[] | undefined;
|
2314
2406
|
defaultValue?: string | {
|
2315
2407
|
expression: string;
|
@@ -2321,7 +2413,11 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2321
2413
|
} | {
|
2322
2414
|
type: "ENABLE";
|
2323
2415
|
conditional: import(".").JSONSchema;
|
2416
|
+
} | {
|
2417
|
+
type: "DISPLAY_ON_REVIEW";
|
2418
|
+
conditional: import(".").JSONSchema;
|
2324
2419
|
})[] | undefined;
|
2420
|
+
required?: boolean | undefined;
|
2325
2421
|
disabled?: boolean | undefined;
|
2326
2422
|
hidden?: boolean | undefined;
|
2327
2423
|
placeholder?: {
|
@@ -2365,7 +2461,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2365
2461
|
expression: string;
|
2366
2462
|
dependsOn?: string[] | undefined;
|
2367
2463
|
}>]>>;
|
2368
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2464
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2369
2465
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2370
2466
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2371
2467
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2445,7 +2541,6 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2445
2541
|
message: TranslationConfig;
|
2446
2542
|
validator: import(".").JSONSchema;
|
2447
2543
|
}[] | undefined;
|
2448
|
-
required?: boolean | undefined;
|
2449
2544
|
dependsOn?: string[] | undefined;
|
2450
2545
|
defaultValue?: string | {
|
2451
2546
|
dependsOn: string[];
|
@@ -2457,7 +2552,11 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2457
2552
|
} | {
|
2458
2553
|
type: "ENABLE";
|
2459
2554
|
conditional: import(".").JSONSchema;
|
2555
|
+
} | {
|
2556
|
+
type: "DISPLAY_ON_REVIEW";
|
2557
|
+
conditional: import(".").JSONSchema;
|
2460
2558
|
})[] | undefined;
|
2559
|
+
required?: boolean | undefined;
|
2461
2560
|
disabled?: boolean | undefined;
|
2462
2561
|
hidden?: boolean | undefined;
|
2463
2562
|
placeholder?: TranslationConfig | undefined;
|
@@ -2484,7 +2583,6 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2484
2583
|
};
|
2485
2584
|
validator: import(".").JSONSchema;
|
2486
2585
|
}[] | undefined;
|
2487
|
-
required?: boolean | undefined;
|
2488
2586
|
dependsOn?: string[] | undefined;
|
2489
2587
|
defaultValue?: string | {
|
2490
2588
|
expression: string;
|
@@ -2496,7 +2594,11 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2496
2594
|
} | {
|
2497
2595
|
type: "ENABLE";
|
2498
2596
|
conditional: import(".").JSONSchema;
|
2597
|
+
} | {
|
2598
|
+
type: "DISPLAY_ON_REVIEW";
|
2599
|
+
conditional: import(".").JSONSchema;
|
2499
2600
|
})[] | undefined;
|
2601
|
+
required?: boolean | undefined;
|
2500
2602
|
disabled?: boolean | undefined;
|
2501
2603
|
hidden?: boolean | undefined;
|
2502
2604
|
placeholder?: {
|
@@ -2519,7 +2621,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2519
2621
|
expression: string;
|
2520
2622
|
dependsOn?: string[] | undefined;
|
2521
2623
|
}>]>>;
|
2522
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2624
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2523
2625
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2524
2626
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2525
2627
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2573,7 +2675,6 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2573
2675
|
message: TranslationConfig;
|
2574
2676
|
validator: import(".").JSONSchema;
|
2575
2677
|
}[] | undefined;
|
2576
|
-
required?: boolean | undefined;
|
2577
2678
|
dependsOn?: string[] | undefined;
|
2578
2679
|
defaultValue?: string | {
|
2579
2680
|
dependsOn: string[];
|
@@ -2585,7 +2686,11 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2585
2686
|
} | {
|
2586
2687
|
type: "ENABLE";
|
2587
2688
|
conditional: import(".").JSONSchema;
|
2689
|
+
} | {
|
2690
|
+
type: "DISPLAY_ON_REVIEW";
|
2691
|
+
conditional: import(".").JSONSchema;
|
2588
2692
|
})[] | undefined;
|
2693
|
+
required?: boolean | undefined;
|
2589
2694
|
disabled?: boolean | undefined;
|
2590
2695
|
hidden?: boolean | undefined;
|
2591
2696
|
placeholder?: TranslationConfig | undefined;
|
@@ -2606,7 +2711,6 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2606
2711
|
};
|
2607
2712
|
validator: import(".").JSONSchema;
|
2608
2713
|
}[] | undefined;
|
2609
|
-
required?: boolean | undefined;
|
2610
2714
|
dependsOn?: string[] | undefined;
|
2611
2715
|
defaultValue?: string | {
|
2612
2716
|
expression: string;
|
@@ -2618,7 +2722,11 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2618
2722
|
} | {
|
2619
2723
|
type: "ENABLE";
|
2620
2724
|
conditional: import(".").JSONSchema;
|
2725
|
+
} | {
|
2726
|
+
type: "DISPLAY_ON_REVIEW";
|
2727
|
+
conditional: import(".").JSONSchema;
|
2621
2728
|
})[] | undefined;
|
2729
|
+
required?: boolean | undefined;
|
2622
2730
|
disabled?: boolean | undefined;
|
2623
2731
|
hidden?: boolean | undefined;
|
2624
2732
|
placeholder?: {
|
@@ -2641,7 +2749,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2641
2749
|
expression: string;
|
2642
2750
|
dependsOn?: string[] | undefined;
|
2643
2751
|
}>]>>;
|
2644
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2752
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2645
2753
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2646
2754
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2647
2755
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2721,7 +2829,6 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2721
2829
|
message: TranslationConfig;
|
2722
2830
|
validator: import(".").JSONSchema;
|
2723
2831
|
}[] | undefined;
|
2724
|
-
required?: boolean | undefined;
|
2725
2832
|
dependsOn?: string[] | undefined;
|
2726
2833
|
defaultValue?: string | number | boolean | {
|
2727
2834
|
dependsOn: string[];
|
@@ -2733,7 +2840,11 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2733
2840
|
} | {
|
2734
2841
|
type: "ENABLE";
|
2735
2842
|
conditional: import(".").JSONSchema;
|
2843
|
+
} | {
|
2844
|
+
type: "DISPLAY_ON_REVIEW";
|
2845
|
+
conditional: import(".").JSONSchema;
|
2736
2846
|
})[] | undefined;
|
2847
|
+
required?: boolean | undefined;
|
2737
2848
|
disabled?: boolean | undefined;
|
2738
2849
|
hidden?: boolean | undefined;
|
2739
2850
|
placeholder?: TranslationConfig | undefined;
|
@@ -2762,7 +2873,6 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2762
2873
|
};
|
2763
2874
|
validator: import(".").JSONSchema;
|
2764
2875
|
}[] | undefined;
|
2765
|
-
required?: boolean | undefined;
|
2766
2876
|
dependsOn?: string[] | undefined;
|
2767
2877
|
defaultValue?: string | number | boolean | {
|
2768
2878
|
expression: string;
|
@@ -2774,7 +2884,11 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2774
2884
|
} | {
|
2775
2885
|
type: "ENABLE";
|
2776
2886
|
conditional: import(".").JSONSchema;
|
2887
|
+
} | {
|
2888
|
+
type: "DISPLAY_ON_REVIEW";
|
2889
|
+
conditional: import(".").JSONSchema;
|
2777
2890
|
})[] | undefined;
|
2891
|
+
required?: boolean | undefined;
|
2778
2892
|
disabled?: boolean | undefined;
|
2779
2893
|
hidden?: boolean | undefined;
|
2780
2894
|
placeholder?: {
|
@@ -2801,7 +2915,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2801
2915
|
expression: string;
|
2802
2916
|
dependsOn?: string[] | undefined;
|
2803
2917
|
}>]>>;
|
2804
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2918
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2805
2919
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2806
2920
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2807
2921
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2855,7 +2969,6 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2855
2969
|
message: TranslationConfig;
|
2856
2970
|
validator: import(".").JSONSchema;
|
2857
2971
|
}[] | undefined;
|
2858
|
-
required?: boolean | undefined;
|
2859
2972
|
dependsOn?: string[] | undefined;
|
2860
2973
|
defaultValue?: string | {
|
2861
2974
|
dependsOn: string[];
|
@@ -2867,7 +2980,11 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2867
2980
|
} | {
|
2868
2981
|
type: "ENABLE";
|
2869
2982
|
conditional: import(".").JSONSchema;
|
2983
|
+
} | {
|
2984
|
+
type: "DISPLAY_ON_REVIEW";
|
2985
|
+
conditional: import(".").JSONSchema;
|
2870
2986
|
})[] | undefined;
|
2987
|
+
required?: boolean | undefined;
|
2871
2988
|
disabled?: boolean | undefined;
|
2872
2989
|
hidden?: boolean | undefined;
|
2873
2990
|
placeholder?: TranslationConfig | undefined;
|
@@ -2888,7 +3005,6 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2888
3005
|
};
|
2889
3006
|
validator: import(".").JSONSchema;
|
2890
3007
|
}[] | undefined;
|
2891
|
-
required?: boolean | undefined;
|
2892
3008
|
dependsOn?: string[] | undefined;
|
2893
3009
|
defaultValue?: string | {
|
2894
3010
|
expression: string;
|
@@ -2900,7 +3016,11 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2900
3016
|
} | {
|
2901
3017
|
type: "ENABLE";
|
2902
3018
|
conditional: import(".").JSONSchema;
|
3019
|
+
} | {
|
3020
|
+
type: "DISPLAY_ON_REVIEW";
|
3021
|
+
conditional: import(".").JSONSchema;
|
2903
3022
|
})[] | undefined;
|
3023
|
+
required?: boolean | undefined;
|
2904
3024
|
disabled?: boolean | undefined;
|
2905
3025
|
hidden?: boolean | undefined;
|
2906
3026
|
placeholder?: {
|
@@ -2923,7 +3043,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2923
3043
|
expression: string;
|
2924
3044
|
dependsOn?: string[] | undefined;
|
2925
3045
|
}>]>>;
|
2926
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
3046
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2927
3047
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2928
3048
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2929
3049
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2977,7 +3097,6 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2977
3097
|
message: TranslationConfig;
|
2978
3098
|
validator: import(".").JSONSchema;
|
2979
3099
|
}[] | undefined;
|
2980
|
-
required?: boolean | undefined;
|
2981
3100
|
dependsOn?: string[] | undefined;
|
2982
3101
|
defaultValue?: string | {
|
2983
3102
|
dependsOn: string[];
|
@@ -2989,7 +3108,11 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2989
3108
|
} | {
|
2990
3109
|
type: "ENABLE";
|
2991
3110
|
conditional: import(".").JSONSchema;
|
3111
|
+
} | {
|
3112
|
+
type: "DISPLAY_ON_REVIEW";
|
3113
|
+
conditional: import(".").JSONSchema;
|
2992
3114
|
})[] | undefined;
|
3115
|
+
required?: boolean | undefined;
|
2993
3116
|
disabled?: boolean | undefined;
|
2994
3117
|
hidden?: boolean | undefined;
|
2995
3118
|
placeholder?: TranslationConfig | undefined;
|
@@ -3010,7 +3133,6 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3010
3133
|
};
|
3011
3134
|
validator: import(".").JSONSchema;
|
3012
3135
|
}[] | undefined;
|
3013
|
-
required?: boolean | undefined;
|
3014
3136
|
dependsOn?: string[] | undefined;
|
3015
3137
|
defaultValue?: string | {
|
3016
3138
|
expression: string;
|
@@ -3022,7 +3144,11 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3022
3144
|
} | {
|
3023
3145
|
type: "ENABLE";
|
3024
3146
|
conditional: import(".").JSONSchema;
|
3147
|
+
} | {
|
3148
|
+
type: "DISPLAY_ON_REVIEW";
|
3149
|
+
conditional: import(".").JSONSchema;
|
3025
3150
|
})[] | undefined;
|
3151
|
+
required?: boolean | undefined;
|
3026
3152
|
disabled?: boolean | undefined;
|
3027
3153
|
hidden?: boolean | undefined;
|
3028
3154
|
placeholder?: {
|
@@ -3045,7 +3171,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3045
3171
|
expression: string;
|
3046
3172
|
dependsOn?: string[] | undefined;
|
3047
3173
|
}>]>>;
|
3048
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
3174
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3049
3175
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3050
3176
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3051
3177
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3176,7 +3302,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3176
3302
|
message: TranslationConfig;
|
3177
3303
|
validator: import(".").JSONSchema;
|
3178
3304
|
}[] | undefined;
|
3179
|
-
required?: boolean | undefined;
|
3180
3305
|
dependsOn?: string[] | undefined;
|
3181
3306
|
defaultValue?: {
|
3182
3307
|
country: string;
|
@@ -3213,7 +3338,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3213
3338
|
} | {
|
3214
3339
|
type: "ENABLE";
|
3215
3340
|
conditional: import(".").JSONSchema;
|
3341
|
+
} | {
|
3342
|
+
type: "DISPLAY_ON_REVIEW";
|
3343
|
+
conditional: import(".").JSONSchema;
|
3216
3344
|
})[] | undefined;
|
3345
|
+
required?: boolean | undefined;
|
3217
3346
|
disabled?: boolean | undefined;
|
3218
3347
|
hidden?: boolean | undefined;
|
3219
3348
|
placeholder?: TranslationConfig | undefined;
|
@@ -3234,7 +3363,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3234
3363
|
};
|
3235
3364
|
validator: import(".").JSONSchema;
|
3236
3365
|
}[] | undefined;
|
3237
|
-
required?: boolean | undefined;
|
3238
3366
|
dependsOn?: string[] | undefined;
|
3239
3367
|
defaultValue?: {
|
3240
3368
|
country: string;
|
@@ -3271,7 +3399,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3271
3399
|
} | {
|
3272
3400
|
type: "ENABLE";
|
3273
3401
|
conditional: import(".").JSONSchema;
|
3402
|
+
} | {
|
3403
|
+
type: "DISPLAY_ON_REVIEW";
|
3404
|
+
conditional: import(".").JSONSchema;
|
3274
3405
|
})[] | undefined;
|
3406
|
+
required?: boolean | undefined;
|
3275
3407
|
disabled?: boolean | undefined;
|
3276
3408
|
hidden?: boolean | undefined;
|
3277
3409
|
placeholder?: {
|
@@ -3318,7 +3450,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3318
3450
|
expression: string;
|
3319
3451
|
dependsOn?: string[] | undefined;
|
3320
3452
|
}>]>>;
|
3321
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
3453
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3322
3454
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3323
3455
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3324
3456
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3426,7 +3558,6 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3426
3558
|
message: TranslationConfig;
|
3427
3559
|
validator: import(".").JSONSchema;
|
3428
3560
|
}[] | undefined;
|
3429
|
-
required?: boolean | undefined;
|
3430
3561
|
dependsOn?: string[] | undefined;
|
3431
3562
|
defaultValue?: string | number | boolean | {
|
3432
3563
|
dependsOn: string[];
|
@@ -3438,7 +3569,11 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3438
3569
|
} | {
|
3439
3570
|
type: "ENABLE";
|
3440
3571
|
conditional: import(".").JSONSchema;
|
3572
|
+
} | {
|
3573
|
+
type: "DISPLAY_ON_REVIEW";
|
3574
|
+
conditional: import(".").JSONSchema;
|
3441
3575
|
})[] | undefined;
|
3576
|
+
required?: boolean | undefined;
|
3442
3577
|
disabled?: boolean | undefined;
|
3443
3578
|
hidden?: boolean | undefined;
|
3444
3579
|
placeholder?: TranslationConfig | undefined;
|
@@ -3476,7 +3611,6 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3476
3611
|
};
|
3477
3612
|
validator: import(".").JSONSchema;
|
3478
3613
|
}[] | undefined;
|
3479
|
-
required?: boolean | undefined;
|
3480
3614
|
dependsOn?: string[] | undefined;
|
3481
3615
|
defaultValue?: string | number | boolean | {
|
3482
3616
|
expression: string;
|
@@ -3488,7 +3622,11 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3488
3622
|
} | {
|
3489
3623
|
type: "ENABLE";
|
3490
3624
|
conditional: import(".").JSONSchema;
|
3625
|
+
} | {
|
3626
|
+
type: "DISPLAY_ON_REVIEW";
|
3627
|
+
conditional: import(".").JSONSchema;
|
3491
3628
|
})[] | undefined;
|
3629
|
+
required?: boolean | undefined;
|
3492
3630
|
disabled?: boolean | undefined;
|
3493
3631
|
hidden?: boolean | undefined;
|
3494
3632
|
placeholder?: {
|