@opencrvs/toolkit 1.8.0-rc.facf9d6 → 1.8.0-rc.fafdecd
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 +7446 -7966
- package/dist/commons/conditionals/conditionals.d.ts +4 -12
- package/dist/commons/conditionals/validate.d.ts +6 -0
- package/dist/commons/events/ActionConfig.d.ts +59626 -28798
- package/dist/commons/events/ActionDocument.d.ts +3774 -1227
- package/dist/commons/events/ActionInput.d.ts +3066 -966
- package/dist/commons/events/ActionType.d.ts +4 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +339 -36
- package/dist/commons/events/CompositeFieldValue.d.ts +37 -9
- package/dist/commons/events/Constants.d.ts +1 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1891 -741
- package/dist/commons/events/CreatedAtLocation.d.ts +1 -2
- package/dist/commons/events/Draft.d.ts +264 -91
- package/dist/commons/events/EventConfig.d.ts +34730 -17420
- package/dist/commons/events/EventDocument.d.ts +2390 -803
- package/dist/commons/events/EventIndex.d.ts +1130 -257
- package/dist/commons/events/EventMetadata.d.ts +76 -64
- package/dist/commons/events/FieldConfig.d.ts +2300 -960
- package/dist/commons/events/FieldType.d.ts +5 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +144 -73
- package/dist/commons/events/FieldValue.d.ts +85 -20
- package/dist/commons/events/FormConfig.d.ts +23361 -14991
- package/dist/commons/events/PageConfig.d.ts +3730 -1680
- package/dist/commons/events/SummaryConfig.d.ts +0 -5
- package/dist/commons/events/User.d.ts +6 -3
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +5509 -1918
- package/dist/commons/events/defineConfig.d.ts +4553 -1462
- package/dist/commons/events/event.d.ts +10 -18
- package/dist/commons/events/field.d.ts +9 -0
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/scopes.d.ts +2 -3
- package/dist/commons/events/test.utils.d.ts +183 -50
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +13648 -1221
- package/dist/conditionals/index.js +40 -52
- package/dist/events/index.js +2527 -1749
- package/dist/scopes/index.d.ts +96 -7
- package/dist/scopes/index.js +105 -26
- package/package.json +3 -3
@@ -8,6 +8,25 @@ export declare const FieldReference: z.ZodObject<{
|
|
8
8
|
}, {
|
9
9
|
$$field: string;
|
10
10
|
}>;
|
11
|
+
export declare const ValidationConfig: z.ZodObject<{
|
12
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
13
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
14
|
+
id: string;
|
15
|
+
description: string;
|
16
|
+
defaultMessage: string;
|
17
|
+
}>;
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
19
|
+
message: TranslationConfig;
|
20
|
+
validator: import(".").JSONSchema;
|
21
|
+
}, {
|
22
|
+
message: {
|
23
|
+
id: string;
|
24
|
+
description: string;
|
25
|
+
defaultMessage: string;
|
26
|
+
};
|
27
|
+
validator: import(".").JSONSchema;
|
28
|
+
}>;
|
29
|
+
export type ValidationConfig = z.infer<typeof ValidationConfig>;
|
11
30
|
declare const BaseField: z.ZodObject<{
|
12
31
|
id: z.ZodString;
|
13
32
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -19,6 +38,7 @@ declare const BaseField: z.ZodObject<{
|
|
19
38
|
}>>;
|
20
39
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
21
40
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
41
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
22
42
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
23
43
|
id: string;
|
24
44
|
description: string;
|
@@ -74,6 +94,7 @@ declare const BaseField: z.ZodObject<{
|
|
74
94
|
type: "DISPLAY_ON_REVIEW";
|
75
95
|
conditional: import(".").JSONSchema;
|
76
96
|
})[] | undefined;
|
97
|
+
secured?: boolean | undefined;
|
77
98
|
placeholder?: TranslationConfig | undefined;
|
78
99
|
helperText?: TranslationConfig | undefined;
|
79
100
|
hideLabel?: boolean | undefined;
|
@@ -106,6 +127,7 @@ declare const BaseField: z.ZodObject<{
|
|
106
127
|
type: "DISPLAY_ON_REVIEW";
|
107
128
|
conditional: import(".").JSONSchema;
|
108
129
|
})[] | undefined;
|
130
|
+
secured?: boolean | undefined;
|
109
131
|
placeholder?: {
|
110
132
|
id: string;
|
111
133
|
description: string;
|
@@ -130,6 +152,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
130
152
|
}>>;
|
131
153
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
132
154
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
155
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
133
156
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
134
157
|
id: string;
|
135
158
|
description: string;
|
@@ -188,6 +211,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
188
211
|
type: "DISPLAY_ON_REVIEW";
|
189
212
|
conditional: import(".").JSONSchema;
|
190
213
|
})[] | undefined;
|
214
|
+
secured?: boolean | undefined;
|
191
215
|
placeholder?: TranslationConfig | undefined;
|
192
216
|
helperText?: TranslationConfig | undefined;
|
193
217
|
hideLabel?: boolean | undefined;
|
@@ -221,6 +245,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
221
245
|
type: "DISPLAY_ON_REVIEW";
|
222
246
|
conditional: import(".").JSONSchema;
|
223
247
|
})[] | undefined;
|
248
|
+
secured?: boolean | undefined;
|
224
249
|
placeholder?: {
|
225
250
|
id: string;
|
226
251
|
description: string;
|
@@ -245,6 +270,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
245
270
|
}>>;
|
246
271
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
247
272
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
273
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
248
274
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
249
275
|
id: string;
|
250
276
|
description: string;
|
@@ -336,6 +362,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
336
362
|
type: "DISPLAY_ON_REVIEW";
|
337
363
|
conditional: import(".").JSONSchema;
|
338
364
|
})[] | undefined;
|
365
|
+
secured?: boolean | undefined;
|
339
366
|
placeholder?: TranslationConfig | undefined;
|
340
367
|
helperText?: TranslationConfig | undefined;
|
341
368
|
hideLabel?: boolean | undefined;
|
@@ -376,6 +403,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
376
403
|
type: "DISPLAY_ON_REVIEW";
|
377
404
|
conditional: import(".").JSONSchema;
|
378
405
|
})[] | undefined;
|
406
|
+
secured?: boolean | undefined;
|
379
407
|
placeholder?: {
|
380
408
|
id: string;
|
381
409
|
description: string;
|
@@ -415,6 +443,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
415
443
|
}>>;
|
416
444
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
417
445
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
446
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
418
447
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
419
448
|
id: string;
|
420
449
|
description: string;
|
@@ -506,6 +535,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
506
535
|
type: "DISPLAY_ON_REVIEW";
|
507
536
|
conditional: import(".").JSONSchema;
|
508
537
|
})[] | undefined;
|
538
|
+
secured?: boolean | undefined;
|
509
539
|
placeholder?: TranslationConfig | undefined;
|
510
540
|
helperText?: TranslationConfig | undefined;
|
511
541
|
hideLabel?: boolean | undefined;
|
@@ -546,6 +576,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
546
576
|
type: "DISPLAY_ON_REVIEW";
|
547
577
|
conditional: import(".").JSONSchema;
|
548
578
|
})[] | undefined;
|
579
|
+
secured?: boolean | undefined;
|
549
580
|
placeholder?: {
|
550
581
|
id: string;
|
551
582
|
description: string;
|
@@ -584,6 +615,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
584
615
|
}>>;
|
585
616
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
586
617
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
618
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
587
619
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
588
620
|
id: string;
|
589
621
|
description: string;
|
@@ -678,6 +710,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
678
710
|
type: "DISPLAY_ON_REVIEW";
|
679
711
|
conditional: import(".").JSONSchema;
|
680
712
|
})[] | undefined;
|
713
|
+
secured?: boolean | undefined;
|
681
714
|
placeholder?: TranslationConfig | undefined;
|
682
715
|
helperText?: TranslationConfig | undefined;
|
683
716
|
hideLabel?: boolean | undefined;
|
@@ -719,6 +752,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
719
752
|
type: "DISPLAY_ON_REVIEW";
|
720
753
|
conditional: import(".").JSONSchema;
|
721
754
|
})[] | undefined;
|
755
|
+
secured?: boolean | undefined;
|
722
756
|
placeholder?: {
|
723
757
|
id: string;
|
724
758
|
description: string;
|
@@ -762,6 +796,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
762
796
|
}>>;
|
763
797
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
764
798
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
799
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
765
800
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
766
801
|
id: string;
|
767
802
|
description: string;
|
@@ -841,6 +876,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
841
876
|
type: "DISPLAY_ON_REVIEW";
|
842
877
|
conditional: import(".").JSONSchema;
|
843
878
|
})[] | undefined;
|
879
|
+
secured?: boolean | undefined;
|
844
880
|
placeholder?: TranslationConfig | undefined;
|
845
881
|
helperText?: TranslationConfig | undefined;
|
846
882
|
hideLabel?: boolean | undefined;
|
@@ -880,6 +916,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
880
916
|
type: "DISPLAY_ON_REVIEW";
|
881
917
|
conditional: import(".").JSONSchema;
|
882
918
|
})[] | undefined;
|
919
|
+
secured?: boolean | undefined;
|
883
920
|
placeholder?: {
|
884
921
|
id: string;
|
885
922
|
description: string;
|
@@ -909,6 +946,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
909
946
|
}>>;
|
910
947
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
911
948
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
949
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
912
950
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
913
951
|
id: string;
|
914
952
|
description: string;
|
@@ -975,6 +1013,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
975
1013
|
type: "DISPLAY_ON_REVIEW";
|
976
1014
|
conditional: import(".").JSONSchema;
|
977
1015
|
})[] | undefined;
|
1016
|
+
secured?: boolean | undefined;
|
978
1017
|
placeholder?: TranslationConfig | undefined;
|
979
1018
|
helperText?: TranslationConfig | undefined;
|
980
1019
|
hideLabel?: boolean | undefined;
|
@@ -1012,6 +1051,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1012
1051
|
type: "DISPLAY_ON_REVIEW";
|
1013
1052
|
conditional: import(".").JSONSchema;
|
1014
1053
|
})[] | undefined;
|
1054
|
+
secured?: boolean | undefined;
|
1015
1055
|
placeholder?: {
|
1016
1056
|
id: string;
|
1017
1057
|
description: string;
|
@@ -1040,6 +1080,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1040
1080
|
}>>;
|
1041
1081
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1042
1082
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1083
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1043
1084
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1044
1085
|
id: string;
|
1045
1086
|
description: string;
|
@@ -1114,6 +1155,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1114
1155
|
type: "DISPLAY_ON_REVIEW";
|
1115
1156
|
conditional: import(".").JSONSchema;
|
1116
1157
|
})[] | undefined;
|
1158
|
+
secured?: boolean | undefined;
|
1117
1159
|
placeholder?: TranslationConfig | undefined;
|
1118
1160
|
helperText?: TranslationConfig | undefined;
|
1119
1161
|
hideLabel?: boolean | undefined;
|
@@ -1151,6 +1193,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1151
1193
|
type: "DISPLAY_ON_REVIEW";
|
1152
1194
|
conditional: import(".").JSONSchema;
|
1153
1195
|
})[] | undefined;
|
1196
|
+
secured?: boolean | undefined;
|
1154
1197
|
placeholder?: {
|
1155
1198
|
id: string;
|
1156
1199
|
description: string;
|
@@ -1172,7 +1215,10 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1172
1215
|
} | undefined;
|
1173
1216
|
}>;
|
1174
1217
|
export type DateField = z.infer<typeof DateField>;
|
1175
|
-
|
1218
|
+
/**
|
1219
|
+
* For internal use only. Needed for search functionality.
|
1220
|
+
*/
|
1221
|
+
export declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
1176
1222
|
id: z.ZodString;
|
1177
1223
|
parent: z.ZodOptional<z.ZodObject<{
|
1178
1224
|
$$field: z.ZodString;
|
@@ -1183,6 +1229,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1183
1229
|
}>>;
|
1184
1230
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1185
1231
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1232
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1186
1233
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1187
1234
|
id: string;
|
1188
1235
|
description: string;
|
@@ -1219,7 +1266,16 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1219
1266
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1220
1267
|
}, {
|
1221
1268
|
type: z.ZodLiteral<"DATE_RANGE">;
|
1222
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.
|
1269
|
+
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1270
|
+
start: z.ZodString;
|
1271
|
+
end: z.ZodString;
|
1272
|
+
}, "strip", z.ZodTypeAny, {
|
1273
|
+
start: string;
|
1274
|
+
end: string;
|
1275
|
+
}, {
|
1276
|
+
start: string;
|
1277
|
+
end: string;
|
1278
|
+
}>, z.ZodString]>>;
|
1223
1279
|
configuration: z.ZodOptional<z.ZodObject<{
|
1224
1280
|
notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1225
1281
|
id: string;
|
@@ -1257,10 +1313,14 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1257
1313
|
type: "DISPLAY_ON_REVIEW";
|
1258
1314
|
conditional: import(".").JSONSchema;
|
1259
1315
|
})[] | undefined;
|
1316
|
+
secured?: boolean | undefined;
|
1260
1317
|
placeholder?: TranslationConfig | undefined;
|
1261
1318
|
helperText?: TranslationConfig | undefined;
|
1262
1319
|
hideLabel?: boolean | undefined;
|
1263
|
-
defaultValue?: string |
|
1320
|
+
defaultValue?: string | {
|
1321
|
+
start: string;
|
1322
|
+
end: string;
|
1323
|
+
} | undefined;
|
1264
1324
|
configuration?: {
|
1265
1325
|
notice?: TranslationConfig | undefined;
|
1266
1326
|
} | undefined;
|
@@ -1294,6 +1354,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1294
1354
|
type: "DISPLAY_ON_REVIEW";
|
1295
1355
|
conditional: import(".").JSONSchema;
|
1296
1356
|
})[] | undefined;
|
1357
|
+
secured?: boolean | undefined;
|
1297
1358
|
placeholder?: {
|
1298
1359
|
id: string;
|
1299
1360
|
description: string;
|
@@ -1305,7 +1366,10 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1305
1366
|
defaultMessage: string;
|
1306
1367
|
} | undefined;
|
1307
1368
|
hideLabel?: boolean | undefined;
|
1308
|
-
defaultValue?: string |
|
1369
|
+
defaultValue?: string | {
|
1370
|
+
start: string;
|
1371
|
+
end: string;
|
1372
|
+
} | undefined;
|
1309
1373
|
configuration?: {
|
1310
1374
|
notice?: {
|
1311
1375
|
id: string;
|
@@ -1317,29 +1381,6 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1317
1381
|
export type DateRangeField = z.infer<typeof DateRangeField>;
|
1318
1382
|
declare const HtmlFontVariant: z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>;
|
1319
1383
|
export type HtmlFontVariant = z.infer<typeof HtmlFontVariant>;
|
1320
|
-
declare const ParagraphConfiguration: z.ZodDefault<z.ZodObject<{
|
1321
|
-
styles: z.ZodOptional<z.ZodObject<{
|
1322
|
-
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
1323
|
-
hint: z.ZodOptional<z.ZodBoolean>;
|
1324
|
-
}, "strip", z.ZodTypeAny, {
|
1325
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1326
|
-
hint?: boolean | undefined;
|
1327
|
-
}, {
|
1328
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1329
|
-
hint?: boolean | undefined;
|
1330
|
-
}>>;
|
1331
|
-
}, "strip", z.ZodTypeAny, {
|
1332
|
-
styles?: {
|
1333
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1334
|
-
hint?: boolean | undefined;
|
1335
|
-
} | undefined;
|
1336
|
-
}, {
|
1337
|
-
styles?: {
|
1338
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1339
|
-
hint?: boolean | undefined;
|
1340
|
-
} | undefined;
|
1341
|
-
}>>;
|
1342
|
-
export type ParagraphConfiguration = z.infer<typeof ParagraphConfiguration>;
|
1343
1384
|
declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
1344
1385
|
id: z.ZodString;
|
1345
1386
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -1351,6 +1392,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1351
1392
|
}>>;
|
1352
1393
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1353
1394
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1395
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1354
1396
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1355
1397
|
id: string;
|
1356
1398
|
description: string;
|
@@ -1391,23 +1433,18 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1391
1433
|
configuration: z.ZodDefault<z.ZodObject<{
|
1392
1434
|
styles: z.ZodOptional<z.ZodObject<{
|
1393
1435
|
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
1394
|
-
hint: z.ZodOptional<z.ZodBoolean>;
|
1395
1436
|
}, "strip", z.ZodTypeAny, {
|
1396
1437
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1397
|
-
hint?: boolean | undefined;
|
1398
1438
|
}, {
|
1399
1439
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1400
|
-
hint?: boolean | undefined;
|
1401
1440
|
}>>;
|
1402
1441
|
}, "strip", z.ZodTypeAny, {
|
1403
1442
|
styles?: {
|
1404
1443
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1405
|
-
hint?: boolean | undefined;
|
1406
1444
|
} | undefined;
|
1407
1445
|
}, {
|
1408
1446
|
styles?: {
|
1409
1447
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1410
|
-
hint?: boolean | undefined;
|
1411
1448
|
} | undefined;
|
1412
1449
|
}>>;
|
1413
1450
|
}>, "strip", z.ZodTypeAny, {
|
@@ -1417,7 +1454,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1417
1454
|
configuration: {
|
1418
1455
|
styles?: {
|
1419
1456
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1420
|
-
hint?: boolean | undefined;
|
1421
1457
|
} | undefined;
|
1422
1458
|
};
|
1423
1459
|
parent?: {
|
@@ -1438,6 +1474,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1438
1474
|
type: "DISPLAY_ON_REVIEW";
|
1439
1475
|
conditional: import(".").JSONSchema;
|
1440
1476
|
})[] | undefined;
|
1477
|
+
secured?: boolean | undefined;
|
1441
1478
|
placeholder?: TranslationConfig | undefined;
|
1442
1479
|
helperText?: TranslationConfig | undefined;
|
1443
1480
|
hideLabel?: boolean | undefined;
|
@@ -1472,6 +1509,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1472
1509
|
type: "DISPLAY_ON_REVIEW";
|
1473
1510
|
conditional: import(".").JSONSchema;
|
1474
1511
|
})[] | undefined;
|
1512
|
+
secured?: boolean | undefined;
|
1475
1513
|
placeholder?: {
|
1476
1514
|
id: string;
|
1477
1515
|
description: string;
|
@@ -1487,7 +1525,6 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1487
1525
|
configuration?: {
|
1488
1526
|
styles?: {
|
1489
1527
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1490
|
-
hint?: boolean | undefined;
|
1491
1528
|
} | undefined;
|
1492
1529
|
} | undefined;
|
1493
1530
|
}>;
|
@@ -1503,6 +1540,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1503
1540
|
}>>;
|
1504
1541
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1505
1542
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1543
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1506
1544
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1507
1545
|
id: string;
|
1508
1546
|
description: string;
|
@@ -1562,6 +1600,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1562
1600
|
type: "DISPLAY_ON_REVIEW";
|
1563
1601
|
conditional: import(".").JSONSchema;
|
1564
1602
|
})[] | undefined;
|
1603
|
+
secured?: boolean | undefined;
|
1565
1604
|
placeholder?: TranslationConfig | undefined;
|
1566
1605
|
helperText?: TranslationConfig | undefined;
|
1567
1606
|
hideLabel?: boolean | undefined;
|
@@ -1596,6 +1635,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1596
1635
|
type: "DISPLAY_ON_REVIEW";
|
1597
1636
|
conditional: import(".").JSONSchema;
|
1598
1637
|
})[] | undefined;
|
1638
|
+
secured?: boolean | undefined;
|
1599
1639
|
placeholder?: {
|
1600
1640
|
id: string;
|
1601
1641
|
description: string;
|
@@ -1621,6 +1661,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1621
1661
|
}>>;
|
1622
1662
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1623
1663
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1664
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1624
1665
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1625
1666
|
id: string;
|
1626
1667
|
description: string;
|
@@ -1658,16 +1699,16 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1658
1699
|
}, {
|
1659
1700
|
type: z.ZodLiteral<"FILE">;
|
1660
1701
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
1661
|
-
|
1702
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
1662
1703
|
originalFilename: z.ZodString;
|
1663
1704
|
type: z.ZodString;
|
1664
1705
|
}, "strip", z.ZodTypeAny, {
|
1665
1706
|
type: string;
|
1666
|
-
|
1707
|
+
path: string;
|
1667
1708
|
originalFilename: string;
|
1668
1709
|
}, {
|
1669
1710
|
type: string;
|
1670
|
-
|
1711
|
+
path: string;
|
1671
1712
|
originalFilename: string;
|
1672
1713
|
}>>;
|
1673
1714
|
configuration: z.ZodDefault<z.ZodObject<{
|
@@ -1734,12 +1775,13 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1734
1775
|
type: "DISPLAY_ON_REVIEW";
|
1735
1776
|
conditional: import(".").JSONSchema;
|
1736
1777
|
})[] | undefined;
|
1778
|
+
secured?: boolean | undefined;
|
1737
1779
|
placeholder?: TranslationConfig | undefined;
|
1738
1780
|
helperText?: TranslationConfig | undefined;
|
1739
1781
|
hideLabel?: boolean | undefined;
|
1740
1782
|
defaultValue?: {
|
1741
1783
|
type: string;
|
1742
|
-
|
1784
|
+
path: string;
|
1743
1785
|
originalFilename: string;
|
1744
1786
|
} | undefined;
|
1745
1787
|
}, {
|
@@ -1772,6 +1814,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1772
1814
|
type: "DISPLAY_ON_REVIEW";
|
1773
1815
|
conditional: import(".").JSONSchema;
|
1774
1816
|
})[] | undefined;
|
1817
|
+
secured?: boolean | undefined;
|
1775
1818
|
placeholder?: {
|
1776
1819
|
id: string;
|
1777
1820
|
description: string;
|
@@ -1785,7 +1828,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1785
1828
|
hideLabel?: boolean | undefined;
|
1786
1829
|
defaultValue?: {
|
1787
1830
|
type: string;
|
1788
|
-
|
1831
|
+
path: string;
|
1789
1832
|
originalFilename: string;
|
1790
1833
|
} | undefined;
|
1791
1834
|
configuration?: {
|
@@ -1831,6 +1874,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1831
1874
|
}>>;
|
1832
1875
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1833
1876
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1877
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1834
1878
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1835
1879
|
id: string;
|
1836
1880
|
description: string;
|
@@ -1929,6 +1973,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1929
1973
|
type: "DISPLAY_ON_REVIEW";
|
1930
1974
|
conditional: import(".").JSONSchema;
|
1931
1975
|
})[] | undefined;
|
1976
|
+
secured?: boolean | undefined;
|
1932
1977
|
placeholder?: TranslationConfig | undefined;
|
1933
1978
|
helperText?: TranslationConfig | undefined;
|
1934
1979
|
hideLabel?: boolean | undefined;
|
@@ -1976,6 +2021,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1976
2021
|
type: "DISPLAY_ON_REVIEW";
|
1977
2022
|
conditional: import(".").JSONSchema;
|
1978
2023
|
})[] | undefined;
|
2024
|
+
secured?: boolean | undefined;
|
1979
2025
|
placeholder?: {
|
1980
2026
|
id: string;
|
1981
2027
|
description: string;
|
@@ -2006,6 +2052,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2006
2052
|
}>>;
|
2007
2053
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2008
2054
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2055
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2009
2056
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2010
2057
|
id: string;
|
2011
2058
|
description: string;
|
@@ -2093,6 +2140,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2093
2140
|
type: "DISPLAY_ON_REVIEW";
|
2094
2141
|
conditional: import(".").JSONSchema;
|
2095
2142
|
})[] | undefined;
|
2143
|
+
secured?: boolean | undefined;
|
2096
2144
|
placeholder?: TranslationConfig | undefined;
|
2097
2145
|
helperText?: TranslationConfig | undefined;
|
2098
2146
|
hideLabel?: boolean | undefined;
|
@@ -2132,6 +2180,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2132
2180
|
type: "DISPLAY_ON_REVIEW";
|
2133
2181
|
conditional: import(".").JSONSchema;
|
2134
2182
|
})[] | undefined;
|
2183
|
+
secured?: boolean | undefined;
|
2135
2184
|
placeholder?: {
|
2136
2185
|
id: string;
|
2137
2186
|
description: string;
|
@@ -2162,6 +2211,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2162
2211
|
}>>;
|
2163
2212
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2164
2213
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2214
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2165
2215
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2166
2216
|
id: string;
|
2167
2217
|
description: string;
|
@@ -2243,6 +2293,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2243
2293
|
type: "DISPLAY_ON_REVIEW";
|
2244
2294
|
conditional: import(".").JSONSchema;
|
2245
2295
|
})[] | undefined;
|
2296
|
+
secured?: boolean | undefined;
|
2246
2297
|
placeholder?: TranslationConfig | undefined;
|
2247
2298
|
helperText?: TranslationConfig | undefined;
|
2248
2299
|
hideLabel?: boolean | undefined;
|
@@ -2285,6 +2336,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2285
2336
|
type: "DISPLAY_ON_REVIEW";
|
2286
2337
|
conditional: import(".").JSONSchema;
|
2287
2338
|
})[] | undefined;
|
2339
|
+
secured?: boolean | undefined;
|
2288
2340
|
placeholder?: {
|
2289
2341
|
id: string;
|
2290
2342
|
description: string;
|
@@ -2298,7 +2350,29 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2298
2350
|
hideLabel?: boolean | undefined;
|
2299
2351
|
defaultValue?: string | undefined;
|
2300
2352
|
}>;
|
2301
|
-
declare const
|
2353
|
+
export declare const SelectDateRangeOption: z.ZodObject<{
|
2354
|
+
value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
2355
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2356
|
+
id: string;
|
2357
|
+
description: string;
|
2358
|
+
defaultMessage: string;
|
2359
|
+
}>;
|
2360
|
+
}, "strip", z.ZodTypeAny, {
|
2361
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2362
|
+
label: TranslationConfig;
|
2363
|
+
}, {
|
2364
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2365
|
+
label: {
|
2366
|
+
id: string;
|
2367
|
+
description: string;
|
2368
|
+
defaultMessage: string;
|
2369
|
+
};
|
2370
|
+
}>;
|
2371
|
+
export type SelectDateRangeOption = z.infer<typeof SelectDateRangeOption>;
|
2372
|
+
/**
|
2373
|
+
* For internal use only. Needed for search functionality.
|
2374
|
+
*/
|
2375
|
+
export declare const SelectDateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
2302
2376
|
id: z.ZodString;
|
2303
2377
|
parent: z.ZodOptional<z.ZodObject<{
|
2304
2378
|
$$field: z.ZodString;
|
@@ -2309,6 +2383,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2309
2383
|
}>>;
|
2310
2384
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2311
2385
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2386
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2312
2387
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2313
2388
|
id: string;
|
2314
2389
|
description: string;
|
@@ -2344,11 +2419,33 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2344
2419
|
}>>;
|
2345
2420
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2346
2421
|
}, {
|
2347
|
-
type: z.ZodLiteral<"
|
2348
|
-
defaultValue: z.ZodOptional<z.
|
2422
|
+
type: z.ZodLiteral<"SELECT_DATE_RANGE">;
|
2423
|
+
defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
|
2424
|
+
options: z.ZodArray<z.ZodObject<{
|
2425
|
+
value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
2426
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2427
|
+
id: string;
|
2428
|
+
description: string;
|
2429
|
+
defaultMessage: string;
|
2430
|
+
}>;
|
2431
|
+
}, "strip", z.ZodTypeAny, {
|
2432
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2433
|
+
label: TranslationConfig;
|
2434
|
+
}, {
|
2435
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2436
|
+
label: {
|
2437
|
+
id: string;
|
2438
|
+
description: string;
|
2439
|
+
defaultMessage: string;
|
2440
|
+
};
|
2441
|
+
}>, "many">;
|
2349
2442
|
}>, "strip", z.ZodTypeAny, {
|
2350
|
-
type: "
|
2443
|
+
type: "SELECT_DATE_RANGE";
|
2351
2444
|
id: string;
|
2445
|
+
options: {
|
2446
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2447
|
+
label: TranslationConfig;
|
2448
|
+
}[];
|
2352
2449
|
label: TranslationConfig;
|
2353
2450
|
parent?: {
|
2354
2451
|
$$field: string;
|
@@ -2368,13 +2465,22 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2368
2465
|
type: "DISPLAY_ON_REVIEW";
|
2369
2466
|
conditional: import(".").JSONSchema;
|
2370
2467
|
})[] | undefined;
|
2468
|
+
secured?: boolean | undefined;
|
2371
2469
|
placeholder?: TranslationConfig | undefined;
|
2372
2470
|
helperText?: TranslationConfig | undefined;
|
2373
2471
|
hideLabel?: boolean | undefined;
|
2374
|
-
defaultValue?:
|
2472
|
+
defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
|
2375
2473
|
}, {
|
2376
|
-
type: "
|
2474
|
+
type: "SELECT_DATE_RANGE";
|
2377
2475
|
id: string;
|
2476
|
+
options: {
|
2477
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2478
|
+
label: {
|
2479
|
+
id: string;
|
2480
|
+
description: string;
|
2481
|
+
defaultMessage: string;
|
2482
|
+
};
|
2483
|
+
}[];
|
2378
2484
|
label: {
|
2379
2485
|
id: string;
|
2380
2486
|
description: string;
|
@@ -2402,6 +2508,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2402
2508
|
type: "DISPLAY_ON_REVIEW";
|
2403
2509
|
conditional: import(".").JSONSchema;
|
2404
2510
|
})[] | undefined;
|
2511
|
+
secured?: boolean | undefined;
|
2405
2512
|
placeholder?: {
|
2406
2513
|
id: string;
|
2407
2514
|
description: string;
|
@@ -2413,10 +2520,10 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2413
2520
|
defaultMessage: string;
|
2414
2521
|
} | undefined;
|
2415
2522
|
hideLabel?: boolean | undefined;
|
2416
|
-
defaultValue?:
|
2523
|
+
defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
|
2417
2524
|
}>;
|
2418
|
-
export type
|
2419
|
-
declare const
|
2525
|
+
export type SelectDateRangeField = z.infer<typeof SelectDateRangeField>;
|
2526
|
+
declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
2420
2527
|
id: z.ZodString;
|
2421
2528
|
parent: z.ZodOptional<z.ZodObject<{
|
2422
2529
|
$$field: z.ZodString;
|
@@ -2427,6 +2534,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2427
2534
|
}>>;
|
2428
2535
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2429
2536
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2537
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2430
2538
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2431
2539
|
id: string;
|
2432
2540
|
description: string;
|
@@ -2462,10 +2570,54 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2462
2570
|
}>>;
|
2463
2571
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2464
2572
|
}, {
|
2465
|
-
type: z.ZodLiteral<"
|
2466
|
-
defaultValue: z.ZodOptional<z.
|
2573
|
+
type: z.ZodLiteral<"NAME">;
|
2574
|
+
defaultValue: z.ZodOptional<z.ZodObject<{
|
2575
|
+
firstname: z.ZodString;
|
2576
|
+
surname: z.ZodString;
|
2577
|
+
}, "strip", z.ZodTypeAny, {
|
2578
|
+
firstname: string;
|
2579
|
+
surname: string;
|
2580
|
+
}, {
|
2581
|
+
firstname: string;
|
2582
|
+
surname: string;
|
2583
|
+
}>>;
|
2584
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
2585
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
2586
|
+
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2587
|
+
id: string;
|
2588
|
+
description: string;
|
2589
|
+
defaultMessage: string;
|
2590
|
+
}>>;
|
2591
|
+
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2592
|
+
id: string;
|
2593
|
+
description: string;
|
2594
|
+
defaultMessage: string;
|
2595
|
+
}>>;
|
2596
|
+
includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2597
|
+
searchMode: z.ZodOptional<z.ZodBoolean>;
|
2598
|
+
}, "strip", z.ZodTypeAny, {
|
2599
|
+
maxLength?: number | undefined;
|
2600
|
+
prefix?: TranslationConfig | undefined;
|
2601
|
+
postfix?: TranslationConfig | undefined;
|
2602
|
+
includeMiddlename?: boolean | undefined;
|
2603
|
+
searchMode?: boolean | undefined;
|
2604
|
+
}, {
|
2605
|
+
maxLength?: number | undefined;
|
2606
|
+
prefix?: {
|
2607
|
+
id: string;
|
2608
|
+
description: string;
|
2609
|
+
defaultMessage: string;
|
2610
|
+
} | undefined;
|
2611
|
+
postfix?: {
|
2612
|
+
id: string;
|
2613
|
+
description: string;
|
2614
|
+
defaultMessage: string;
|
2615
|
+
} | undefined;
|
2616
|
+
includeMiddlename?: boolean | undefined;
|
2617
|
+
searchMode?: boolean | undefined;
|
2618
|
+
}>>;
|
2467
2619
|
}>, "strip", z.ZodTypeAny, {
|
2468
|
-
type: "
|
2620
|
+
type: "NAME";
|
2469
2621
|
id: string;
|
2470
2622
|
label: TranslationConfig;
|
2471
2623
|
parent?: {
|
@@ -2486,12 +2638,23 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2486
2638
|
type: "DISPLAY_ON_REVIEW";
|
2487
2639
|
conditional: import(".").JSONSchema;
|
2488
2640
|
})[] | undefined;
|
2641
|
+
secured?: boolean | undefined;
|
2489
2642
|
placeholder?: TranslationConfig | undefined;
|
2490
2643
|
helperText?: TranslationConfig | undefined;
|
2491
2644
|
hideLabel?: boolean | undefined;
|
2492
|
-
defaultValue?:
|
2645
|
+
defaultValue?: {
|
2646
|
+
firstname: string;
|
2647
|
+
surname: string;
|
2648
|
+
} | undefined;
|
2649
|
+
configuration?: {
|
2650
|
+
maxLength?: number | undefined;
|
2651
|
+
prefix?: TranslationConfig | undefined;
|
2652
|
+
postfix?: TranslationConfig | undefined;
|
2653
|
+
includeMiddlename?: boolean | undefined;
|
2654
|
+
searchMode?: boolean | undefined;
|
2655
|
+
} | undefined;
|
2493
2656
|
}, {
|
2494
|
-
type: "
|
2657
|
+
type: "NAME";
|
2495
2658
|
id: string;
|
2496
2659
|
label: {
|
2497
2660
|
id: string;
|
@@ -2520,6 +2683,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2520
2683
|
type: "DISPLAY_ON_REVIEW";
|
2521
2684
|
conditional: import(".").JSONSchema;
|
2522
2685
|
})[] | undefined;
|
2686
|
+
secured?: boolean | undefined;
|
2523
2687
|
placeholder?: {
|
2524
2688
|
id: string;
|
2525
2689
|
description: string;
|
@@ -2531,31 +2695,27 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2531
2695
|
defaultMessage: string;
|
2532
2696
|
} | undefined;
|
2533
2697
|
hideLabel?: boolean | undefined;
|
2534
|
-
defaultValue?:
|
2535
|
-
|
2536
|
-
|
2537
|
-
export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
2538
|
-
declare const AdministrativeAreaConfiguration: z.ZodObject<{
|
2539
|
-
partOf: z.ZodOptional<z.ZodObject<{
|
2540
|
-
$declaration: z.ZodString;
|
2541
|
-
}, "strip", z.ZodTypeAny, {
|
2542
|
-
$declaration: string;
|
2543
|
-
}, {
|
2544
|
-
$declaration: string;
|
2545
|
-
}>>;
|
2546
|
-
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
2547
|
-
}, "strip", z.ZodTypeAny, {
|
2548
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2549
|
-
partOf?: {
|
2550
|
-
$declaration: string;
|
2698
|
+
defaultValue?: {
|
2699
|
+
firstname: string;
|
2700
|
+
surname: string;
|
2551
2701
|
} | undefined;
|
2552
|
-
|
2553
|
-
|
2554
|
-
|
2555
|
-
|
2702
|
+
configuration?: {
|
2703
|
+
maxLength?: number | undefined;
|
2704
|
+
prefix?: {
|
2705
|
+
id: string;
|
2706
|
+
description: string;
|
2707
|
+
defaultMessage: string;
|
2708
|
+
} | undefined;
|
2709
|
+
postfix?: {
|
2710
|
+
id: string;
|
2711
|
+
description: string;
|
2712
|
+
defaultMessage: string;
|
2713
|
+
} | undefined;
|
2714
|
+
includeMiddlename?: boolean | undefined;
|
2715
|
+
searchMode?: boolean | undefined;
|
2556
2716
|
} | undefined;
|
2557
2717
|
}>;
|
2558
|
-
declare const
|
2718
|
+
declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
|
2559
2719
|
id: z.ZodString;
|
2560
2720
|
parent: z.ZodOptional<z.ZodObject<{
|
2561
2721
|
$$field: z.ZodString;
|
@@ -2566,6 +2726,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2566
2726
|
}>>;
|
2567
2727
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2568
2728
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2729
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2569
2730
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2570
2731
|
id: string;
|
2571
2732
|
description: string;
|
@@ -2601,38 +2762,12 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2601
2762
|
}>>;
|
2602
2763
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2603
2764
|
}, {
|
2604
|
-
type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
|
2605
2765
|
defaultValue: z.ZodOptional<z.ZodString>;
|
2606
|
-
|
2607
|
-
partOf: z.ZodOptional<z.ZodObject<{
|
2608
|
-
$declaration: z.ZodString;
|
2609
|
-
}, "strip", z.ZodTypeAny, {
|
2610
|
-
$declaration: string;
|
2611
|
-
}, {
|
2612
|
-
$declaration: string;
|
2613
|
-
}>>;
|
2614
|
-
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
2615
|
-
}, "strip", z.ZodTypeAny, {
|
2616
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2617
|
-
partOf?: {
|
2618
|
-
$declaration: string;
|
2619
|
-
} | undefined;
|
2620
|
-
}, {
|
2621
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2622
|
-
partOf?: {
|
2623
|
-
$declaration: string;
|
2624
|
-
} | undefined;
|
2625
|
-
}>;
|
2766
|
+
type: z.ZodLiteral<"PHONE">;
|
2626
2767
|
}>, "strip", z.ZodTypeAny, {
|
2627
|
-
type: "
|
2768
|
+
type: "PHONE";
|
2628
2769
|
id: string;
|
2629
2770
|
label: TranslationConfig;
|
2630
|
-
configuration: {
|
2631
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2632
|
-
partOf?: {
|
2633
|
-
$declaration: string;
|
2634
|
-
} | undefined;
|
2635
|
-
};
|
2636
2771
|
parent?: {
|
2637
2772
|
$$field: string;
|
2638
2773
|
} | undefined;
|
@@ -2651,24 +2786,19 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2651
2786
|
type: "DISPLAY_ON_REVIEW";
|
2652
2787
|
conditional: import(".").JSONSchema;
|
2653
2788
|
})[] | undefined;
|
2789
|
+
secured?: boolean | undefined;
|
2654
2790
|
placeholder?: TranslationConfig | undefined;
|
2655
2791
|
helperText?: TranslationConfig | undefined;
|
2656
2792
|
hideLabel?: boolean | undefined;
|
2657
2793
|
defaultValue?: string | undefined;
|
2658
2794
|
}, {
|
2659
|
-
type: "
|
2795
|
+
type: "PHONE";
|
2660
2796
|
id: string;
|
2661
2797
|
label: {
|
2662
2798
|
id: string;
|
2663
2799
|
description: string;
|
2664
2800
|
defaultMessage: string;
|
2665
2801
|
};
|
2666
|
-
configuration: {
|
2667
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2668
|
-
partOf?: {
|
2669
|
-
$declaration: string;
|
2670
|
-
} | undefined;
|
2671
|
-
};
|
2672
2802
|
parent?: {
|
2673
2803
|
$$field: string;
|
2674
2804
|
} | undefined;
|
@@ -2691,6 +2821,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2691
2821
|
type: "DISPLAY_ON_REVIEW";
|
2692
2822
|
conditional: import(".").JSONSchema;
|
2693
2823
|
})[] | undefined;
|
2824
|
+
secured?: boolean | undefined;
|
2694
2825
|
placeholder?: {
|
2695
2826
|
id: string;
|
2696
2827
|
description: string;
|
@@ -2704,8 +2835,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2704
2835
|
hideLabel?: boolean | undefined;
|
2705
2836
|
defaultValue?: string | undefined;
|
2706
2837
|
}>;
|
2707
|
-
|
2708
|
-
declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
2838
|
+
declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
|
2709
2839
|
id: z.ZodString;
|
2710
2840
|
parent: z.ZodOptional<z.ZodObject<{
|
2711
2841
|
$$field: z.ZodString;
|
@@ -2716,6 +2846,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2716
2846
|
}>>;
|
2717
2847
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2718
2848
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2849
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2719
2850
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2720
2851
|
id: string;
|
2721
2852
|
description: string;
|
@@ -2751,10 +2882,10 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2751
2882
|
}>>;
|
2752
2883
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2753
2884
|
}, {
|
2754
|
-
type: z.ZodLiteral<"LOCATION">;
|
2755
2885
|
defaultValue: z.ZodOptional<z.ZodString>;
|
2886
|
+
type: z.ZodLiteral<"ID">;
|
2756
2887
|
}>, "strip", z.ZodTypeAny, {
|
2757
|
-
type: "
|
2888
|
+
type: "ID";
|
2758
2889
|
id: string;
|
2759
2890
|
label: TranslationConfig;
|
2760
2891
|
parent?: {
|
@@ -2775,12 +2906,13 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2775
2906
|
type: "DISPLAY_ON_REVIEW";
|
2776
2907
|
conditional: import(".").JSONSchema;
|
2777
2908
|
})[] | undefined;
|
2909
|
+
secured?: boolean | undefined;
|
2778
2910
|
placeholder?: TranslationConfig | undefined;
|
2779
2911
|
helperText?: TranslationConfig | undefined;
|
2780
2912
|
hideLabel?: boolean | undefined;
|
2781
2913
|
defaultValue?: string | undefined;
|
2782
2914
|
}, {
|
2783
|
-
type: "
|
2915
|
+
type: "ID";
|
2784
2916
|
id: string;
|
2785
2917
|
label: {
|
2786
2918
|
id: string;
|
@@ -2809,6 +2941,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2809
2941
|
type: "DISPLAY_ON_REVIEW";
|
2810
2942
|
conditional: import(".").JSONSchema;
|
2811
2943
|
})[] | undefined;
|
2944
|
+
secured?: boolean | undefined;
|
2812
2945
|
placeholder?: {
|
2813
2946
|
id: string;
|
2814
2947
|
description: string;
|
@@ -2822,8 +2955,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2822
2955
|
hideLabel?: boolean | undefined;
|
2823
2956
|
defaultValue?: string | undefined;
|
2824
2957
|
}>;
|
2825
|
-
|
2826
|
-
declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
2958
|
+
declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
2827
2959
|
id: z.ZodString;
|
2828
2960
|
parent: z.ZodOptional<z.ZodObject<{
|
2829
2961
|
$$field: z.ZodString;
|
@@ -2834,6 +2966,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2834
2966
|
}>>;
|
2835
2967
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2836
2968
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2969
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2837
2970
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2838
2971
|
id: string;
|
2839
2972
|
description: string;
|
@@ -2869,63 +3002,12 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2869
3002
|
}>>;
|
2870
3003
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2871
3004
|
}, {
|
2872
|
-
type: z.ZodLiteral<"
|
2873
|
-
|
2874
|
-
value: z.ZodString;
|
2875
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2876
|
-
id: string;
|
2877
|
-
description: string;
|
2878
|
-
defaultMessage: string;
|
2879
|
-
}>;
|
2880
|
-
}, "strip", z.ZodTypeAny, {
|
2881
|
-
value: string;
|
2882
|
-
label: TranslationConfig;
|
2883
|
-
}, {
|
2884
|
-
value: string;
|
2885
|
-
label: {
|
2886
|
-
id: string;
|
2887
|
-
description: string;
|
2888
|
-
defaultMessage: string;
|
2889
|
-
};
|
2890
|
-
}>, "many">;
|
2891
|
-
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2892
|
-
filename: z.ZodString;
|
2893
|
-
originalFilename: z.ZodString;
|
2894
|
-
type: z.ZodString;
|
2895
|
-
option: z.ZodString;
|
2896
|
-
}, "strip", z.ZodTypeAny, {
|
2897
|
-
type: string;
|
2898
|
-
option: string;
|
2899
|
-
filename: string;
|
2900
|
-
originalFilename: string;
|
2901
|
-
}, {
|
2902
|
-
type: string;
|
2903
|
-
option: string;
|
2904
|
-
filename: string;
|
2905
|
-
originalFilename: string;
|
2906
|
-
}>, "many">>;
|
2907
|
-
configuration: z.ZodDefault<z.ZodObject<{
|
2908
|
-
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
2909
|
-
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
2910
|
-
}, "strip", z.ZodTypeAny, {
|
2911
|
-
maxFileSize: number;
|
2912
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
2913
|
-
}, {
|
2914
|
-
maxFileSize?: number | undefined;
|
2915
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
2916
|
-
}>>;
|
3005
|
+
type: z.ZodLiteral<"CHECKBOX">;
|
3006
|
+
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
2917
3007
|
}>, "strip", z.ZodTypeAny, {
|
2918
|
-
type: "
|
3008
|
+
type: "CHECKBOX";
|
2919
3009
|
id: string;
|
2920
|
-
options: {
|
2921
|
-
value: string;
|
2922
|
-
label: TranslationConfig;
|
2923
|
-
}[];
|
2924
3010
|
label: TranslationConfig;
|
2925
|
-
configuration: {
|
2926
|
-
maxFileSize: number;
|
2927
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
2928
|
-
};
|
2929
3011
|
parent?: {
|
2930
3012
|
$$field: string;
|
2931
3013
|
} | undefined;
|
@@ -2944,26 +3026,14 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2944
3026
|
type: "DISPLAY_ON_REVIEW";
|
2945
3027
|
conditional: import(".").JSONSchema;
|
2946
3028
|
})[] | undefined;
|
3029
|
+
secured?: boolean | undefined;
|
2947
3030
|
placeholder?: TranslationConfig | undefined;
|
2948
3031
|
helperText?: TranslationConfig | undefined;
|
2949
3032
|
hideLabel?: boolean | undefined;
|
2950
|
-
defaultValue?:
|
2951
|
-
type: string;
|
2952
|
-
option: string;
|
2953
|
-
filename: string;
|
2954
|
-
originalFilename: string;
|
2955
|
-
}[] | undefined;
|
3033
|
+
defaultValue?: boolean | undefined;
|
2956
3034
|
}, {
|
2957
|
-
type: "
|
3035
|
+
type: "CHECKBOX";
|
2958
3036
|
id: string;
|
2959
|
-
options: {
|
2960
|
-
value: string;
|
2961
|
-
label: {
|
2962
|
-
id: string;
|
2963
|
-
description: string;
|
2964
|
-
defaultMessage: string;
|
2965
|
-
};
|
2966
|
-
}[];
|
2967
3037
|
label: {
|
2968
3038
|
id: string;
|
2969
3039
|
description: string;
|
@@ -2991,6 +3061,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2991
3061
|
type: "DISPLAY_ON_REVIEW";
|
2992
3062
|
conditional: import(".").JSONSchema;
|
2993
3063
|
})[] | undefined;
|
3064
|
+
secured?: boolean | undefined;
|
2994
3065
|
placeholder?: {
|
2995
3066
|
id: string;
|
2996
3067
|
description: string;
|
@@ -3002,19 +3073,10 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
3002
3073
|
defaultMessage: string;
|
3003
3074
|
} | undefined;
|
3004
3075
|
hideLabel?: boolean | undefined;
|
3005
|
-
defaultValue?:
|
3006
|
-
type: string;
|
3007
|
-
option: string;
|
3008
|
-
filename: string;
|
3009
|
-
originalFilename: string;
|
3010
|
-
}[] | undefined;
|
3011
|
-
configuration?: {
|
3012
|
-
maxFileSize?: number | undefined;
|
3013
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
3014
|
-
} | undefined;
|
3076
|
+
defaultValue?: boolean | undefined;
|
3015
3077
|
}>;
|
3016
|
-
export type
|
3017
|
-
declare const
|
3078
|
+
export type Checkbox = z.infer<typeof Checkbox>;
|
3079
|
+
declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
3018
3080
|
id: z.ZodString;
|
3019
3081
|
parent: z.ZodOptional<z.ZodObject<{
|
3020
3082
|
$$field: z.ZodString;
|
@@ -3025,6 +3087,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3025
3087
|
}>>;
|
3026
3088
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3027
3089
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3090
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3028
3091
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3029
3092
|
id: string;
|
3030
3093
|
description: string;
|
@@ -3060,10 +3123,10 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3060
3123
|
}>>;
|
3061
3124
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3062
3125
|
}, {
|
3063
|
-
type: z.ZodLiteral<"
|
3126
|
+
type: z.ZodLiteral<"COUNTRY">;
|
3064
3127
|
defaultValue: z.ZodOptional<z.ZodString>;
|
3065
3128
|
}>, "strip", z.ZodTypeAny, {
|
3066
|
-
type: "
|
3129
|
+
type: "COUNTRY";
|
3067
3130
|
id: string;
|
3068
3131
|
label: TranslationConfig;
|
3069
3132
|
parent?: {
|
@@ -3084,12 +3147,13 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3084
3147
|
type: "DISPLAY_ON_REVIEW";
|
3085
3148
|
conditional: import(".").JSONSchema;
|
3086
3149
|
})[] | undefined;
|
3150
|
+
secured?: boolean | undefined;
|
3087
3151
|
placeholder?: TranslationConfig | undefined;
|
3088
3152
|
helperText?: TranslationConfig | undefined;
|
3089
3153
|
hideLabel?: boolean | undefined;
|
3090
3154
|
defaultValue?: string | undefined;
|
3091
3155
|
}, {
|
3092
|
-
type: "
|
3156
|
+
type: "COUNTRY";
|
3093
3157
|
id: string;
|
3094
3158
|
label: {
|
3095
3159
|
id: string;
|
@@ -3118,6 +3182,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3118
3182
|
type: "DISPLAY_ON_REVIEW";
|
3119
3183
|
conditional: import(".").JSONSchema;
|
3120
3184
|
})[] | undefined;
|
3185
|
+
secured?: boolean | undefined;
|
3121
3186
|
placeholder?: {
|
3122
3187
|
id: string;
|
3123
3188
|
description: string;
|
@@ -3131,8 +3196,29 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3131
3196
|
hideLabel?: boolean | undefined;
|
3132
3197
|
defaultValue?: string | undefined;
|
3133
3198
|
}>;
|
3134
|
-
export type
|
3135
|
-
declare const
|
3199
|
+
export type Country = z.infer<typeof Country>;
|
3200
|
+
export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
3201
|
+
declare const AdministrativeAreaConfiguration: z.ZodObject<{
|
3202
|
+
partOf: z.ZodOptional<z.ZodObject<{
|
3203
|
+
$declaration: z.ZodString;
|
3204
|
+
}, "strip", z.ZodTypeAny, {
|
3205
|
+
$declaration: string;
|
3206
|
+
}, {
|
3207
|
+
$declaration: string;
|
3208
|
+
}>>;
|
3209
|
+
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
3210
|
+
}, "strip", z.ZodTypeAny, {
|
3211
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
3212
|
+
partOf?: {
|
3213
|
+
$declaration: string;
|
3214
|
+
} | undefined;
|
3215
|
+
}, {
|
3216
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
3217
|
+
partOf?: {
|
3218
|
+
$declaration: string;
|
3219
|
+
} | undefined;
|
3220
|
+
}>;
|
3221
|
+
declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
3136
3222
|
id: z.ZodString;
|
3137
3223
|
parent: z.ZodOptional<z.ZodObject<{
|
3138
3224
|
$$field: z.ZodString;
|
@@ -3143,6 +3229,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3143
3229
|
}>>;
|
3144
3230
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3145
3231
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3232
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3146
3233
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3147
3234
|
id: string;
|
3148
3235
|
description: string;
|
@@ -3178,12 +3265,38 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3178
3265
|
}>>;
|
3179
3266
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3180
3267
|
}, {
|
3181
|
-
type: z.ZodLiteral<"
|
3268
|
+
type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
|
3182
3269
|
defaultValue: z.ZodOptional<z.ZodString>;
|
3270
|
+
configuration: z.ZodObject<{
|
3271
|
+
partOf: z.ZodOptional<z.ZodObject<{
|
3272
|
+
$declaration: z.ZodString;
|
3273
|
+
}, "strip", z.ZodTypeAny, {
|
3274
|
+
$declaration: string;
|
3275
|
+
}, {
|
3276
|
+
$declaration: string;
|
3277
|
+
}>>;
|
3278
|
+
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
3279
|
+
}, "strip", z.ZodTypeAny, {
|
3280
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
3281
|
+
partOf?: {
|
3282
|
+
$declaration: string;
|
3283
|
+
} | undefined;
|
3284
|
+
}, {
|
3285
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
3286
|
+
partOf?: {
|
3287
|
+
$declaration: string;
|
3288
|
+
} | undefined;
|
3289
|
+
}>;
|
3183
3290
|
}>, "strip", z.ZodTypeAny, {
|
3184
|
-
type: "
|
3291
|
+
type: "ADMINISTRATIVE_AREA";
|
3185
3292
|
id: string;
|
3186
3293
|
label: TranslationConfig;
|
3294
|
+
configuration: {
|
3295
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
3296
|
+
partOf?: {
|
3297
|
+
$declaration: string;
|
3298
|
+
} | undefined;
|
3299
|
+
};
|
3187
3300
|
parent?: {
|
3188
3301
|
$$field: string;
|
3189
3302
|
} | undefined;
|
@@ -3202,18 +3315,25 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3202
3315
|
type: "DISPLAY_ON_REVIEW";
|
3203
3316
|
conditional: import(".").JSONSchema;
|
3204
3317
|
})[] | undefined;
|
3318
|
+
secured?: boolean | undefined;
|
3205
3319
|
placeholder?: TranslationConfig | undefined;
|
3206
3320
|
helperText?: TranslationConfig | undefined;
|
3207
3321
|
hideLabel?: boolean | undefined;
|
3208
3322
|
defaultValue?: string | undefined;
|
3209
3323
|
}, {
|
3210
|
-
type: "
|
3324
|
+
type: "ADMINISTRATIVE_AREA";
|
3211
3325
|
id: string;
|
3212
3326
|
label: {
|
3213
3327
|
id: string;
|
3214
3328
|
description: string;
|
3215
3329
|
defaultMessage: string;
|
3216
3330
|
};
|
3331
|
+
configuration: {
|
3332
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
3333
|
+
partOf?: {
|
3334
|
+
$declaration: string;
|
3335
|
+
} | undefined;
|
3336
|
+
};
|
3217
3337
|
parent?: {
|
3218
3338
|
$$field: string;
|
3219
3339
|
} | undefined;
|
@@ -3236,6 +3356,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3236
3356
|
type: "DISPLAY_ON_REVIEW";
|
3237
3357
|
conditional: import(".").JSONSchema;
|
3238
3358
|
})[] | undefined;
|
3359
|
+
secured?: boolean | undefined;
|
3239
3360
|
placeholder?: {
|
3240
3361
|
id: string;
|
3241
3362
|
description: string;
|
@@ -3249,8 +3370,8 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3249
3370
|
hideLabel?: boolean | undefined;
|
3250
3371
|
defaultValue?: string | undefined;
|
3251
3372
|
}>;
|
3252
|
-
export type
|
3253
|
-
declare const
|
3373
|
+
export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
|
3374
|
+
declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
3254
3375
|
id: z.ZodString;
|
3255
3376
|
parent: z.ZodOptional<z.ZodObject<{
|
3256
3377
|
$$field: z.ZodString;
|
@@ -3261,6 +3382,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3261
3382
|
}>>;
|
3262
3383
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3263
3384
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3385
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3264
3386
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3265
3387
|
id: string;
|
3266
3388
|
description: string;
|
@@ -3296,96 +3418,10 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3296
3418
|
}>>;
|
3297
3419
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3298
3420
|
}, {
|
3299
|
-
type: z.ZodLiteral<"
|
3300
|
-
defaultValue: z.ZodOptional<z.
|
3301
|
-
country: z.ZodString;
|
3302
|
-
addressType: z.ZodLiteral<"DOMESTIC">;
|
3303
|
-
province: z.ZodString;
|
3304
|
-
district: z.ZodString;
|
3305
|
-
}, {
|
3306
|
-
urbanOrRural: z.ZodLiteral<"URBAN">;
|
3307
|
-
town: z.ZodOptional<z.ZodString>;
|
3308
|
-
residentialArea: z.ZodOptional<z.ZodString>;
|
3309
|
-
street: z.ZodOptional<z.ZodString>;
|
3310
|
-
number: z.ZodOptional<z.ZodString>;
|
3311
|
-
zipCode: z.ZodOptional<z.ZodString>;
|
3312
|
-
}>, "strip", z.ZodTypeAny, {
|
3313
|
-
country: string;
|
3314
|
-
district: string;
|
3315
|
-
addressType: "DOMESTIC";
|
3316
|
-
province: string;
|
3317
|
-
urbanOrRural: "URBAN";
|
3318
|
-
number?: string | undefined;
|
3319
|
-
town?: string | undefined;
|
3320
|
-
residentialArea?: string | undefined;
|
3321
|
-
street?: string | undefined;
|
3322
|
-
zipCode?: string | undefined;
|
3323
|
-
}, {
|
3324
|
-
country: string;
|
3325
|
-
district: string;
|
3326
|
-
addressType: "DOMESTIC";
|
3327
|
-
province: string;
|
3328
|
-
urbanOrRural: "URBAN";
|
3329
|
-
number?: string | undefined;
|
3330
|
-
town?: string | undefined;
|
3331
|
-
residentialArea?: string | undefined;
|
3332
|
-
street?: string | undefined;
|
3333
|
-
zipCode?: string | undefined;
|
3334
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3335
|
-
country: z.ZodString;
|
3336
|
-
addressType: z.ZodLiteral<"DOMESTIC">;
|
3337
|
-
province: z.ZodString;
|
3338
|
-
district: z.ZodString;
|
3339
|
-
}, {
|
3340
|
-
urbanOrRural: z.ZodLiteral<"RURAL">;
|
3341
|
-
village: z.ZodOptional<z.ZodString>;
|
3342
|
-
}>, "strip", z.ZodTypeAny, {
|
3343
|
-
country: string;
|
3344
|
-
district: string;
|
3345
|
-
addressType: "DOMESTIC";
|
3346
|
-
province: string;
|
3347
|
-
urbanOrRural: "RURAL";
|
3348
|
-
village?: string | undefined;
|
3349
|
-
}, {
|
3350
|
-
country: string;
|
3351
|
-
district: string;
|
3352
|
-
addressType: "DOMESTIC";
|
3353
|
-
province: string;
|
3354
|
-
urbanOrRural: "RURAL";
|
3355
|
-
village?: string | undefined;
|
3356
|
-
}>]>, z.ZodObject<{
|
3357
|
-
country: z.ZodString;
|
3358
|
-
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
3359
|
-
state: z.ZodString;
|
3360
|
-
district2: z.ZodString;
|
3361
|
-
cityOrTown: z.ZodOptional<z.ZodString>;
|
3362
|
-
addressLine1: z.ZodOptional<z.ZodString>;
|
3363
|
-
addressLine2: z.ZodOptional<z.ZodString>;
|
3364
|
-
addressLine3: z.ZodOptional<z.ZodString>;
|
3365
|
-
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
3366
|
-
}, "strip", z.ZodTypeAny, {
|
3367
|
-
country: string;
|
3368
|
-
state: string;
|
3369
|
-
addressType: "INTERNATIONAL";
|
3370
|
-
district2: string;
|
3371
|
-
cityOrTown?: string | undefined;
|
3372
|
-
addressLine1?: string | undefined;
|
3373
|
-
addressLine2?: string | undefined;
|
3374
|
-
addressLine3?: string | undefined;
|
3375
|
-
postcodeOrZip?: string | undefined;
|
3376
|
-
}, {
|
3377
|
-
country: string;
|
3378
|
-
state: string;
|
3379
|
-
addressType: "INTERNATIONAL";
|
3380
|
-
district2: string;
|
3381
|
-
cityOrTown?: string | undefined;
|
3382
|
-
addressLine1?: string | undefined;
|
3383
|
-
addressLine2?: string | undefined;
|
3384
|
-
addressLine3?: string | undefined;
|
3385
|
-
postcodeOrZip?: string | undefined;
|
3386
|
-
}>]>>;
|
3421
|
+
type: z.ZodLiteral<"LOCATION">;
|
3422
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
3387
3423
|
}>, "strip", z.ZodTypeAny, {
|
3388
|
-
type: "
|
3424
|
+
type: "LOCATION";
|
3389
3425
|
id: string;
|
3390
3426
|
label: TranslationConfig;
|
3391
3427
|
parent?: {
|
@@ -3406,40 +3442,13 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3406
3442
|
type: "DISPLAY_ON_REVIEW";
|
3407
3443
|
conditional: import(".").JSONSchema;
|
3408
3444
|
})[] | undefined;
|
3445
|
+
secured?: boolean | undefined;
|
3409
3446
|
placeholder?: TranslationConfig | undefined;
|
3410
3447
|
helperText?: TranslationConfig | undefined;
|
3411
3448
|
hideLabel?: boolean | undefined;
|
3412
|
-
defaultValue?:
|
3413
|
-
country: string;
|
3414
|
-
district: string;
|
3415
|
-
addressType: "DOMESTIC";
|
3416
|
-
province: string;
|
3417
|
-
urbanOrRural: "URBAN";
|
3418
|
-
number?: string | undefined;
|
3419
|
-
town?: string | undefined;
|
3420
|
-
residentialArea?: string | undefined;
|
3421
|
-
street?: string | undefined;
|
3422
|
-
zipCode?: string | undefined;
|
3423
|
-
} | {
|
3424
|
-
country: string;
|
3425
|
-
district: string;
|
3426
|
-
addressType: "DOMESTIC";
|
3427
|
-
province: string;
|
3428
|
-
urbanOrRural: "RURAL";
|
3429
|
-
village?: string | undefined;
|
3430
|
-
} | {
|
3431
|
-
country: string;
|
3432
|
-
state: string;
|
3433
|
-
addressType: "INTERNATIONAL";
|
3434
|
-
district2: string;
|
3435
|
-
cityOrTown?: string | undefined;
|
3436
|
-
addressLine1?: string | undefined;
|
3437
|
-
addressLine2?: string | undefined;
|
3438
|
-
addressLine3?: string | undefined;
|
3439
|
-
postcodeOrZip?: string | undefined;
|
3440
|
-
} | undefined;
|
3449
|
+
defaultValue?: string | undefined;
|
3441
3450
|
}, {
|
3442
|
-
type: "
|
3451
|
+
type: "LOCATION";
|
3443
3452
|
id: string;
|
3444
3453
|
label: {
|
3445
3454
|
id: string;
|
@@ -3468,6 +3477,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3468
3477
|
type: "DISPLAY_ON_REVIEW";
|
3469
3478
|
conditional: import(".").JSONSchema;
|
3470
3479
|
})[] | undefined;
|
3480
|
+
secured?: boolean | undefined;
|
3471
3481
|
placeholder?: {
|
3472
3482
|
id: string;
|
3473
3483
|
description: string;
|
@@ -3479,70 +3489,1566 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3479
3489
|
defaultMessage: string;
|
3480
3490
|
} | undefined;
|
3481
3491
|
hideLabel?: boolean | undefined;
|
3482
|
-
defaultValue?:
|
3483
|
-
country: string;
|
3484
|
-
district: string;
|
3485
|
-
addressType: "DOMESTIC";
|
3486
|
-
province: string;
|
3487
|
-
urbanOrRural: "URBAN";
|
3488
|
-
number?: string | undefined;
|
3489
|
-
town?: string | undefined;
|
3490
|
-
residentialArea?: string | undefined;
|
3491
|
-
street?: string | undefined;
|
3492
|
-
zipCode?: string | undefined;
|
3493
|
-
} | {
|
3494
|
-
country: string;
|
3495
|
-
district: string;
|
3496
|
-
addressType: "DOMESTIC";
|
3497
|
-
province: string;
|
3498
|
-
urbanOrRural: "RURAL";
|
3499
|
-
village?: string | undefined;
|
3500
|
-
} | {
|
3501
|
-
country: string;
|
3502
|
-
state: string;
|
3503
|
-
addressType: "INTERNATIONAL";
|
3504
|
-
district2: string;
|
3505
|
-
cityOrTown?: string | undefined;
|
3506
|
-
addressLine1?: string | undefined;
|
3507
|
-
addressLine2?: string | undefined;
|
3508
|
-
addressLine3?: string | undefined;
|
3509
|
-
postcodeOrZip?: string | undefined;
|
3510
|
-
} | undefined;
|
3492
|
+
defaultValue?: string | undefined;
|
3511
3493
|
}>;
|
3512
|
-
export
|
3513
|
-
|
3514
|
-
|
3515
|
-
|
3494
|
+
export type Location = z.infer<typeof Location>;
|
3495
|
+
declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
3496
|
+
id: z.ZodString;
|
3497
|
+
parent: z.ZodOptional<z.ZodObject<{
|
3498
|
+
$$field: z.ZodString;
|
3499
|
+
}, "strip", z.ZodTypeAny, {
|
3500
|
+
$$field: string;
|
3501
|
+
}, {
|
3502
|
+
$$field: string;
|
3503
|
+
}>>;
|
3504
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3505
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3506
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3507
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3508
|
+
id: string;
|
3509
|
+
description: string;
|
3510
|
+
defaultMessage: string;
|
3511
|
+
}>>;
|
3512
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
3513
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
3514
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3515
|
+
id: string;
|
3516
|
+
description: string;
|
3517
|
+
defaultMessage: string;
|
3518
|
+
}>;
|
3519
|
+
}, "strip", z.ZodTypeAny, {
|
3520
|
+
message: TranslationConfig;
|
3521
|
+
validator: import(".").JSONSchema;
|
3522
|
+
}, {
|
3523
|
+
message: {
|
3524
|
+
id: string;
|
3525
|
+
description: string;
|
3526
|
+
defaultMessage: string;
|
3527
|
+
};
|
3528
|
+
validator: import(".").JSONSchema;
|
3529
|
+
}>, "many">>>;
|
3530
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3531
|
+
id: string;
|
3532
|
+
description: string;
|
3533
|
+
defaultMessage: string;
|
3534
|
+
}>;
|
3535
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3536
|
+
id: string;
|
3537
|
+
description: string;
|
3538
|
+
defaultMessage: string;
|
3539
|
+
}>>;
|
3540
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3541
|
+
}, {
|
3542
|
+
type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
|
3543
|
+
options: z.ZodArray<z.ZodObject<{
|
3544
|
+
value: z.ZodString;
|
3545
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3546
|
+
id: string;
|
3547
|
+
description: string;
|
3548
|
+
defaultMessage: string;
|
3549
|
+
}>;
|
3550
|
+
}, "strip", z.ZodTypeAny, {
|
3551
|
+
value: string;
|
3552
|
+
label: TranslationConfig;
|
3553
|
+
}, {
|
3554
|
+
value: string;
|
3555
|
+
label: {
|
3556
|
+
id: string;
|
3557
|
+
description: string;
|
3558
|
+
defaultMessage: string;
|
3559
|
+
};
|
3560
|
+
}>, "many">;
|
3561
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3562
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
3563
|
+
originalFilename: z.ZodString;
|
3564
|
+
type: z.ZodString;
|
3565
|
+
option: z.ZodString;
|
3566
|
+
}, "strip", z.ZodTypeAny, {
|
3567
|
+
type: string;
|
3568
|
+
option: string;
|
3569
|
+
path: string;
|
3570
|
+
originalFilename: string;
|
3571
|
+
}, {
|
3572
|
+
type: string;
|
3573
|
+
option: string;
|
3574
|
+
path: string;
|
3575
|
+
originalFilename: string;
|
3576
|
+
}>, "many">>;
|
3577
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
3578
|
+
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
3579
|
+
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
3580
|
+
}, "strip", z.ZodTypeAny, {
|
3581
|
+
maxFileSize: number;
|
3582
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
3583
|
+
}, {
|
3584
|
+
maxFileSize?: number | undefined;
|
3585
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
3586
|
+
}>>;
|
3587
|
+
}>, "strip", z.ZodTypeAny, {
|
3588
|
+
type: "FILE_WITH_OPTIONS";
|
3589
|
+
id: string;
|
3590
|
+
options: {
|
3591
|
+
value: string;
|
3592
|
+
label: TranslationConfig;
|
3593
|
+
}[];
|
3594
|
+
label: TranslationConfig;
|
3595
|
+
configuration: {
|
3596
|
+
maxFileSize: number;
|
3597
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
3598
|
+
};
|
3599
|
+
parent?: {
|
3600
|
+
$$field: string;
|
3601
|
+
} | undefined;
|
3602
|
+
validation?: {
|
3603
|
+
message: TranslationConfig;
|
3604
|
+
validator: import(".").JSONSchema;
|
3605
|
+
}[] | undefined;
|
3606
|
+
required?: boolean | undefined;
|
3607
|
+
conditionals?: ({
|
3608
|
+
type: "SHOW";
|
3609
|
+
conditional: import(".").JSONSchema;
|
3610
|
+
} | {
|
3611
|
+
type: "ENABLE";
|
3612
|
+
conditional: import(".").JSONSchema;
|
3613
|
+
} | {
|
3614
|
+
type: "DISPLAY_ON_REVIEW";
|
3615
|
+
conditional: import(".").JSONSchema;
|
3616
|
+
})[] | undefined;
|
3617
|
+
secured?: boolean | undefined;
|
3618
|
+
placeholder?: TranslationConfig | undefined;
|
3619
|
+
helperText?: TranslationConfig | undefined;
|
3620
|
+
hideLabel?: boolean | undefined;
|
3621
|
+
defaultValue?: {
|
3622
|
+
type: string;
|
3623
|
+
option: string;
|
3624
|
+
path: string;
|
3625
|
+
originalFilename: string;
|
3626
|
+
}[] | undefined;
|
3627
|
+
}, {
|
3628
|
+
type: "FILE_WITH_OPTIONS";
|
3629
|
+
id: string;
|
3630
|
+
options: {
|
3631
|
+
value: string;
|
3632
|
+
label: {
|
3633
|
+
id: string;
|
3634
|
+
description: string;
|
3635
|
+
defaultMessage: string;
|
3636
|
+
};
|
3637
|
+
}[];
|
3638
|
+
label: {
|
3639
|
+
id: string;
|
3640
|
+
description: string;
|
3641
|
+
defaultMessage: string;
|
3642
|
+
};
|
3643
|
+
parent?: {
|
3644
|
+
$$field: string;
|
3645
|
+
} | undefined;
|
3646
|
+
validation?: {
|
3647
|
+
message: {
|
3648
|
+
id: string;
|
3649
|
+
description: string;
|
3650
|
+
defaultMessage: string;
|
3651
|
+
};
|
3652
|
+
validator: import(".").JSONSchema;
|
3653
|
+
}[] | undefined;
|
3654
|
+
required?: boolean | undefined;
|
3655
|
+
conditionals?: ({
|
3656
|
+
type: "SHOW";
|
3657
|
+
conditional: import(".").JSONSchema;
|
3658
|
+
} | {
|
3659
|
+
type: "ENABLE";
|
3660
|
+
conditional: import(".").JSONSchema;
|
3661
|
+
} | {
|
3662
|
+
type: "DISPLAY_ON_REVIEW";
|
3663
|
+
conditional: import(".").JSONSchema;
|
3664
|
+
})[] | undefined;
|
3665
|
+
secured?: boolean | undefined;
|
3666
|
+
placeholder?: {
|
3667
|
+
id: string;
|
3668
|
+
description: string;
|
3669
|
+
defaultMessage: string;
|
3670
|
+
} | undefined;
|
3671
|
+
helperText?: {
|
3672
|
+
id: string;
|
3673
|
+
description: string;
|
3674
|
+
defaultMessage: string;
|
3675
|
+
} | undefined;
|
3676
|
+
hideLabel?: boolean | undefined;
|
3677
|
+
defaultValue?: {
|
3678
|
+
type: string;
|
3679
|
+
option: string;
|
3680
|
+
path: string;
|
3681
|
+
originalFilename: string;
|
3682
|
+
}[] | undefined;
|
3683
|
+
configuration?: {
|
3684
|
+
maxFileSize?: number | undefined;
|
3685
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
3686
|
+
} | undefined;
|
3687
|
+
}>;
|
3688
|
+
export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
|
3689
|
+
declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
3690
|
+
id: z.ZodString;
|
3691
|
+
parent: z.ZodOptional<z.ZodObject<{
|
3692
|
+
$$field: z.ZodString;
|
3693
|
+
}, "strip", z.ZodTypeAny, {
|
3694
|
+
$$field: string;
|
3695
|
+
}, {
|
3696
|
+
$$field: string;
|
3697
|
+
}>>;
|
3698
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3699
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3700
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3701
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3702
|
+
id: string;
|
3703
|
+
description: string;
|
3704
|
+
defaultMessage: string;
|
3705
|
+
}>>;
|
3706
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
3707
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
3708
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3709
|
+
id: string;
|
3710
|
+
description: string;
|
3711
|
+
defaultMessage: string;
|
3712
|
+
}>;
|
3713
|
+
}, "strip", z.ZodTypeAny, {
|
3714
|
+
message: TranslationConfig;
|
3715
|
+
validator: import(".").JSONSchema;
|
3716
|
+
}, {
|
3717
|
+
message: {
|
3718
|
+
id: string;
|
3719
|
+
description: string;
|
3720
|
+
defaultMessage: string;
|
3721
|
+
};
|
3722
|
+
validator: import(".").JSONSchema;
|
3723
|
+
}>, "many">>>;
|
3724
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3725
|
+
id: string;
|
3726
|
+
description: string;
|
3727
|
+
defaultMessage: string;
|
3728
|
+
}>;
|
3729
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3730
|
+
id: string;
|
3731
|
+
description: string;
|
3732
|
+
defaultMessage: string;
|
3733
|
+
}>>;
|
3734
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3735
|
+
}, {
|
3736
|
+
type: z.ZodLiteral<"FACILITY">;
|
3737
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
3738
|
+
}>, "strip", z.ZodTypeAny, {
|
3739
|
+
type: "FACILITY";
|
3740
|
+
id: string;
|
3741
|
+
label: TranslationConfig;
|
3742
|
+
parent?: {
|
3743
|
+
$$field: string;
|
3744
|
+
} | undefined;
|
3745
|
+
validation?: {
|
3746
|
+
message: TranslationConfig;
|
3747
|
+
validator: import(".").JSONSchema;
|
3748
|
+
}[] | undefined;
|
3749
|
+
required?: boolean | undefined;
|
3750
|
+
conditionals?: ({
|
3751
|
+
type: "SHOW";
|
3752
|
+
conditional: import(".").JSONSchema;
|
3753
|
+
} | {
|
3754
|
+
type: "ENABLE";
|
3755
|
+
conditional: import(".").JSONSchema;
|
3756
|
+
} | {
|
3757
|
+
type: "DISPLAY_ON_REVIEW";
|
3758
|
+
conditional: import(".").JSONSchema;
|
3759
|
+
})[] | undefined;
|
3760
|
+
secured?: boolean | undefined;
|
3761
|
+
placeholder?: TranslationConfig | undefined;
|
3762
|
+
helperText?: TranslationConfig | undefined;
|
3763
|
+
hideLabel?: boolean | undefined;
|
3764
|
+
defaultValue?: string | undefined;
|
3765
|
+
}, {
|
3766
|
+
type: "FACILITY";
|
3767
|
+
id: string;
|
3768
|
+
label: {
|
3769
|
+
id: string;
|
3770
|
+
description: string;
|
3771
|
+
defaultMessage: string;
|
3772
|
+
};
|
3773
|
+
parent?: {
|
3774
|
+
$$field: string;
|
3775
|
+
} | undefined;
|
3776
|
+
validation?: {
|
3777
|
+
message: {
|
3778
|
+
id: string;
|
3779
|
+
description: string;
|
3780
|
+
defaultMessage: string;
|
3781
|
+
};
|
3782
|
+
validator: import(".").JSONSchema;
|
3783
|
+
}[] | undefined;
|
3784
|
+
required?: boolean | undefined;
|
3785
|
+
conditionals?: ({
|
3786
|
+
type: "SHOW";
|
3787
|
+
conditional: import(".").JSONSchema;
|
3788
|
+
} | {
|
3789
|
+
type: "ENABLE";
|
3790
|
+
conditional: import(".").JSONSchema;
|
3791
|
+
} | {
|
3792
|
+
type: "DISPLAY_ON_REVIEW";
|
3793
|
+
conditional: import(".").JSONSchema;
|
3794
|
+
})[] | undefined;
|
3795
|
+
secured?: boolean | undefined;
|
3796
|
+
placeholder?: {
|
3797
|
+
id: string;
|
3798
|
+
description: string;
|
3799
|
+
defaultMessage: string;
|
3800
|
+
} | undefined;
|
3801
|
+
helperText?: {
|
3802
|
+
id: string;
|
3803
|
+
description: string;
|
3804
|
+
defaultMessage: string;
|
3805
|
+
} | undefined;
|
3806
|
+
hideLabel?: boolean | undefined;
|
3807
|
+
defaultValue?: string | undefined;
|
3808
|
+
}>;
|
3809
|
+
export type Facility = z.infer<typeof Facility>;
|
3810
|
+
declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
3811
|
+
id: z.ZodString;
|
3812
|
+
parent: z.ZodOptional<z.ZodObject<{
|
3813
|
+
$$field: z.ZodString;
|
3814
|
+
}, "strip", z.ZodTypeAny, {
|
3815
|
+
$$field: string;
|
3816
|
+
}, {
|
3817
|
+
$$field: string;
|
3818
|
+
}>>;
|
3819
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3820
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3821
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3822
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3823
|
+
id: string;
|
3824
|
+
description: string;
|
3825
|
+
defaultMessage: string;
|
3826
|
+
}>>;
|
3827
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
3828
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
3829
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3830
|
+
id: string;
|
3831
|
+
description: string;
|
3832
|
+
defaultMessage: string;
|
3833
|
+
}>;
|
3834
|
+
}, "strip", z.ZodTypeAny, {
|
3835
|
+
message: TranslationConfig;
|
3836
|
+
validator: import(".").JSONSchema;
|
3837
|
+
}, {
|
3838
|
+
message: {
|
3839
|
+
id: string;
|
3840
|
+
description: string;
|
3841
|
+
defaultMessage: string;
|
3842
|
+
};
|
3843
|
+
validator: import(".").JSONSchema;
|
3844
|
+
}>, "many">>>;
|
3845
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3846
|
+
id: string;
|
3847
|
+
description: string;
|
3848
|
+
defaultMessage: string;
|
3849
|
+
}>;
|
3850
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3851
|
+
id: string;
|
3852
|
+
description: string;
|
3853
|
+
defaultMessage: string;
|
3854
|
+
}>>;
|
3855
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3856
|
+
}, {
|
3857
|
+
type: z.ZodLiteral<"OFFICE">;
|
3858
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
3859
|
+
}>, "strip", z.ZodTypeAny, {
|
3860
|
+
type: "OFFICE";
|
3861
|
+
id: string;
|
3862
|
+
label: TranslationConfig;
|
3863
|
+
parent?: {
|
3864
|
+
$$field: string;
|
3865
|
+
} | undefined;
|
3866
|
+
validation?: {
|
3867
|
+
message: TranslationConfig;
|
3868
|
+
validator: import(".").JSONSchema;
|
3869
|
+
}[] | undefined;
|
3870
|
+
required?: boolean | undefined;
|
3871
|
+
conditionals?: ({
|
3872
|
+
type: "SHOW";
|
3873
|
+
conditional: import(".").JSONSchema;
|
3874
|
+
} | {
|
3875
|
+
type: "ENABLE";
|
3876
|
+
conditional: import(".").JSONSchema;
|
3877
|
+
} | {
|
3878
|
+
type: "DISPLAY_ON_REVIEW";
|
3879
|
+
conditional: import(".").JSONSchema;
|
3880
|
+
})[] | undefined;
|
3881
|
+
secured?: boolean | undefined;
|
3882
|
+
placeholder?: TranslationConfig | undefined;
|
3883
|
+
helperText?: TranslationConfig | undefined;
|
3884
|
+
hideLabel?: boolean | undefined;
|
3885
|
+
defaultValue?: string | undefined;
|
3886
|
+
}, {
|
3887
|
+
type: "OFFICE";
|
3888
|
+
id: string;
|
3889
|
+
label: {
|
3890
|
+
id: string;
|
3891
|
+
description: string;
|
3892
|
+
defaultMessage: string;
|
3893
|
+
};
|
3894
|
+
parent?: {
|
3895
|
+
$$field: string;
|
3896
|
+
} | undefined;
|
3897
|
+
validation?: {
|
3898
|
+
message: {
|
3899
|
+
id: string;
|
3900
|
+
description: string;
|
3901
|
+
defaultMessage: string;
|
3902
|
+
};
|
3903
|
+
validator: import(".").JSONSchema;
|
3904
|
+
}[] | undefined;
|
3905
|
+
required?: boolean | undefined;
|
3906
|
+
conditionals?: ({
|
3907
|
+
type: "SHOW";
|
3908
|
+
conditional: import(".").JSONSchema;
|
3909
|
+
} | {
|
3910
|
+
type: "ENABLE";
|
3911
|
+
conditional: import(".").JSONSchema;
|
3912
|
+
} | {
|
3913
|
+
type: "DISPLAY_ON_REVIEW";
|
3914
|
+
conditional: import(".").JSONSchema;
|
3915
|
+
})[] | undefined;
|
3916
|
+
secured?: boolean | undefined;
|
3917
|
+
placeholder?: {
|
3918
|
+
id: string;
|
3919
|
+
description: string;
|
3920
|
+
defaultMessage: string;
|
3921
|
+
} | undefined;
|
3922
|
+
helperText?: {
|
3923
|
+
id: string;
|
3924
|
+
description: string;
|
3925
|
+
defaultMessage: string;
|
3926
|
+
} | undefined;
|
3927
|
+
hideLabel?: boolean | undefined;
|
3928
|
+
defaultValue?: string | undefined;
|
3929
|
+
}>;
|
3930
|
+
export type Office = z.infer<typeof Office>;
|
3931
|
+
declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
3932
|
+
id: z.ZodString;
|
3933
|
+
parent: z.ZodOptional<z.ZodObject<{
|
3934
|
+
$$field: z.ZodString;
|
3935
|
+
}, "strip", z.ZodTypeAny, {
|
3936
|
+
$$field: string;
|
3937
|
+
}, {
|
3938
|
+
$$field: string;
|
3939
|
+
}>>;
|
3940
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3941
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3942
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3943
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3944
|
+
id: string;
|
3945
|
+
description: string;
|
3946
|
+
defaultMessage: string;
|
3947
|
+
}>>;
|
3948
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
3949
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
3950
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3951
|
+
id: string;
|
3952
|
+
description: string;
|
3953
|
+
defaultMessage: string;
|
3954
|
+
}>;
|
3955
|
+
}, "strip", z.ZodTypeAny, {
|
3956
|
+
message: TranslationConfig;
|
3957
|
+
validator: import(".").JSONSchema;
|
3958
|
+
}, {
|
3959
|
+
message: {
|
3960
|
+
id: string;
|
3961
|
+
description: string;
|
3962
|
+
defaultMessage: string;
|
3963
|
+
};
|
3964
|
+
validator: import(".").JSONSchema;
|
3965
|
+
}>, "many">>>;
|
3966
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3967
|
+
id: string;
|
3968
|
+
description: string;
|
3969
|
+
defaultMessage: string;
|
3970
|
+
}>;
|
3971
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3972
|
+
id: string;
|
3973
|
+
description: string;
|
3974
|
+
defaultMessage: string;
|
3975
|
+
}>>;
|
3976
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3977
|
+
}, {
|
3978
|
+
type: z.ZodLiteral<"ADDRESS">;
|
3979
|
+
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
3980
|
+
country: z.ZodString;
|
3981
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
3982
|
+
province: z.ZodString;
|
3983
|
+
district: z.ZodString;
|
3984
|
+
}, {
|
3985
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
3986
|
+
town: z.ZodOptional<z.ZodString>;
|
3987
|
+
residentialArea: z.ZodOptional<z.ZodString>;
|
3988
|
+
street: z.ZodOptional<z.ZodString>;
|
3989
|
+
number: z.ZodOptional<z.ZodString>;
|
3990
|
+
zipCode: z.ZodOptional<z.ZodString>;
|
3991
|
+
}>, "strip", z.ZodTypeAny, {
|
3992
|
+
country: string;
|
3993
|
+
district: string;
|
3994
|
+
addressType: "DOMESTIC";
|
3995
|
+
province: string;
|
3996
|
+
urbanOrRural: "URBAN";
|
3997
|
+
number?: string | undefined;
|
3998
|
+
town?: string | undefined;
|
3999
|
+
residentialArea?: string | undefined;
|
4000
|
+
street?: string | undefined;
|
4001
|
+
zipCode?: string | undefined;
|
4002
|
+
}, {
|
4003
|
+
country: string;
|
4004
|
+
district: string;
|
4005
|
+
addressType: "DOMESTIC";
|
4006
|
+
province: string;
|
4007
|
+
urbanOrRural: "URBAN";
|
4008
|
+
number?: string | undefined;
|
4009
|
+
town?: string | undefined;
|
4010
|
+
residentialArea?: string | undefined;
|
4011
|
+
street?: string | undefined;
|
4012
|
+
zipCode?: string | undefined;
|
4013
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4014
|
+
country: z.ZodString;
|
4015
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
4016
|
+
province: z.ZodString;
|
4017
|
+
district: z.ZodString;
|
4018
|
+
}, {
|
4019
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
4020
|
+
village: z.ZodOptional<z.ZodString>;
|
4021
|
+
}>, "strip", z.ZodTypeAny, {
|
4022
|
+
country: string;
|
4023
|
+
district: string;
|
4024
|
+
addressType: "DOMESTIC";
|
4025
|
+
province: string;
|
4026
|
+
urbanOrRural: "RURAL";
|
4027
|
+
village?: string | undefined;
|
4028
|
+
}, {
|
4029
|
+
country: string;
|
4030
|
+
district: string;
|
4031
|
+
addressType: "DOMESTIC";
|
4032
|
+
province: string;
|
4033
|
+
urbanOrRural: "RURAL";
|
4034
|
+
village?: string | undefined;
|
4035
|
+
}>]>, z.ZodObject<{
|
4036
|
+
country: z.ZodString;
|
4037
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
4038
|
+
state: z.ZodString;
|
4039
|
+
district2: z.ZodString;
|
4040
|
+
cityOrTown: z.ZodOptional<z.ZodString>;
|
4041
|
+
addressLine1: z.ZodOptional<z.ZodString>;
|
4042
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
4043
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
4044
|
+
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
4045
|
+
}, "strip", z.ZodTypeAny, {
|
4046
|
+
country: string;
|
4047
|
+
state: string;
|
4048
|
+
addressType: "INTERNATIONAL";
|
4049
|
+
district2: string;
|
4050
|
+
cityOrTown?: string | undefined;
|
4051
|
+
addressLine1?: string | undefined;
|
4052
|
+
addressLine2?: string | undefined;
|
4053
|
+
addressLine3?: string | undefined;
|
4054
|
+
postcodeOrZip?: string | undefined;
|
4055
|
+
}, {
|
4056
|
+
country: string;
|
4057
|
+
state: string;
|
4058
|
+
addressType: "INTERNATIONAL";
|
4059
|
+
district2: string;
|
4060
|
+
cityOrTown?: string | undefined;
|
4061
|
+
addressLine1?: string | undefined;
|
4062
|
+
addressLine2?: string | undefined;
|
4063
|
+
addressLine3?: string | undefined;
|
4064
|
+
postcodeOrZip?: string | undefined;
|
4065
|
+
}>]>>;
|
4066
|
+
}>, "strip", z.ZodTypeAny, {
|
4067
|
+
type: "ADDRESS";
|
4068
|
+
id: string;
|
4069
|
+
label: TranslationConfig;
|
4070
|
+
parent?: {
|
4071
|
+
$$field: string;
|
4072
|
+
} | undefined;
|
4073
|
+
validation?: {
|
4074
|
+
message: TranslationConfig;
|
4075
|
+
validator: import(".").JSONSchema;
|
4076
|
+
}[] | undefined;
|
4077
|
+
required?: boolean | undefined;
|
4078
|
+
conditionals?: ({
|
4079
|
+
type: "SHOW";
|
4080
|
+
conditional: import(".").JSONSchema;
|
4081
|
+
} | {
|
4082
|
+
type: "ENABLE";
|
4083
|
+
conditional: import(".").JSONSchema;
|
4084
|
+
} | {
|
4085
|
+
type: "DISPLAY_ON_REVIEW";
|
4086
|
+
conditional: import(".").JSONSchema;
|
4087
|
+
})[] | undefined;
|
4088
|
+
secured?: boolean | undefined;
|
4089
|
+
placeholder?: TranslationConfig | undefined;
|
4090
|
+
helperText?: TranslationConfig | undefined;
|
4091
|
+
hideLabel?: boolean | undefined;
|
4092
|
+
defaultValue?: {
|
4093
|
+
country: string;
|
4094
|
+
district: string;
|
4095
|
+
addressType: "DOMESTIC";
|
4096
|
+
province: string;
|
4097
|
+
urbanOrRural: "URBAN";
|
4098
|
+
number?: string | undefined;
|
4099
|
+
town?: string | undefined;
|
4100
|
+
residentialArea?: string | undefined;
|
4101
|
+
street?: string | undefined;
|
4102
|
+
zipCode?: string | undefined;
|
4103
|
+
} | {
|
4104
|
+
country: string;
|
4105
|
+
district: string;
|
4106
|
+
addressType: "DOMESTIC";
|
4107
|
+
province: string;
|
4108
|
+
urbanOrRural: "RURAL";
|
4109
|
+
village?: string | undefined;
|
4110
|
+
} | {
|
4111
|
+
country: string;
|
4112
|
+
state: string;
|
4113
|
+
addressType: "INTERNATIONAL";
|
4114
|
+
district2: string;
|
4115
|
+
cityOrTown?: string | undefined;
|
4116
|
+
addressLine1?: string | undefined;
|
4117
|
+
addressLine2?: string | undefined;
|
4118
|
+
addressLine3?: string | undefined;
|
4119
|
+
postcodeOrZip?: string | undefined;
|
4120
|
+
} | undefined;
|
4121
|
+
}, {
|
4122
|
+
type: "ADDRESS";
|
4123
|
+
id: string;
|
4124
|
+
label: {
|
4125
|
+
id: string;
|
4126
|
+
description: string;
|
4127
|
+
defaultMessage: string;
|
4128
|
+
};
|
4129
|
+
parent?: {
|
4130
|
+
$$field: string;
|
4131
|
+
} | undefined;
|
4132
|
+
validation?: {
|
4133
|
+
message: {
|
4134
|
+
id: string;
|
4135
|
+
description: string;
|
4136
|
+
defaultMessage: string;
|
4137
|
+
};
|
4138
|
+
validator: import(".").JSONSchema;
|
4139
|
+
}[] | undefined;
|
4140
|
+
required?: boolean | undefined;
|
4141
|
+
conditionals?: ({
|
4142
|
+
type: "SHOW";
|
4143
|
+
conditional: import(".").JSONSchema;
|
4144
|
+
} | {
|
4145
|
+
type: "ENABLE";
|
4146
|
+
conditional: import(".").JSONSchema;
|
4147
|
+
} | {
|
4148
|
+
type: "DISPLAY_ON_REVIEW";
|
4149
|
+
conditional: import(".").JSONSchema;
|
4150
|
+
})[] | undefined;
|
4151
|
+
secured?: boolean | undefined;
|
4152
|
+
placeholder?: {
|
4153
|
+
id: string;
|
4154
|
+
description: string;
|
4155
|
+
defaultMessage: string;
|
4156
|
+
} | undefined;
|
4157
|
+
helperText?: {
|
4158
|
+
id: string;
|
4159
|
+
description: string;
|
4160
|
+
defaultMessage: string;
|
4161
|
+
} | undefined;
|
4162
|
+
hideLabel?: boolean | undefined;
|
4163
|
+
defaultValue?: {
|
4164
|
+
country: string;
|
4165
|
+
district: string;
|
4166
|
+
addressType: "DOMESTIC";
|
4167
|
+
province: string;
|
4168
|
+
urbanOrRural: "URBAN";
|
4169
|
+
number?: string | undefined;
|
4170
|
+
town?: string | undefined;
|
4171
|
+
residentialArea?: string | undefined;
|
4172
|
+
street?: string | undefined;
|
4173
|
+
zipCode?: string | undefined;
|
4174
|
+
} | {
|
4175
|
+
country: string;
|
4176
|
+
district: string;
|
4177
|
+
addressType: "DOMESTIC";
|
4178
|
+
province: string;
|
4179
|
+
urbanOrRural: "RURAL";
|
4180
|
+
village?: string | undefined;
|
4181
|
+
} | {
|
4182
|
+
country: string;
|
4183
|
+
state: string;
|
4184
|
+
addressType: "INTERNATIONAL";
|
4185
|
+
district2: string;
|
4186
|
+
cityOrTown?: string | undefined;
|
4187
|
+
addressLine1?: string | undefined;
|
4188
|
+
addressLine2?: string | undefined;
|
4189
|
+
addressLine3?: string | undefined;
|
4190
|
+
postcodeOrZip?: string | undefined;
|
4191
|
+
} | undefined;
|
4192
|
+
}>;
|
4193
|
+
export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
|
4194
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4195
|
+
id: string;
|
4196
|
+
description: string;
|
4197
|
+
defaultMessage: string;
|
4198
|
+
}>;
|
4199
|
+
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4200
|
+
id: string;
|
4201
|
+
description: string;
|
4202
|
+
defaultMessage: string;
|
4203
|
+
}>, z.ZodString]>;
|
4204
|
+
}, "strip", z.ZodTypeAny, {
|
4205
|
+
value: string | TranslationConfig;
|
4206
|
+
label: TranslationConfig;
|
4207
|
+
}, {
|
4208
|
+
value: string | {
|
4209
|
+
id: string;
|
4210
|
+
description: string;
|
4211
|
+
defaultMessage: string;
|
4212
|
+
};
|
4213
|
+
label: {
|
4214
|
+
id: string;
|
4215
|
+
description: string;
|
4216
|
+
defaultMessage: string;
|
4217
|
+
};
|
4218
|
+
}>, z.ZodObject<{
|
4219
|
+
fieldId: z.ZodString;
|
4220
|
+
}, "strip", z.ZodTypeAny, {
|
4221
|
+
fieldId: string;
|
4222
|
+
}, {
|
4223
|
+
fieldId: string;
|
4224
|
+
}>]>;
|
4225
|
+
export type DataEntry = z.infer<typeof DataEntry>;
|
4226
|
+
declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
4227
|
+
id: z.ZodString;
|
4228
|
+
parent: z.ZodOptional<z.ZodObject<{
|
4229
|
+
$$field: z.ZodString;
|
4230
|
+
}, "strip", z.ZodTypeAny, {
|
4231
|
+
$$field: string;
|
4232
|
+
}, {
|
4233
|
+
$$field: string;
|
4234
|
+
}>>;
|
4235
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4236
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4237
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4238
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4239
|
+
id: string;
|
4240
|
+
description: string;
|
4241
|
+
defaultMessage: string;
|
4242
|
+
}>>;
|
4243
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4244
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4245
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4246
|
+
id: string;
|
4247
|
+
description: string;
|
4248
|
+
defaultMessage: string;
|
4249
|
+
}>;
|
4250
|
+
}, "strip", z.ZodTypeAny, {
|
4251
|
+
message: TranslationConfig;
|
4252
|
+
validator: import(".").JSONSchema;
|
4253
|
+
}, {
|
4254
|
+
message: {
|
4255
|
+
id: string;
|
4256
|
+
description: string;
|
4257
|
+
defaultMessage: string;
|
4258
|
+
};
|
4259
|
+
validator: import(".").JSONSchema;
|
4260
|
+
}>, "many">>>;
|
4261
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4262
|
+
id: string;
|
4263
|
+
description: string;
|
4264
|
+
defaultMessage: string;
|
4265
|
+
}>;
|
4266
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4267
|
+
id: string;
|
4268
|
+
description: string;
|
4269
|
+
defaultMessage: string;
|
4270
|
+
}>>;
|
4271
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4272
|
+
}, {
|
4273
|
+
type: z.ZodLiteral<"DATA">;
|
4274
|
+
configuration: z.ZodObject<{
|
4275
|
+
subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4276
|
+
id: string;
|
4277
|
+
description: string;
|
4278
|
+
defaultMessage: string;
|
4279
|
+
}>>;
|
4280
|
+
data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
4281
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4282
|
+
id: string;
|
4283
|
+
description: string;
|
4284
|
+
defaultMessage: string;
|
4285
|
+
}>;
|
4286
|
+
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4287
|
+
id: string;
|
4288
|
+
description: string;
|
4289
|
+
defaultMessage: string;
|
4290
|
+
}>, z.ZodString]>;
|
4291
|
+
}, "strip", z.ZodTypeAny, {
|
4292
|
+
value: string | TranslationConfig;
|
4293
|
+
label: TranslationConfig;
|
4294
|
+
}, {
|
4295
|
+
value: string | {
|
4296
|
+
id: string;
|
4297
|
+
description: string;
|
4298
|
+
defaultMessage: string;
|
4299
|
+
};
|
4300
|
+
label: {
|
4301
|
+
id: string;
|
4302
|
+
description: string;
|
4303
|
+
defaultMessage: string;
|
4304
|
+
};
|
4305
|
+
}>, z.ZodObject<{
|
4306
|
+
fieldId: z.ZodString;
|
4307
|
+
}, "strip", z.ZodTypeAny, {
|
4308
|
+
fieldId: string;
|
4309
|
+
}, {
|
4310
|
+
fieldId: string;
|
4311
|
+
}>]>, "many">;
|
4312
|
+
}, "strip", z.ZodTypeAny, {
|
4313
|
+
data: ({
|
4314
|
+
value: string | TranslationConfig;
|
4315
|
+
label: TranslationConfig;
|
4316
|
+
} | {
|
4317
|
+
fieldId: string;
|
4318
|
+
})[];
|
4319
|
+
subtitle?: TranslationConfig | undefined;
|
4320
|
+
}, {
|
4321
|
+
data: ({
|
4322
|
+
value: string | {
|
4323
|
+
id: string;
|
4324
|
+
description: string;
|
4325
|
+
defaultMessage: string;
|
4326
|
+
};
|
4327
|
+
label: {
|
4328
|
+
id: string;
|
4329
|
+
description: string;
|
4330
|
+
defaultMessage: string;
|
4331
|
+
};
|
4332
|
+
} | {
|
4333
|
+
fieldId: string;
|
4334
|
+
})[];
|
4335
|
+
subtitle?: {
|
4336
|
+
id: string;
|
4337
|
+
description: string;
|
4338
|
+
defaultMessage: string;
|
4339
|
+
} | undefined;
|
4340
|
+
}>;
|
4341
|
+
}>, "strip", z.ZodTypeAny, {
|
4342
|
+
type: "DATA";
|
4343
|
+
id: string;
|
4344
|
+
label: TranslationConfig;
|
4345
|
+
configuration: {
|
4346
|
+
data: ({
|
4347
|
+
value: string | TranslationConfig;
|
4348
|
+
label: TranslationConfig;
|
4349
|
+
} | {
|
4350
|
+
fieldId: string;
|
4351
|
+
})[];
|
4352
|
+
subtitle?: TranslationConfig | undefined;
|
4353
|
+
};
|
4354
|
+
parent?: {
|
4355
|
+
$$field: string;
|
4356
|
+
} | undefined;
|
4357
|
+
validation?: {
|
4358
|
+
message: TranslationConfig;
|
4359
|
+
validator: import(".").JSONSchema;
|
4360
|
+
}[] | undefined;
|
4361
|
+
required?: boolean | undefined;
|
4362
|
+
conditionals?: ({
|
4363
|
+
type: "SHOW";
|
4364
|
+
conditional: import(".").JSONSchema;
|
4365
|
+
} | {
|
4366
|
+
type: "ENABLE";
|
4367
|
+
conditional: import(".").JSONSchema;
|
4368
|
+
} | {
|
4369
|
+
type: "DISPLAY_ON_REVIEW";
|
4370
|
+
conditional: import(".").JSONSchema;
|
4371
|
+
})[] | undefined;
|
4372
|
+
secured?: boolean | undefined;
|
4373
|
+
placeholder?: TranslationConfig | undefined;
|
4374
|
+
helperText?: TranslationConfig | undefined;
|
4375
|
+
hideLabel?: boolean | undefined;
|
4376
|
+
}, {
|
4377
|
+
type: "DATA";
|
4378
|
+
id: string;
|
4379
|
+
label: {
|
4380
|
+
id: string;
|
4381
|
+
description: string;
|
4382
|
+
defaultMessage: string;
|
4383
|
+
};
|
4384
|
+
configuration: {
|
4385
|
+
data: ({
|
4386
|
+
value: string | {
|
4387
|
+
id: string;
|
4388
|
+
description: string;
|
4389
|
+
defaultMessage: string;
|
4390
|
+
};
|
4391
|
+
label: {
|
4392
|
+
id: string;
|
4393
|
+
description: string;
|
4394
|
+
defaultMessage: string;
|
4395
|
+
};
|
4396
|
+
} | {
|
4397
|
+
fieldId: string;
|
4398
|
+
})[];
|
4399
|
+
subtitle?: {
|
4400
|
+
id: string;
|
4401
|
+
description: string;
|
4402
|
+
defaultMessage: string;
|
4403
|
+
} | undefined;
|
4404
|
+
};
|
4405
|
+
parent?: {
|
4406
|
+
$$field: string;
|
4407
|
+
} | undefined;
|
4408
|
+
validation?: {
|
4409
|
+
message: {
|
4410
|
+
id: string;
|
4411
|
+
description: string;
|
4412
|
+
defaultMessage: string;
|
4413
|
+
};
|
4414
|
+
validator: import(".").JSONSchema;
|
4415
|
+
}[] | undefined;
|
4416
|
+
required?: boolean | undefined;
|
4417
|
+
conditionals?: ({
|
4418
|
+
type: "SHOW";
|
4419
|
+
conditional: import(".").JSONSchema;
|
4420
|
+
} | {
|
4421
|
+
type: "ENABLE";
|
4422
|
+
conditional: import(".").JSONSchema;
|
4423
|
+
} | {
|
4424
|
+
type: "DISPLAY_ON_REVIEW";
|
4425
|
+
conditional: import(".").JSONSchema;
|
4426
|
+
})[] | undefined;
|
4427
|
+
secured?: boolean | undefined;
|
4428
|
+
placeholder?: {
|
4429
|
+
id: string;
|
4430
|
+
description: string;
|
4431
|
+
defaultMessage: string;
|
4432
|
+
} | undefined;
|
4433
|
+
helperText?: {
|
4434
|
+
id: string;
|
4435
|
+
description: string;
|
4436
|
+
defaultMessage: string;
|
4437
|
+
} | undefined;
|
4438
|
+
hideLabel?: boolean | undefined;
|
4439
|
+
}>;
|
4440
|
+
export type DataField = z.infer<typeof DataField>;
|
4441
|
+
/** @knipignore */
|
4442
|
+
export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof DateRangeField> | z.infer<typeof SelectDateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField>;
|
4443
|
+
/** @knipignore */
|
4444
|
+
/**
|
4445
|
+
* This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
|
4446
|
+
*/
|
4447
|
+
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 NameField> | z.input<typeof PhoneField> | z.input<typeof IdField> | 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>;
|
4448
|
+
export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
4449
|
+
id: z.ZodString;
|
4450
|
+
parent: z.ZodOptional<z.ZodObject<{
|
4451
|
+
$$field: z.ZodString;
|
4452
|
+
}, "strip", z.ZodTypeAny, {
|
4453
|
+
$$field: string;
|
4454
|
+
}, {
|
4455
|
+
$$field: string;
|
4456
|
+
}>>;
|
4457
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4458
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4459
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4460
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4461
|
+
id: string;
|
4462
|
+
description: string;
|
4463
|
+
defaultMessage: string;
|
4464
|
+
}>>;
|
4465
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4466
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4467
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4468
|
+
id: string;
|
4469
|
+
description: string;
|
4470
|
+
defaultMessage: string;
|
4471
|
+
}>;
|
4472
|
+
}, "strip", z.ZodTypeAny, {
|
4473
|
+
message: TranslationConfig;
|
4474
|
+
validator: import(".").JSONSchema;
|
4475
|
+
}, {
|
4476
|
+
message: {
|
4477
|
+
id: string;
|
4478
|
+
description: string;
|
4479
|
+
defaultMessage: string;
|
4480
|
+
};
|
4481
|
+
validator: import(".").JSONSchema;
|
4482
|
+
}>, "many">>>;
|
4483
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4484
|
+
id: string;
|
4485
|
+
description: string;
|
4486
|
+
defaultMessage: string;
|
4487
|
+
}>;
|
4488
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4489
|
+
id: string;
|
4490
|
+
description: string;
|
4491
|
+
defaultMessage: string;
|
4492
|
+
}>>;
|
4493
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4494
|
+
}, {
|
4495
|
+
type: z.ZodLiteral<"ADDRESS">;
|
4496
|
+
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
4497
|
+
country: z.ZodString;
|
4498
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
4499
|
+
province: z.ZodString;
|
4500
|
+
district: z.ZodString;
|
4501
|
+
}, {
|
4502
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
4503
|
+
town: z.ZodOptional<z.ZodString>;
|
4504
|
+
residentialArea: z.ZodOptional<z.ZodString>;
|
4505
|
+
street: z.ZodOptional<z.ZodString>;
|
4506
|
+
number: z.ZodOptional<z.ZodString>;
|
4507
|
+
zipCode: z.ZodOptional<z.ZodString>;
|
4508
|
+
}>, "strip", z.ZodTypeAny, {
|
4509
|
+
country: string;
|
4510
|
+
district: string;
|
4511
|
+
addressType: "DOMESTIC";
|
4512
|
+
province: string;
|
4513
|
+
urbanOrRural: "URBAN";
|
4514
|
+
number?: string | undefined;
|
4515
|
+
town?: string | undefined;
|
4516
|
+
residentialArea?: string | undefined;
|
4517
|
+
street?: string | undefined;
|
4518
|
+
zipCode?: string | undefined;
|
4519
|
+
}, {
|
4520
|
+
country: string;
|
4521
|
+
district: string;
|
4522
|
+
addressType: "DOMESTIC";
|
4523
|
+
province: string;
|
4524
|
+
urbanOrRural: "URBAN";
|
4525
|
+
number?: string | undefined;
|
4526
|
+
town?: string | undefined;
|
4527
|
+
residentialArea?: string | undefined;
|
4528
|
+
street?: string | undefined;
|
4529
|
+
zipCode?: string | undefined;
|
4530
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4531
|
+
country: z.ZodString;
|
4532
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
4533
|
+
province: z.ZodString;
|
4534
|
+
district: z.ZodString;
|
4535
|
+
}, {
|
4536
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
4537
|
+
village: z.ZodOptional<z.ZodString>;
|
4538
|
+
}>, "strip", z.ZodTypeAny, {
|
4539
|
+
country: string;
|
4540
|
+
district: string;
|
4541
|
+
addressType: "DOMESTIC";
|
4542
|
+
province: string;
|
4543
|
+
urbanOrRural: "RURAL";
|
4544
|
+
village?: string | undefined;
|
4545
|
+
}, {
|
4546
|
+
country: string;
|
4547
|
+
district: string;
|
4548
|
+
addressType: "DOMESTIC";
|
4549
|
+
province: string;
|
4550
|
+
urbanOrRural: "RURAL";
|
4551
|
+
village?: string | undefined;
|
4552
|
+
}>]>, z.ZodObject<{
|
4553
|
+
country: z.ZodString;
|
4554
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
4555
|
+
state: z.ZodString;
|
4556
|
+
district2: z.ZodString;
|
4557
|
+
cityOrTown: z.ZodOptional<z.ZodString>;
|
4558
|
+
addressLine1: z.ZodOptional<z.ZodString>;
|
4559
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
4560
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
4561
|
+
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
4562
|
+
}, "strip", z.ZodTypeAny, {
|
4563
|
+
country: string;
|
4564
|
+
state: string;
|
4565
|
+
addressType: "INTERNATIONAL";
|
4566
|
+
district2: string;
|
4567
|
+
cityOrTown?: string | undefined;
|
4568
|
+
addressLine1?: string | undefined;
|
4569
|
+
addressLine2?: string | undefined;
|
4570
|
+
addressLine3?: string | undefined;
|
4571
|
+
postcodeOrZip?: string | undefined;
|
4572
|
+
}, {
|
4573
|
+
country: string;
|
4574
|
+
state: string;
|
4575
|
+
addressType: "INTERNATIONAL";
|
4576
|
+
district2: string;
|
4577
|
+
cityOrTown?: string | undefined;
|
4578
|
+
addressLine1?: string | undefined;
|
4579
|
+
addressLine2?: string | undefined;
|
4580
|
+
addressLine3?: string | undefined;
|
4581
|
+
postcodeOrZip?: string | undefined;
|
4582
|
+
}>]>>;
|
4583
|
+
}>, "strip", z.ZodTypeAny, {
|
4584
|
+
type: "ADDRESS";
|
4585
|
+
id: string;
|
4586
|
+
label: TranslationConfig;
|
4587
|
+
parent?: {
|
4588
|
+
$$field: string;
|
4589
|
+
} | undefined;
|
4590
|
+
validation?: {
|
4591
|
+
message: TranslationConfig;
|
4592
|
+
validator: import(".").JSONSchema;
|
4593
|
+
}[] | undefined;
|
4594
|
+
required?: boolean | undefined;
|
4595
|
+
conditionals?: ({
|
4596
|
+
type: "SHOW";
|
4597
|
+
conditional: import(".").JSONSchema;
|
4598
|
+
} | {
|
4599
|
+
type: "ENABLE";
|
4600
|
+
conditional: import(".").JSONSchema;
|
4601
|
+
} | {
|
4602
|
+
type: "DISPLAY_ON_REVIEW";
|
4603
|
+
conditional: import(".").JSONSchema;
|
4604
|
+
})[] | undefined;
|
4605
|
+
secured?: boolean | undefined;
|
4606
|
+
placeholder?: TranslationConfig | undefined;
|
4607
|
+
helperText?: TranslationConfig | undefined;
|
4608
|
+
hideLabel?: boolean | undefined;
|
4609
|
+
defaultValue?: {
|
4610
|
+
country: string;
|
4611
|
+
district: string;
|
4612
|
+
addressType: "DOMESTIC";
|
4613
|
+
province: string;
|
4614
|
+
urbanOrRural: "URBAN";
|
4615
|
+
number?: string | undefined;
|
4616
|
+
town?: string | undefined;
|
4617
|
+
residentialArea?: string | undefined;
|
4618
|
+
street?: string | undefined;
|
4619
|
+
zipCode?: string | undefined;
|
4620
|
+
} | {
|
4621
|
+
country: string;
|
4622
|
+
district: string;
|
4623
|
+
addressType: "DOMESTIC";
|
4624
|
+
province: string;
|
4625
|
+
urbanOrRural: "RURAL";
|
4626
|
+
village?: string | undefined;
|
4627
|
+
} | {
|
4628
|
+
country: string;
|
4629
|
+
state: string;
|
4630
|
+
addressType: "INTERNATIONAL";
|
4631
|
+
district2: string;
|
4632
|
+
cityOrTown?: string | undefined;
|
4633
|
+
addressLine1?: string | undefined;
|
4634
|
+
addressLine2?: string | undefined;
|
4635
|
+
addressLine3?: string | undefined;
|
4636
|
+
postcodeOrZip?: string | undefined;
|
4637
|
+
} | undefined;
|
4638
|
+
}, {
|
4639
|
+
type: "ADDRESS";
|
4640
|
+
id: string;
|
4641
|
+
label: {
|
4642
|
+
id: string;
|
4643
|
+
description: string;
|
4644
|
+
defaultMessage: string;
|
4645
|
+
};
|
4646
|
+
parent?: {
|
4647
|
+
$$field: string;
|
4648
|
+
} | undefined;
|
4649
|
+
validation?: {
|
4650
|
+
message: {
|
4651
|
+
id: string;
|
4652
|
+
description: string;
|
4653
|
+
defaultMessage: string;
|
4654
|
+
};
|
4655
|
+
validator: import(".").JSONSchema;
|
4656
|
+
}[] | undefined;
|
4657
|
+
required?: boolean | undefined;
|
4658
|
+
conditionals?: ({
|
4659
|
+
type: "SHOW";
|
4660
|
+
conditional: import(".").JSONSchema;
|
4661
|
+
} | {
|
4662
|
+
type: "ENABLE";
|
4663
|
+
conditional: import(".").JSONSchema;
|
4664
|
+
} | {
|
4665
|
+
type: "DISPLAY_ON_REVIEW";
|
4666
|
+
conditional: import(".").JSONSchema;
|
4667
|
+
})[] | undefined;
|
4668
|
+
secured?: boolean | undefined;
|
4669
|
+
placeholder?: {
|
4670
|
+
id: string;
|
4671
|
+
description: string;
|
4672
|
+
defaultMessage: string;
|
4673
|
+
} | undefined;
|
4674
|
+
helperText?: {
|
4675
|
+
id: string;
|
4676
|
+
description: string;
|
4677
|
+
defaultMessage: string;
|
4678
|
+
} | undefined;
|
4679
|
+
hideLabel?: boolean | undefined;
|
4680
|
+
defaultValue?: {
|
4681
|
+
country: string;
|
4682
|
+
district: string;
|
4683
|
+
addressType: "DOMESTIC";
|
4684
|
+
province: string;
|
4685
|
+
urbanOrRural: "URBAN";
|
4686
|
+
number?: string | undefined;
|
4687
|
+
town?: string | undefined;
|
4688
|
+
residentialArea?: string | undefined;
|
4689
|
+
street?: string | undefined;
|
4690
|
+
zipCode?: string | undefined;
|
4691
|
+
} | {
|
4692
|
+
country: string;
|
4693
|
+
district: string;
|
4694
|
+
addressType: "DOMESTIC";
|
4695
|
+
province: string;
|
4696
|
+
urbanOrRural: "RURAL";
|
4697
|
+
village?: string | undefined;
|
4698
|
+
} | {
|
4699
|
+
country: string;
|
4700
|
+
state: string;
|
4701
|
+
addressType: "INTERNATIONAL";
|
4702
|
+
district2: string;
|
4703
|
+
cityOrTown?: string | undefined;
|
4704
|
+
addressLine1?: string | undefined;
|
4705
|
+
addressLine2?: string | undefined;
|
4706
|
+
addressLine3?: string | undefined;
|
4707
|
+
postcodeOrZip?: string | undefined;
|
4708
|
+
} | undefined;
|
4709
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4710
|
+
id: z.ZodString;
|
4711
|
+
parent: z.ZodOptional<z.ZodObject<{
|
4712
|
+
$$field: z.ZodString;
|
4713
|
+
}, "strip", z.ZodTypeAny, {
|
4714
|
+
$$field: string;
|
4715
|
+
}, {
|
4716
|
+
$$field: string;
|
4717
|
+
}>>;
|
4718
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4719
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4720
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4721
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4722
|
+
id: string;
|
4723
|
+
description: string;
|
4724
|
+
defaultMessage: string;
|
4725
|
+
}>>;
|
4726
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4727
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4728
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4729
|
+
id: string;
|
4730
|
+
description: string;
|
4731
|
+
defaultMessage: string;
|
4732
|
+
}>;
|
4733
|
+
}, "strip", z.ZodTypeAny, {
|
4734
|
+
message: TranslationConfig;
|
4735
|
+
validator: import(".").JSONSchema;
|
4736
|
+
}, {
|
4737
|
+
message: {
|
4738
|
+
id: string;
|
4739
|
+
description: string;
|
4740
|
+
defaultMessage: string;
|
4741
|
+
};
|
4742
|
+
validator: import(".").JSONSchema;
|
4743
|
+
}>, "many">>>;
|
4744
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4745
|
+
id: string;
|
4746
|
+
description: string;
|
4747
|
+
defaultMessage: string;
|
4748
|
+
}>;
|
4749
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4750
|
+
id: string;
|
4751
|
+
description: string;
|
4752
|
+
defaultMessage: string;
|
4753
|
+
}>>;
|
4754
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4755
|
+
}, {
|
4756
|
+
type: z.ZodLiteral<"TEXT">;
|
4757
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
4758
|
+
configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
4759
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
4760
|
+
type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
|
4761
|
+
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4762
|
+
id: string;
|
4763
|
+
description: string;
|
4764
|
+
defaultMessage: string;
|
4765
|
+
}>>;
|
4766
|
+
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4767
|
+
id: string;
|
4768
|
+
description: string;
|
4769
|
+
defaultMessage: string;
|
4770
|
+
}>>;
|
4771
|
+
}, "strip", z.ZodTypeAny, {
|
4772
|
+
type?: "text" | "password" | undefined;
|
4773
|
+
maxLength?: number | undefined;
|
4774
|
+
prefix?: TranslationConfig | undefined;
|
4775
|
+
postfix?: TranslationConfig | undefined;
|
4776
|
+
}, {
|
4777
|
+
type?: "text" | "password" | undefined;
|
4778
|
+
maxLength?: number | undefined;
|
4779
|
+
prefix?: {
|
4780
|
+
id: string;
|
4781
|
+
description: string;
|
4782
|
+
defaultMessage: string;
|
4783
|
+
} | undefined;
|
4784
|
+
postfix?: {
|
4785
|
+
id: string;
|
4786
|
+
description: string;
|
4787
|
+
defaultMessage: string;
|
4788
|
+
} | undefined;
|
4789
|
+
}>>>;
|
4790
|
+
}>, "strip", z.ZodTypeAny, {
|
4791
|
+
type: "TEXT";
|
4792
|
+
id: string;
|
4793
|
+
label: TranslationConfig;
|
4794
|
+
parent?: {
|
4795
|
+
$$field: string;
|
4796
|
+
} | undefined;
|
4797
|
+
validation?: {
|
4798
|
+
message: TranslationConfig;
|
4799
|
+
validator: import(".").JSONSchema;
|
4800
|
+
}[] | undefined;
|
4801
|
+
required?: boolean | undefined;
|
4802
|
+
conditionals?: ({
|
4803
|
+
type: "SHOW";
|
4804
|
+
conditional: import(".").JSONSchema;
|
4805
|
+
} | {
|
4806
|
+
type: "ENABLE";
|
4807
|
+
conditional: import(".").JSONSchema;
|
4808
|
+
} | {
|
4809
|
+
type: "DISPLAY_ON_REVIEW";
|
4810
|
+
conditional: import(".").JSONSchema;
|
4811
|
+
})[] | undefined;
|
4812
|
+
secured?: boolean | undefined;
|
4813
|
+
placeholder?: TranslationConfig | undefined;
|
4814
|
+
helperText?: TranslationConfig | undefined;
|
4815
|
+
hideLabel?: boolean | undefined;
|
4816
|
+
defaultValue?: string | undefined;
|
4817
|
+
configuration?: {
|
4818
|
+
type?: "text" | "password" | undefined;
|
4819
|
+
maxLength?: number | undefined;
|
4820
|
+
prefix?: TranslationConfig | undefined;
|
4821
|
+
postfix?: TranslationConfig | undefined;
|
4822
|
+
} | undefined;
|
4823
|
+
}, {
|
4824
|
+
type: "TEXT";
|
4825
|
+
id: string;
|
4826
|
+
label: {
|
4827
|
+
id: string;
|
4828
|
+
description: string;
|
4829
|
+
defaultMessage: string;
|
4830
|
+
};
|
4831
|
+
parent?: {
|
4832
|
+
$$field: string;
|
4833
|
+
} | undefined;
|
4834
|
+
validation?: {
|
4835
|
+
message: {
|
4836
|
+
id: string;
|
4837
|
+
description: string;
|
4838
|
+
defaultMessage: string;
|
4839
|
+
};
|
4840
|
+
validator: import(".").JSONSchema;
|
4841
|
+
}[] | undefined;
|
4842
|
+
required?: boolean | undefined;
|
4843
|
+
conditionals?: ({
|
4844
|
+
type: "SHOW";
|
4845
|
+
conditional: import(".").JSONSchema;
|
4846
|
+
} | {
|
4847
|
+
type: "ENABLE";
|
4848
|
+
conditional: import(".").JSONSchema;
|
4849
|
+
} | {
|
4850
|
+
type: "DISPLAY_ON_REVIEW";
|
4851
|
+
conditional: import(".").JSONSchema;
|
4852
|
+
})[] | undefined;
|
4853
|
+
secured?: boolean | undefined;
|
4854
|
+
placeholder?: {
|
4855
|
+
id: string;
|
4856
|
+
description: string;
|
4857
|
+
defaultMessage: string;
|
4858
|
+
} | undefined;
|
4859
|
+
helperText?: {
|
4860
|
+
id: string;
|
4861
|
+
description: string;
|
4862
|
+
defaultMessage: string;
|
4863
|
+
} | undefined;
|
4864
|
+
hideLabel?: boolean | undefined;
|
4865
|
+
defaultValue?: string | undefined;
|
4866
|
+
configuration?: {
|
4867
|
+
type?: "text" | "password" | undefined;
|
4868
|
+
maxLength?: number | undefined;
|
4869
|
+
prefix?: {
|
4870
|
+
id: string;
|
4871
|
+
description: string;
|
4872
|
+
defaultMessage: string;
|
4873
|
+
} | undefined;
|
4874
|
+
postfix?: {
|
4875
|
+
id: string;
|
4876
|
+
description: string;
|
4877
|
+
defaultMessage: string;
|
4878
|
+
} | undefined;
|
4879
|
+
} | undefined;
|
4880
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4881
|
+
id: z.ZodString;
|
4882
|
+
parent: z.ZodOptional<z.ZodObject<{
|
4883
|
+
$$field: z.ZodString;
|
4884
|
+
}, "strip", z.ZodTypeAny, {
|
4885
|
+
$$field: string;
|
4886
|
+
}, {
|
4887
|
+
$$field: string;
|
4888
|
+
}>>;
|
4889
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4890
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4891
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4892
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4893
|
+
id: string;
|
4894
|
+
description: string;
|
4895
|
+
defaultMessage: string;
|
4896
|
+
}>>;
|
4897
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4898
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4899
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4900
|
+
id: string;
|
4901
|
+
description: string;
|
4902
|
+
defaultMessage: string;
|
4903
|
+
}>;
|
4904
|
+
}, "strip", z.ZodTypeAny, {
|
4905
|
+
message: TranslationConfig;
|
4906
|
+
validator: import(".").JSONSchema;
|
4907
|
+
}, {
|
4908
|
+
message: {
|
4909
|
+
id: string;
|
4910
|
+
description: string;
|
4911
|
+
defaultMessage: string;
|
4912
|
+
};
|
4913
|
+
validator: import(".").JSONSchema;
|
4914
|
+
}>, "many">>>;
|
4915
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4916
|
+
id: string;
|
4917
|
+
description: string;
|
3516
4918
|
defaultMessage: string;
|
3517
4919
|
}>;
|
3518
|
-
|
4920
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3519
4921
|
id: string;
|
3520
4922
|
description: string;
|
3521
4923
|
defaultMessage: string;
|
3522
|
-
}
|
3523
|
-
|
3524
|
-
|
4924
|
+
}>>;
|
4925
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4926
|
+
}, {
|
4927
|
+
type: z.ZodLiteral<"NUMBER">;
|
4928
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
4929
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
4930
|
+
min: z.ZodOptional<z.ZodNumber>;
|
4931
|
+
max: z.ZodOptional<z.ZodNumber>;
|
4932
|
+
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4933
|
+
id: string;
|
4934
|
+
description: string;
|
4935
|
+
defaultMessage: string;
|
4936
|
+
}>>;
|
4937
|
+
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4938
|
+
id: string;
|
4939
|
+
description: string;
|
4940
|
+
defaultMessage: string;
|
4941
|
+
}>>;
|
4942
|
+
}, "strip", z.ZodTypeAny, {
|
4943
|
+
prefix?: TranslationConfig | undefined;
|
4944
|
+
postfix?: TranslationConfig | undefined;
|
4945
|
+
min?: number | undefined;
|
4946
|
+
max?: number | undefined;
|
4947
|
+
}, {
|
4948
|
+
prefix?: {
|
4949
|
+
id: string;
|
4950
|
+
description: string;
|
4951
|
+
defaultMessage: string;
|
4952
|
+
} | undefined;
|
4953
|
+
postfix?: {
|
4954
|
+
id: string;
|
4955
|
+
description: string;
|
4956
|
+
defaultMessage: string;
|
4957
|
+
} | undefined;
|
4958
|
+
min?: number | undefined;
|
4959
|
+
max?: number | undefined;
|
4960
|
+
}>>;
|
4961
|
+
}>, "strip", z.ZodTypeAny, {
|
4962
|
+
type: "NUMBER";
|
4963
|
+
id: string;
|
3525
4964
|
label: TranslationConfig;
|
4965
|
+
parent?: {
|
4966
|
+
$$field: string;
|
4967
|
+
} | undefined;
|
4968
|
+
validation?: {
|
4969
|
+
message: TranslationConfig;
|
4970
|
+
validator: import(".").JSONSchema;
|
4971
|
+
}[] | undefined;
|
4972
|
+
required?: boolean | undefined;
|
4973
|
+
conditionals?: ({
|
4974
|
+
type: "SHOW";
|
4975
|
+
conditional: import(".").JSONSchema;
|
4976
|
+
} | {
|
4977
|
+
type: "ENABLE";
|
4978
|
+
conditional: import(".").JSONSchema;
|
4979
|
+
} | {
|
4980
|
+
type: "DISPLAY_ON_REVIEW";
|
4981
|
+
conditional: import(".").JSONSchema;
|
4982
|
+
})[] | undefined;
|
4983
|
+
secured?: boolean | undefined;
|
4984
|
+
placeholder?: TranslationConfig | undefined;
|
4985
|
+
helperText?: TranslationConfig | undefined;
|
4986
|
+
hideLabel?: boolean | undefined;
|
4987
|
+
defaultValue?: number | undefined;
|
4988
|
+
configuration?: {
|
4989
|
+
prefix?: TranslationConfig | undefined;
|
4990
|
+
postfix?: TranslationConfig | undefined;
|
4991
|
+
min?: number | undefined;
|
4992
|
+
max?: number | undefined;
|
4993
|
+
} | undefined;
|
3526
4994
|
}, {
|
3527
|
-
|
4995
|
+
type: "NUMBER";
|
4996
|
+
id: string;
|
4997
|
+
label: {
|
3528
4998
|
id: string;
|
3529
4999
|
description: string;
|
3530
5000
|
defaultMessage: string;
|
3531
5001
|
};
|
3532
|
-
|
5002
|
+
parent?: {
|
5003
|
+
$$field: string;
|
5004
|
+
} | undefined;
|
5005
|
+
validation?: {
|
5006
|
+
message: {
|
5007
|
+
id: string;
|
5008
|
+
description: string;
|
5009
|
+
defaultMessage: string;
|
5010
|
+
};
|
5011
|
+
validator: import(".").JSONSchema;
|
5012
|
+
}[] | undefined;
|
5013
|
+
required?: boolean | undefined;
|
5014
|
+
conditionals?: ({
|
5015
|
+
type: "SHOW";
|
5016
|
+
conditional: import(".").JSONSchema;
|
5017
|
+
} | {
|
5018
|
+
type: "ENABLE";
|
5019
|
+
conditional: import(".").JSONSchema;
|
5020
|
+
} | {
|
5021
|
+
type: "DISPLAY_ON_REVIEW";
|
5022
|
+
conditional: import(".").JSONSchema;
|
5023
|
+
})[] | undefined;
|
5024
|
+
secured?: boolean | undefined;
|
5025
|
+
placeholder?: {
|
3533
5026
|
id: string;
|
3534
5027
|
description: string;
|
3535
5028
|
defaultMessage: string;
|
3536
|
-
};
|
3537
|
-
|
3538
|
-
|
3539
|
-
|
3540
|
-
|
3541
|
-
}
|
3542
|
-
|
3543
|
-
|
3544
|
-
|
3545
|
-
|
5029
|
+
} | undefined;
|
5030
|
+
helperText?: {
|
5031
|
+
id: string;
|
5032
|
+
description: string;
|
5033
|
+
defaultMessage: string;
|
5034
|
+
} | undefined;
|
5035
|
+
hideLabel?: boolean | undefined;
|
5036
|
+
defaultValue?: number | undefined;
|
5037
|
+
configuration?: {
|
5038
|
+
prefix?: {
|
5039
|
+
id: string;
|
5040
|
+
description: string;
|
5041
|
+
defaultMessage: string;
|
5042
|
+
} | undefined;
|
5043
|
+
postfix?: {
|
5044
|
+
id: string;
|
5045
|
+
description: string;
|
5046
|
+
defaultMessage: string;
|
5047
|
+
} | undefined;
|
5048
|
+
min?: number | undefined;
|
5049
|
+
max?: number | undefined;
|
5050
|
+
} | undefined;
|
5051
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3546
5052
|
id: z.ZodString;
|
3547
5053
|
parent: z.ZodOptional<z.ZodObject<{
|
3548
5054
|
$$field: z.ZodString;
|
@@ -3553,6 +5059,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3553
5059
|
}>>;
|
3554
5060
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3555
5061
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5062
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3556
5063
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3557
5064
|
id: string;
|
3558
5065
|
description: string;
|
@@ -3588,87 +5095,47 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3588
5095
|
}>>;
|
3589
5096
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3590
5097
|
}, {
|
3591
|
-
type: z.ZodLiteral<"
|
3592
|
-
|
3593
|
-
|
5098
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
5099
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
5100
|
+
configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
5101
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
5102
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
5103
|
+
cols: z.ZodOptional<z.ZodNumber>;
|
5104
|
+
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5105
|
+
id: string;
|
5106
|
+
description: string;
|
5107
|
+
defaultMessage: string;
|
5108
|
+
}>>;
|
5109
|
+
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3594
5110
|
id: string;
|
3595
5111
|
description: string;
|
3596
5112
|
defaultMessage: string;
|
3597
5113
|
}>>;
|
3598
|
-
data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
3599
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3600
|
-
id: string;
|
3601
|
-
description: string;
|
3602
|
-
defaultMessage: string;
|
3603
|
-
}>;
|
3604
|
-
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3605
|
-
id: string;
|
3606
|
-
description: string;
|
3607
|
-
defaultMessage: string;
|
3608
|
-
}>, z.ZodString]>;
|
3609
|
-
}, "strip", z.ZodTypeAny, {
|
3610
|
-
value: string | TranslationConfig;
|
3611
|
-
label: TranslationConfig;
|
3612
|
-
}, {
|
3613
|
-
value: string | {
|
3614
|
-
id: string;
|
3615
|
-
description: string;
|
3616
|
-
defaultMessage: string;
|
3617
|
-
};
|
3618
|
-
label: {
|
3619
|
-
id: string;
|
3620
|
-
description: string;
|
3621
|
-
defaultMessage: string;
|
3622
|
-
};
|
3623
|
-
}>, z.ZodObject<{
|
3624
|
-
fieldId: z.ZodString;
|
3625
|
-
}, "strip", z.ZodTypeAny, {
|
3626
|
-
fieldId: string;
|
3627
|
-
}, {
|
3628
|
-
fieldId: string;
|
3629
|
-
}>]>, "many">;
|
3630
5114
|
}, "strip", z.ZodTypeAny, {
|
3631
|
-
|
3632
|
-
|
3633
|
-
|
3634
|
-
|
3635
|
-
|
3636
|
-
|
3637
|
-
|
3638
|
-
|
3639
|
-
data: ({
|
3640
|
-
value: string | {
|
3641
|
-
id: string;
|
3642
|
-
description: string;
|
3643
|
-
defaultMessage: string;
|
3644
|
-
};
|
3645
|
-
label: {
|
3646
|
-
id: string;
|
3647
|
-
description: string;
|
3648
|
-
defaultMessage: string;
|
3649
|
-
};
|
3650
|
-
} | {
|
3651
|
-
fieldId: string;
|
3652
|
-
})[];
|
3653
|
-
subtitle?: {
|
5115
|
+
maxLength?: number | undefined;
|
5116
|
+
prefix?: TranslationConfig | undefined;
|
5117
|
+
postfix?: TranslationConfig | undefined;
|
5118
|
+
rows?: number | undefined;
|
5119
|
+
cols?: number | undefined;
|
5120
|
+
}, {
|
5121
|
+
maxLength?: number | undefined;
|
5122
|
+
prefix?: {
|
3654
5123
|
id: string;
|
3655
5124
|
description: string;
|
3656
5125
|
defaultMessage: string;
|
3657
5126
|
} | undefined;
|
3658
|
-
|
5127
|
+
postfix?: {
|
5128
|
+
id: string;
|
5129
|
+
description: string;
|
5130
|
+
defaultMessage: string;
|
5131
|
+
} | undefined;
|
5132
|
+
rows?: number | undefined;
|
5133
|
+
cols?: number | undefined;
|
5134
|
+
}>>>;
|
3659
5135
|
}>, "strip", z.ZodTypeAny, {
|
3660
|
-
type: "
|
5136
|
+
type: "TEXTAREA";
|
3661
5137
|
id: string;
|
3662
5138
|
label: TranslationConfig;
|
3663
|
-
configuration: {
|
3664
|
-
data: ({
|
3665
|
-
value: string | TranslationConfig;
|
3666
|
-
label: TranslationConfig;
|
3667
|
-
} | {
|
3668
|
-
fieldId: string;
|
3669
|
-
})[];
|
3670
|
-
subtitle?: TranslationConfig | undefined;
|
3671
|
-
};
|
3672
5139
|
parent?: {
|
3673
5140
|
$$field: string;
|
3674
5141
|
} | undefined;
|
@@ -3687,38 +5154,26 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3687
5154
|
type: "DISPLAY_ON_REVIEW";
|
3688
5155
|
conditional: import(".").JSONSchema;
|
3689
5156
|
})[] | undefined;
|
5157
|
+
secured?: boolean | undefined;
|
3690
5158
|
placeholder?: TranslationConfig | undefined;
|
3691
5159
|
helperText?: TranslationConfig | undefined;
|
3692
5160
|
hideLabel?: boolean | undefined;
|
5161
|
+
defaultValue?: string | undefined;
|
5162
|
+
configuration?: {
|
5163
|
+
maxLength?: number | undefined;
|
5164
|
+
prefix?: TranslationConfig | undefined;
|
5165
|
+
postfix?: TranslationConfig | undefined;
|
5166
|
+
rows?: number | undefined;
|
5167
|
+
cols?: number | undefined;
|
5168
|
+
} | undefined;
|
3693
5169
|
}, {
|
3694
|
-
type: "
|
5170
|
+
type: "TEXTAREA";
|
3695
5171
|
id: string;
|
3696
5172
|
label: {
|
3697
5173
|
id: string;
|
3698
5174
|
description: string;
|
3699
5175
|
defaultMessage: string;
|
3700
5176
|
};
|
3701
|
-
configuration: {
|
3702
|
-
data: ({
|
3703
|
-
value: string | {
|
3704
|
-
id: string;
|
3705
|
-
description: string;
|
3706
|
-
defaultMessage: string;
|
3707
|
-
};
|
3708
|
-
label: {
|
3709
|
-
id: string;
|
3710
|
-
description: string;
|
3711
|
-
defaultMessage: string;
|
3712
|
-
};
|
3713
|
-
} | {
|
3714
|
-
fieldId: string;
|
3715
|
-
})[];
|
3716
|
-
subtitle?: {
|
3717
|
-
id: string;
|
3718
|
-
description: string;
|
3719
|
-
defaultMessage: string;
|
3720
|
-
} | undefined;
|
3721
|
-
};
|
3722
5177
|
parent?: {
|
3723
5178
|
$$field: string;
|
3724
5179
|
} | undefined;
|
@@ -3741,6 +5196,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3741
5196
|
type: "DISPLAY_ON_REVIEW";
|
3742
5197
|
conditional: import(".").JSONSchema;
|
3743
5198
|
})[] | undefined;
|
5199
|
+
secured?: boolean | undefined;
|
3744
5200
|
placeholder?: {
|
3745
5201
|
id: string;
|
3746
5202
|
description: string;
|
@@ -3752,18 +5208,23 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3752
5208
|
defaultMessage: string;
|
3753
5209
|
} | undefined;
|
3754
5210
|
hideLabel?: boolean | undefined;
|
3755
|
-
|
3756
|
-
|
3757
|
-
|
3758
|
-
|
3759
|
-
|
3760
|
-
|
3761
|
-
|
3762
|
-
|
3763
|
-
|
3764
|
-
|
3765
|
-
|
3766
|
-
|
5211
|
+
defaultValue?: string | undefined;
|
5212
|
+
configuration?: {
|
5213
|
+
maxLength?: number | undefined;
|
5214
|
+
prefix?: {
|
5215
|
+
id: string;
|
5216
|
+
description: string;
|
5217
|
+
defaultMessage: string;
|
5218
|
+
} | undefined;
|
5219
|
+
postfix?: {
|
5220
|
+
id: string;
|
5221
|
+
description: string;
|
5222
|
+
defaultMessage: string;
|
5223
|
+
} | undefined;
|
5224
|
+
rows?: number | undefined;
|
5225
|
+
cols?: number | undefined;
|
5226
|
+
} | undefined;
|
5227
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3767
5228
|
id: z.ZodString;
|
3768
5229
|
parent: z.ZodOptional<z.ZodObject<{
|
3769
5230
|
$$field: z.ZodString;
|
@@ -3774,6 +5235,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3774
5235
|
}>>;
|
3775
5236
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3776
5237
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5238
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3777
5239
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3778
5240
|
id: string;
|
3779
5241
|
description: string;
|
@@ -3809,96 +5271,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3809
5271
|
}>>;
|
3810
5272
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3811
5273
|
}, {
|
3812
|
-
type: z.ZodLiteral<"
|
3813
|
-
defaultValue: z.ZodOptional<z.
|
3814
|
-
|
3815
|
-
|
3816
|
-
|
3817
|
-
|
3818
|
-
|
3819
|
-
|
3820
|
-
town: z.ZodOptional<z.ZodString>;
|
3821
|
-
residentialArea: z.ZodOptional<z.ZodString>;
|
3822
|
-
street: z.ZodOptional<z.ZodString>;
|
3823
|
-
number: z.ZodOptional<z.ZodString>;
|
3824
|
-
zipCode: z.ZodOptional<z.ZodString>;
|
3825
|
-
}>, "strip", z.ZodTypeAny, {
|
3826
|
-
country: string;
|
3827
|
-
district: string;
|
3828
|
-
addressType: "DOMESTIC";
|
3829
|
-
province: string;
|
3830
|
-
urbanOrRural: "URBAN";
|
3831
|
-
number?: string | undefined;
|
3832
|
-
town?: string | undefined;
|
3833
|
-
residentialArea?: string | undefined;
|
3834
|
-
street?: string | undefined;
|
3835
|
-
zipCode?: string | undefined;
|
3836
|
-
}, {
|
3837
|
-
country: string;
|
3838
|
-
district: string;
|
3839
|
-
addressType: "DOMESTIC";
|
3840
|
-
province: string;
|
3841
|
-
urbanOrRural: "URBAN";
|
3842
|
-
number?: string | undefined;
|
3843
|
-
town?: string | undefined;
|
3844
|
-
residentialArea?: string | undefined;
|
3845
|
-
street?: string | undefined;
|
3846
|
-
zipCode?: string | undefined;
|
3847
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3848
|
-
country: z.ZodString;
|
3849
|
-
addressType: z.ZodLiteral<"DOMESTIC">;
|
3850
|
-
province: z.ZodString;
|
3851
|
-
district: z.ZodString;
|
3852
|
-
}, {
|
3853
|
-
urbanOrRural: z.ZodLiteral<"RURAL">;
|
3854
|
-
village: z.ZodOptional<z.ZodString>;
|
3855
|
-
}>, "strip", z.ZodTypeAny, {
|
3856
|
-
country: string;
|
3857
|
-
district: string;
|
3858
|
-
addressType: "DOMESTIC";
|
3859
|
-
province: string;
|
3860
|
-
urbanOrRural: "RURAL";
|
3861
|
-
village?: string | undefined;
|
3862
|
-
}, {
|
3863
|
-
country: string;
|
3864
|
-
district: string;
|
3865
|
-
addressType: "DOMESTIC";
|
3866
|
-
province: string;
|
3867
|
-
urbanOrRural: "RURAL";
|
3868
|
-
village?: string | undefined;
|
3869
|
-
}>]>, z.ZodObject<{
|
3870
|
-
country: z.ZodString;
|
3871
|
-
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
3872
|
-
state: z.ZodString;
|
3873
|
-
district2: z.ZodString;
|
3874
|
-
cityOrTown: z.ZodOptional<z.ZodString>;
|
3875
|
-
addressLine1: z.ZodOptional<z.ZodString>;
|
3876
|
-
addressLine2: z.ZodOptional<z.ZodString>;
|
3877
|
-
addressLine3: z.ZodOptional<z.ZodString>;
|
3878
|
-
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
5274
|
+
type: z.ZodLiteral<"DATE">;
|
5275
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
5276
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
5277
|
+
notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5278
|
+
id: string;
|
5279
|
+
description: string;
|
5280
|
+
defaultMessage: string;
|
5281
|
+
}>>;
|
3879
5282
|
}, "strip", z.ZodTypeAny, {
|
3880
|
-
|
3881
|
-
state: string;
|
3882
|
-
addressType: "INTERNATIONAL";
|
3883
|
-
district2: string;
|
3884
|
-
cityOrTown?: string | undefined;
|
3885
|
-
addressLine1?: string | undefined;
|
3886
|
-
addressLine2?: string | undefined;
|
3887
|
-
addressLine3?: string | undefined;
|
3888
|
-
postcodeOrZip?: string | undefined;
|
5283
|
+
notice?: TranslationConfig | undefined;
|
3889
5284
|
}, {
|
3890
|
-
|
3891
|
-
|
3892
|
-
|
3893
|
-
|
3894
|
-
|
3895
|
-
|
3896
|
-
addressLine2?: string | undefined;
|
3897
|
-
addressLine3?: string | undefined;
|
3898
|
-
postcodeOrZip?: string | undefined;
|
3899
|
-
}>]>>;
|
5285
|
+
notice?: {
|
5286
|
+
id: string;
|
5287
|
+
description: string;
|
5288
|
+
defaultMessage: string;
|
5289
|
+
} | undefined;
|
5290
|
+
}>>;
|
3900
5291
|
}>, "strip", z.ZodTypeAny, {
|
3901
|
-
type: "
|
5292
|
+
type: "DATE";
|
3902
5293
|
id: string;
|
3903
5294
|
label: TranslationConfig;
|
3904
5295
|
parent?: {
|
@@ -3919,40 +5310,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3919
5310
|
type: "DISPLAY_ON_REVIEW";
|
3920
5311
|
conditional: import(".").JSONSchema;
|
3921
5312
|
})[] | undefined;
|
5313
|
+
secured?: boolean | undefined;
|
3922
5314
|
placeholder?: TranslationConfig | undefined;
|
3923
5315
|
helperText?: TranslationConfig | undefined;
|
3924
5316
|
hideLabel?: boolean | undefined;
|
3925
|
-
defaultValue?:
|
3926
|
-
|
3927
|
-
|
3928
|
-
addressType: "DOMESTIC";
|
3929
|
-
province: string;
|
3930
|
-
urbanOrRural: "URBAN";
|
3931
|
-
number?: string | undefined;
|
3932
|
-
town?: string | undefined;
|
3933
|
-
residentialArea?: string | undefined;
|
3934
|
-
street?: string | undefined;
|
3935
|
-
zipCode?: string | undefined;
|
3936
|
-
} | {
|
3937
|
-
country: string;
|
3938
|
-
district: string;
|
3939
|
-
addressType: "DOMESTIC";
|
3940
|
-
province: string;
|
3941
|
-
urbanOrRural: "RURAL";
|
3942
|
-
village?: string | undefined;
|
3943
|
-
} | {
|
3944
|
-
country: string;
|
3945
|
-
state: string;
|
3946
|
-
addressType: "INTERNATIONAL";
|
3947
|
-
district2: string;
|
3948
|
-
cityOrTown?: string | undefined;
|
3949
|
-
addressLine1?: string | undefined;
|
3950
|
-
addressLine2?: string | undefined;
|
3951
|
-
addressLine3?: string | undefined;
|
3952
|
-
postcodeOrZip?: string | undefined;
|
5317
|
+
defaultValue?: string | undefined;
|
5318
|
+
configuration?: {
|
5319
|
+
notice?: TranslationConfig | undefined;
|
3953
5320
|
} | undefined;
|
3954
5321
|
}, {
|
3955
|
-
type: "
|
5322
|
+
type: "DATE";
|
3956
5323
|
id: string;
|
3957
5324
|
label: {
|
3958
5325
|
id: string;
|
@@ -3981,45 +5348,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3981
5348
|
type: "DISPLAY_ON_REVIEW";
|
3982
5349
|
conditional: import(".").JSONSchema;
|
3983
5350
|
})[] | undefined;
|
5351
|
+
secured?: boolean | undefined;
|
3984
5352
|
placeholder?: {
|
3985
5353
|
id: string;
|
3986
|
-
description: string;
|
3987
|
-
defaultMessage: string;
|
3988
|
-
} | undefined;
|
3989
|
-
helperText?: {
|
3990
|
-
id: string;
|
3991
|
-
description: string;
|
3992
|
-
defaultMessage: string;
|
3993
|
-
} | undefined;
|
3994
|
-
hideLabel?: boolean | undefined;
|
3995
|
-
defaultValue?:
|
3996
|
-
|
3997
|
-
|
3998
|
-
|
3999
|
-
|
4000
|
-
|
4001
|
-
|
4002
|
-
town?: string | undefined;
|
4003
|
-
residentialArea?: string | undefined;
|
4004
|
-
street?: string | undefined;
|
4005
|
-
zipCode?: string | undefined;
|
4006
|
-
} | {
|
4007
|
-
country: string;
|
4008
|
-
district: string;
|
4009
|
-
addressType: "DOMESTIC";
|
4010
|
-
province: string;
|
4011
|
-
urbanOrRural: "RURAL";
|
4012
|
-
village?: string | undefined;
|
4013
|
-
} | {
|
4014
|
-
country: string;
|
4015
|
-
state: string;
|
4016
|
-
addressType: "INTERNATIONAL";
|
4017
|
-
district2: string;
|
4018
|
-
cityOrTown?: string | undefined;
|
4019
|
-
addressLine1?: string | undefined;
|
4020
|
-
addressLine2?: string | undefined;
|
4021
|
-
addressLine3?: string | undefined;
|
4022
|
-
postcodeOrZip?: string | undefined;
|
5354
|
+
description: string;
|
5355
|
+
defaultMessage: string;
|
5356
|
+
} | undefined;
|
5357
|
+
helperText?: {
|
5358
|
+
id: string;
|
5359
|
+
description: string;
|
5360
|
+
defaultMessage: string;
|
5361
|
+
} | undefined;
|
5362
|
+
hideLabel?: boolean | undefined;
|
5363
|
+
defaultValue?: string | undefined;
|
5364
|
+
configuration?: {
|
5365
|
+
notice?: {
|
5366
|
+
id: string;
|
5367
|
+
description: string;
|
5368
|
+
defaultMessage: string;
|
5369
|
+
} | undefined;
|
4023
5370
|
} | undefined;
|
4024
5371
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4025
5372
|
id: z.ZodString;
|
@@ -4032,6 +5379,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4032
5379
|
}>>;
|
4033
5380
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4034
5381
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5382
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4035
5383
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4036
5384
|
id: string;
|
4037
5385
|
description: string;
|
@@ -4067,42 +5415,34 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4067
5415
|
}>>;
|
4068
5416
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4069
5417
|
}, {
|
4070
|
-
type: z.ZodLiteral<"
|
4071
|
-
defaultValue: z.ZodOptional<z.
|
4072
|
-
|
4073
|
-
|
4074
|
-
|
4075
|
-
|
4076
|
-
|
4077
|
-
|
4078
|
-
|
4079
|
-
|
4080
|
-
|
5418
|
+
type: z.ZodLiteral<"DATE_RANGE">;
|
5419
|
+
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
5420
|
+
start: z.ZodString;
|
5421
|
+
end: z.ZodString;
|
5422
|
+
}, "strip", z.ZodTypeAny, {
|
5423
|
+
start: string;
|
5424
|
+
end: string;
|
5425
|
+
}, {
|
5426
|
+
start: string;
|
5427
|
+
end: string;
|
5428
|
+
}>, z.ZodString]>>;
|
5429
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
5430
|
+
notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4081
5431
|
id: string;
|
4082
5432
|
description: string;
|
4083
5433
|
defaultMessage: string;
|
4084
5434
|
}>>;
|
4085
5435
|
}, "strip", z.ZodTypeAny, {
|
4086
|
-
|
4087
|
-
maxLength?: number | undefined;
|
4088
|
-
prefix?: TranslationConfig | undefined;
|
4089
|
-
postfix?: TranslationConfig | undefined;
|
5436
|
+
notice?: TranslationConfig | undefined;
|
4090
5437
|
}, {
|
4091
|
-
|
4092
|
-
maxLength?: number | undefined;
|
4093
|
-
prefix?: {
|
4094
|
-
id: string;
|
4095
|
-
description: string;
|
4096
|
-
defaultMessage: string;
|
4097
|
-
} | undefined;
|
4098
|
-
postfix?: {
|
5438
|
+
notice?: {
|
4099
5439
|
id: string;
|
4100
5440
|
description: string;
|
4101
5441
|
defaultMessage: string;
|
4102
5442
|
} | undefined;
|
4103
|
-
}
|
5443
|
+
}>>;
|
4104
5444
|
}>, "strip", z.ZodTypeAny, {
|
4105
|
-
type: "
|
5445
|
+
type: "DATE_RANGE";
|
4106
5446
|
id: string;
|
4107
5447
|
label: TranslationConfig;
|
4108
5448
|
parent?: {
|
@@ -4123,18 +5463,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4123
5463
|
type: "DISPLAY_ON_REVIEW";
|
4124
5464
|
conditional: import(".").JSONSchema;
|
4125
5465
|
})[] | undefined;
|
5466
|
+
secured?: boolean | undefined;
|
4126
5467
|
placeholder?: TranslationConfig | undefined;
|
4127
5468
|
helperText?: TranslationConfig | undefined;
|
4128
5469
|
hideLabel?: boolean | undefined;
|
4129
|
-
defaultValue?: string |
|
5470
|
+
defaultValue?: string | {
|
5471
|
+
start: string;
|
5472
|
+
end: string;
|
5473
|
+
} | undefined;
|
4130
5474
|
configuration?: {
|
4131
|
-
|
4132
|
-
maxLength?: number | undefined;
|
4133
|
-
prefix?: TranslationConfig | undefined;
|
4134
|
-
postfix?: TranslationConfig | undefined;
|
5475
|
+
notice?: TranslationConfig | undefined;
|
4135
5476
|
} | undefined;
|
4136
5477
|
}, {
|
4137
|
-
type: "
|
5478
|
+
type: "DATE_RANGE";
|
4138
5479
|
id: string;
|
4139
5480
|
label: {
|
4140
5481
|
id: string;
|
@@ -4163,6 +5504,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4163
5504
|
type: "DISPLAY_ON_REVIEW";
|
4164
5505
|
conditional: import(".").JSONSchema;
|
4165
5506
|
})[] | undefined;
|
5507
|
+
secured?: boolean | undefined;
|
4166
5508
|
placeholder?: {
|
4167
5509
|
id: string;
|
4168
5510
|
description: string;
|
@@ -4174,16 +5516,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4174
5516
|
defaultMessage: string;
|
4175
5517
|
} | undefined;
|
4176
5518
|
hideLabel?: boolean | undefined;
|
4177
|
-
defaultValue?: string |
|
5519
|
+
defaultValue?: string | {
|
5520
|
+
start: string;
|
5521
|
+
end: string;
|
5522
|
+
} | undefined;
|
4178
5523
|
configuration?: {
|
4179
|
-
|
4180
|
-
maxLength?: number | undefined;
|
4181
|
-
prefix?: {
|
4182
|
-
id: string;
|
4183
|
-
description: string;
|
4184
|
-
defaultMessage: string;
|
4185
|
-
} | undefined;
|
4186
|
-
postfix?: {
|
5524
|
+
notice?: {
|
4187
5525
|
id: string;
|
4188
5526
|
description: string;
|
4189
5527
|
defaultMessage: string;
|
@@ -4200,6 +5538,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4200
5538
|
}>>;
|
4201
5539
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4202
5540
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5541
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4203
5542
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4204
5543
|
id: string;
|
4205
5544
|
description: string;
|
@@ -4235,43 +5574,33 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4235
5574
|
}>>;
|
4236
5575
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4237
5576
|
}, {
|
4238
|
-
type: z.ZodLiteral<"
|
4239
|
-
defaultValue: z.ZodOptional<z.
|
4240
|
-
|
4241
|
-
|
4242
|
-
|
4243
|
-
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4244
|
-
id: string;
|
4245
|
-
description: string;
|
4246
|
-
defaultMessage: string;
|
4247
|
-
}>>;
|
4248
|
-
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5577
|
+
type: z.ZodLiteral<"SELECT_DATE_RANGE">;
|
5578
|
+
defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
|
5579
|
+
options: z.ZodArray<z.ZodObject<{
|
5580
|
+
value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
5581
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4249
5582
|
id: string;
|
4250
5583
|
description: string;
|
4251
5584
|
defaultMessage: string;
|
4252
|
-
}
|
5585
|
+
}>;
|
4253
5586
|
}, "strip", z.ZodTypeAny, {
|
4254
|
-
|
4255
|
-
|
4256
|
-
min?: number | undefined;
|
4257
|
-
max?: number | undefined;
|
5587
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
5588
|
+
label: TranslationConfig;
|
4258
5589
|
}, {
|
4259
|
-
|
4260
|
-
|
4261
|
-
description: string;
|
4262
|
-
defaultMessage: string;
|
4263
|
-
} | undefined;
|
4264
|
-
postfix?: {
|
5590
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
5591
|
+
label: {
|
4265
5592
|
id: string;
|
4266
5593
|
description: string;
|
4267
5594
|
defaultMessage: string;
|
4268
|
-
}
|
4269
|
-
|
4270
|
-
max?: number | undefined;
|
4271
|
-
}>>;
|
5595
|
+
};
|
5596
|
+
}>, "many">;
|
4272
5597
|
}>, "strip", z.ZodTypeAny, {
|
4273
|
-
type: "
|
5598
|
+
type: "SELECT_DATE_RANGE";
|
4274
5599
|
id: string;
|
5600
|
+
options: {
|
5601
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
5602
|
+
label: TranslationConfig;
|
5603
|
+
}[];
|
4275
5604
|
label: TranslationConfig;
|
4276
5605
|
parent?: {
|
4277
5606
|
$$field: string;
|
@@ -4291,19 +5620,22 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4291
5620
|
type: "DISPLAY_ON_REVIEW";
|
4292
5621
|
conditional: import(".").JSONSchema;
|
4293
5622
|
})[] | undefined;
|
5623
|
+
secured?: boolean | undefined;
|
4294
5624
|
placeholder?: TranslationConfig | undefined;
|
4295
5625
|
helperText?: TranslationConfig | undefined;
|
4296
5626
|
hideLabel?: boolean | undefined;
|
4297
|
-
defaultValue?:
|
4298
|
-
configuration?: {
|
4299
|
-
prefix?: TranslationConfig | undefined;
|
4300
|
-
postfix?: TranslationConfig | undefined;
|
4301
|
-
min?: number | undefined;
|
4302
|
-
max?: number | undefined;
|
4303
|
-
} | undefined;
|
5627
|
+
defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
|
4304
5628
|
}, {
|
4305
|
-
type: "
|
5629
|
+
type: "SELECT_DATE_RANGE";
|
4306
5630
|
id: string;
|
5631
|
+
options: {
|
5632
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
5633
|
+
label: {
|
5634
|
+
id: string;
|
5635
|
+
description: string;
|
5636
|
+
defaultMessage: string;
|
5637
|
+
};
|
5638
|
+
}[];
|
4307
5639
|
label: {
|
4308
5640
|
id: string;
|
4309
5641
|
description: string;
|
@@ -4331,6 +5663,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4331
5663
|
type: "DISPLAY_ON_REVIEW";
|
4332
5664
|
conditional: import(".").JSONSchema;
|
4333
5665
|
})[] | undefined;
|
5666
|
+
secured?: boolean | undefined;
|
4334
5667
|
placeholder?: {
|
4335
5668
|
id: string;
|
4336
5669
|
description: string;
|
@@ -4342,21 +5675,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4342
5675
|
defaultMessage: string;
|
4343
5676
|
} | undefined;
|
4344
5677
|
hideLabel?: boolean | undefined;
|
4345
|
-
defaultValue?:
|
4346
|
-
configuration?: {
|
4347
|
-
prefix?: {
|
4348
|
-
id: string;
|
4349
|
-
description: string;
|
4350
|
-
defaultMessage: string;
|
4351
|
-
} | undefined;
|
4352
|
-
postfix?: {
|
4353
|
-
id: string;
|
4354
|
-
description: string;
|
4355
|
-
defaultMessage: string;
|
4356
|
-
} | undefined;
|
4357
|
-
min?: number | undefined;
|
4358
|
-
max?: number | undefined;
|
4359
|
-
} | undefined;
|
5678
|
+
defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
|
4360
5679
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4361
5680
|
id: z.ZodString;
|
4362
5681
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -4368,6 +5687,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4368
5687
|
}>>;
|
4369
5688
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4370
5689
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5690
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4371
5691
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4372
5692
|
id: string;
|
4373
5693
|
description: string;
|
@@ -4403,47 +5723,34 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4403
5723
|
}>>;
|
4404
5724
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4405
5725
|
}, {
|
4406
|
-
type: z.ZodLiteral<"
|
5726
|
+
type: z.ZodLiteral<"PARAGRAPH">;
|
4407
5727
|
defaultValue: z.ZodOptional<z.ZodString>;
|
4408
|
-
configuration: z.
|
4409
|
-
|
4410
|
-
|
4411
|
-
|
4412
|
-
|
4413
|
-
|
4414
|
-
|
4415
|
-
defaultMessage: string;
|
4416
|
-
}>>;
|
4417
|
-
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4418
|
-
id: string;
|
4419
|
-
description: string;
|
4420
|
-
defaultMessage: string;
|
5728
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
5729
|
+
styles: z.ZodOptional<z.ZodObject<{
|
5730
|
+
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
5731
|
+
}, "strip", z.ZodTypeAny, {
|
5732
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5733
|
+
}, {
|
5734
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4421
5735
|
}>>;
|
4422
5736
|
}, "strip", z.ZodTypeAny, {
|
4423
|
-
|
4424
|
-
|
4425
|
-
postfix?: TranslationConfig | undefined;
|
4426
|
-
rows?: number | undefined;
|
4427
|
-
cols?: number | undefined;
|
4428
|
-
}, {
|
4429
|
-
maxLength?: number | undefined;
|
4430
|
-
prefix?: {
|
4431
|
-
id: string;
|
4432
|
-
description: string;
|
4433
|
-
defaultMessage: string;
|
5737
|
+
styles?: {
|
5738
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4434
5739
|
} | undefined;
|
4435
|
-
|
4436
|
-
|
4437
|
-
|
4438
|
-
defaultMessage: string;
|
5740
|
+
}, {
|
5741
|
+
styles?: {
|
5742
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4439
5743
|
} | undefined;
|
4440
|
-
|
4441
|
-
cols?: number | undefined;
|
4442
|
-
}>>>;
|
5744
|
+
}>>;
|
4443
5745
|
}>, "strip", z.ZodTypeAny, {
|
4444
|
-
type: "
|
5746
|
+
type: "PARAGRAPH";
|
4445
5747
|
id: string;
|
4446
5748
|
label: TranslationConfig;
|
5749
|
+
configuration: {
|
5750
|
+
styles?: {
|
5751
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5752
|
+
} | undefined;
|
5753
|
+
};
|
4447
5754
|
parent?: {
|
4448
5755
|
$$field: string;
|
4449
5756
|
} | undefined;
|
@@ -4462,19 +5769,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4462
5769
|
type: "DISPLAY_ON_REVIEW";
|
4463
5770
|
conditional: import(".").JSONSchema;
|
4464
5771
|
})[] | undefined;
|
5772
|
+
secured?: boolean | undefined;
|
4465
5773
|
placeholder?: TranslationConfig | undefined;
|
4466
5774
|
helperText?: TranslationConfig | undefined;
|
4467
5775
|
hideLabel?: boolean | undefined;
|
4468
5776
|
defaultValue?: string | undefined;
|
4469
|
-
configuration?: {
|
4470
|
-
maxLength?: number | undefined;
|
4471
|
-
prefix?: TranslationConfig | undefined;
|
4472
|
-
postfix?: TranslationConfig | undefined;
|
4473
|
-
rows?: number | undefined;
|
4474
|
-
cols?: number | undefined;
|
4475
|
-
} | undefined;
|
4476
5777
|
}, {
|
4477
|
-
type: "
|
5778
|
+
type: "PARAGRAPH";
|
4478
5779
|
id: string;
|
4479
5780
|
label: {
|
4480
5781
|
id: string;
|
@@ -4503,6 +5804,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4503
5804
|
type: "DISPLAY_ON_REVIEW";
|
4504
5805
|
conditional: import(".").JSONSchema;
|
4505
5806
|
})[] | undefined;
|
5807
|
+
secured?: boolean | undefined;
|
4506
5808
|
placeholder?: {
|
4507
5809
|
id: string;
|
4508
5810
|
description: string;
|
@@ -4516,19 +5818,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4516
5818
|
hideLabel?: boolean | undefined;
|
4517
5819
|
defaultValue?: string | undefined;
|
4518
5820
|
configuration?: {
|
4519
|
-
|
4520
|
-
|
4521
|
-
id: string;
|
4522
|
-
description: string;
|
4523
|
-
defaultMessage: string;
|
4524
|
-
} | undefined;
|
4525
|
-
postfix?: {
|
4526
|
-
id: string;
|
4527
|
-
description: string;
|
4528
|
-
defaultMessage: string;
|
5821
|
+
styles?: {
|
5822
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4529
5823
|
} | undefined;
|
4530
|
-
rows?: number | undefined;
|
4531
|
-
cols?: number | undefined;
|
4532
5824
|
} | undefined;
|
4533
5825
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4534
5826
|
id: z.ZodString;
|
@@ -4541,6 +5833,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4541
5833
|
}>>;
|
4542
5834
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4543
5835
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5836
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4544
5837
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4545
5838
|
id: string;
|
4546
5839
|
description: string;
|
@@ -4576,26 +5869,50 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4576
5869
|
}>>;
|
4577
5870
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4578
5871
|
}, {
|
4579
|
-
type: z.ZodLiteral<"
|
5872
|
+
type: z.ZodLiteral<"RADIO_GROUP">;
|
4580
5873
|
defaultValue: z.ZodOptional<z.ZodString>;
|
4581
|
-
|
4582
|
-
|
5874
|
+
options: z.ZodArray<z.ZodObject<{
|
5875
|
+
value: z.ZodString;
|
5876
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4583
5877
|
id: string;
|
4584
5878
|
description: string;
|
4585
5879
|
defaultMessage: string;
|
4586
|
-
}
|
5880
|
+
}>;
|
4587
5881
|
}, "strip", z.ZodTypeAny, {
|
4588
|
-
|
5882
|
+
value: string;
|
5883
|
+
label: TranslationConfig;
|
4589
5884
|
}, {
|
4590
|
-
|
5885
|
+
value: string;
|
5886
|
+
label: {
|
4591
5887
|
id: string;
|
4592
5888
|
description: string;
|
4593
5889
|
defaultMessage: string;
|
5890
|
+
};
|
5891
|
+
}>, "many">;
|
5892
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
5893
|
+
styles: z.ZodOptional<z.ZodObject<{
|
5894
|
+
size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
|
5895
|
+
}, "strip", z.ZodTypeAny, {
|
5896
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
5897
|
+
}, {
|
5898
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
5899
|
+
}>>;
|
5900
|
+
}, "strip", z.ZodTypeAny, {
|
5901
|
+
styles?: {
|
5902
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
5903
|
+
} | undefined;
|
5904
|
+
}, {
|
5905
|
+
styles?: {
|
5906
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
4594
5907
|
} | undefined;
|
4595
5908
|
}>>;
|
4596
5909
|
}>, "strip", z.ZodTypeAny, {
|
4597
|
-
type: "
|
5910
|
+
type: "RADIO_GROUP";
|
4598
5911
|
id: string;
|
5912
|
+
options: {
|
5913
|
+
value: string;
|
5914
|
+
label: TranslationConfig;
|
5915
|
+
}[];
|
4599
5916
|
label: TranslationConfig;
|
4600
5917
|
parent?: {
|
4601
5918
|
$$field: string;
|
@@ -4615,16 +5932,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4615
5932
|
type: "DISPLAY_ON_REVIEW";
|
4616
5933
|
conditional: import(".").JSONSchema;
|
4617
5934
|
})[] | undefined;
|
5935
|
+
secured?: boolean | undefined;
|
4618
5936
|
placeholder?: TranslationConfig | undefined;
|
4619
5937
|
helperText?: TranslationConfig | undefined;
|
4620
5938
|
hideLabel?: boolean | undefined;
|
4621
5939
|
defaultValue?: string | undefined;
|
4622
5940
|
configuration?: {
|
4623
|
-
|
5941
|
+
styles?: {
|
5942
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
5943
|
+
} | undefined;
|
4624
5944
|
} | undefined;
|
4625
5945
|
}, {
|
4626
|
-
type: "
|
5946
|
+
type: "RADIO_GROUP";
|
4627
5947
|
id: string;
|
5948
|
+
options: {
|
5949
|
+
value: string;
|
5950
|
+
label: {
|
5951
|
+
id: string;
|
5952
|
+
description: string;
|
5953
|
+
defaultMessage: string;
|
5954
|
+
};
|
5955
|
+
}[];
|
4628
5956
|
label: {
|
4629
5957
|
id: string;
|
4630
5958
|
description: string;
|
@@ -4652,6 +5980,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4652
5980
|
type: "DISPLAY_ON_REVIEW";
|
4653
5981
|
conditional: import(".").JSONSchema;
|
4654
5982
|
})[] | undefined;
|
5983
|
+
secured?: boolean | undefined;
|
4655
5984
|
placeholder?: {
|
4656
5985
|
id: string;
|
4657
5986
|
description: string;
|
@@ -4665,10 +5994,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4665
5994
|
hideLabel?: boolean | undefined;
|
4666
5995
|
defaultValue?: string | undefined;
|
4667
5996
|
configuration?: {
|
4668
|
-
|
4669
|
-
|
4670
|
-
description: string;
|
4671
|
-
defaultMessage: string;
|
5997
|
+
styles?: {
|
5998
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
4672
5999
|
} | undefined;
|
4673
6000
|
} | undefined;
|
4674
6001
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
@@ -4682,6 +6009,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4682
6009
|
}>>;
|
4683
6010
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4684
6011
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6012
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4685
6013
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4686
6014
|
id: string;
|
4687
6015
|
description: string;
|
@@ -4717,27 +6045,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4717
6045
|
}>>;
|
4718
6046
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4719
6047
|
}, {
|
4720
|
-
type: z.ZodLiteral<"
|
4721
|
-
defaultValue: z.ZodOptional<z.
|
4722
|
-
|
4723
|
-
|
4724
|
-
|
4725
|
-
|
4726
|
-
|
6048
|
+
type: z.ZodLiteral<"BULLET_LIST">;
|
6049
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
6050
|
+
items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6051
|
+
id: string;
|
6052
|
+
description: string;
|
6053
|
+
defaultMessage: string;
|
6054
|
+
}>, "many">;
|
6055
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
6056
|
+
styles: z.ZodOptional<z.ZodObject<{
|
6057
|
+
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
6058
|
+
}, "strip", z.ZodTypeAny, {
|
6059
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
6060
|
+
}, {
|
6061
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4727
6062
|
}>>;
|
4728
6063
|
}, "strip", z.ZodTypeAny, {
|
4729
|
-
|
6064
|
+
styles?: {
|
6065
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
6066
|
+
} | undefined;
|
4730
6067
|
}, {
|
4731
|
-
|
4732
|
-
|
4733
|
-
description: string;
|
4734
|
-
defaultMessage: string;
|
6068
|
+
styles?: {
|
6069
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4735
6070
|
} | undefined;
|
4736
6071
|
}>>;
|
4737
6072
|
}>, "strip", z.ZodTypeAny, {
|
4738
|
-
type: "
|
6073
|
+
type: "BULLET_LIST";
|
4739
6074
|
id: string;
|
4740
6075
|
label: TranslationConfig;
|
6076
|
+
configuration: {
|
6077
|
+
styles?: {
|
6078
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
6079
|
+
} | undefined;
|
6080
|
+
};
|
6081
|
+
items: TranslationConfig[];
|
4741
6082
|
parent?: {
|
4742
6083
|
$$field: string;
|
4743
6084
|
} | undefined;
|
@@ -4756,21 +6097,24 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4756
6097
|
type: "DISPLAY_ON_REVIEW";
|
4757
6098
|
conditional: import(".").JSONSchema;
|
4758
6099
|
})[] | undefined;
|
6100
|
+
secured?: boolean | undefined;
|
4759
6101
|
placeholder?: TranslationConfig | undefined;
|
4760
6102
|
helperText?: TranslationConfig | undefined;
|
4761
6103
|
hideLabel?: boolean | undefined;
|
4762
|
-
defaultValue?: string |
|
4763
|
-
configuration?: {
|
4764
|
-
notice?: TranslationConfig | undefined;
|
4765
|
-
} | undefined;
|
6104
|
+
defaultValue?: string | undefined;
|
4766
6105
|
}, {
|
4767
|
-
type: "
|
6106
|
+
type: "BULLET_LIST";
|
4768
6107
|
id: string;
|
4769
6108
|
label: {
|
4770
6109
|
id: string;
|
4771
6110
|
description: string;
|
4772
6111
|
defaultMessage: string;
|
4773
6112
|
};
|
6113
|
+
items: {
|
6114
|
+
id: string;
|
6115
|
+
description: string;
|
6116
|
+
defaultMessage: string;
|
6117
|
+
}[];
|
4774
6118
|
parent?: {
|
4775
6119
|
$$field: string;
|
4776
6120
|
} | undefined;
|
@@ -4793,6 +6137,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4793
6137
|
type: "DISPLAY_ON_REVIEW";
|
4794
6138
|
conditional: import(".").JSONSchema;
|
4795
6139
|
})[] | undefined;
|
6140
|
+
secured?: boolean | undefined;
|
4796
6141
|
placeholder?: {
|
4797
6142
|
id: string;
|
4798
6143
|
description: string;
|
@@ -4804,12 +6149,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4804
6149
|
defaultMessage: string;
|
4805
6150
|
} | undefined;
|
4806
6151
|
hideLabel?: boolean | undefined;
|
4807
|
-
defaultValue?: string |
|
6152
|
+
defaultValue?: string | undefined;
|
4808
6153
|
configuration?: {
|
4809
|
-
|
4810
|
-
|
4811
|
-
description: string;
|
4812
|
-
defaultMessage: string;
|
6154
|
+
styles?: {
|
6155
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4813
6156
|
} | undefined;
|
4814
6157
|
} | undefined;
|
4815
6158
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
@@ -4823,6 +6166,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4823
6166
|
}>>;
|
4824
6167
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4825
6168
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6169
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4826
6170
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4827
6171
|
id: string;
|
4828
6172
|
description: string;
|
@@ -4858,40 +6202,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4858
6202
|
}>>;
|
4859
6203
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4860
6204
|
}, {
|
4861
|
-
type: z.ZodLiteral<"
|
6205
|
+
type: z.ZodLiteral<"PAGE_HEADER">;
|
4862
6206
|
defaultValue: z.ZodOptional<z.ZodString>;
|
4863
|
-
configuration: z.ZodDefault<z.ZodObject<{
|
4864
|
-
styles: z.ZodOptional<z.ZodObject<{
|
4865
|
-
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
4866
|
-
hint: z.ZodOptional<z.ZodBoolean>;
|
4867
|
-
}, "strip", z.ZodTypeAny, {
|
4868
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4869
|
-
hint?: boolean | undefined;
|
4870
|
-
}, {
|
4871
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4872
|
-
hint?: boolean | undefined;
|
4873
|
-
}>>;
|
4874
|
-
}, "strip", z.ZodTypeAny, {
|
4875
|
-
styles?: {
|
4876
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4877
|
-
hint?: boolean | undefined;
|
4878
|
-
} | undefined;
|
4879
|
-
}, {
|
4880
|
-
styles?: {
|
4881
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4882
|
-
hint?: boolean | undefined;
|
4883
|
-
} | undefined;
|
4884
|
-
}>>;
|
4885
6207
|
}>, "strip", z.ZodTypeAny, {
|
4886
|
-
type: "
|
6208
|
+
type: "PAGE_HEADER";
|
4887
6209
|
id: string;
|
4888
6210
|
label: TranslationConfig;
|
4889
|
-
configuration: {
|
4890
|
-
styles?: {
|
4891
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4892
|
-
hint?: boolean | undefined;
|
4893
|
-
} | undefined;
|
4894
|
-
};
|
4895
6211
|
parent?: {
|
4896
6212
|
$$field: string;
|
4897
6213
|
} | undefined;
|
@@ -4910,12 +6226,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4910
6226
|
type: "DISPLAY_ON_REVIEW";
|
4911
6227
|
conditional: import(".").JSONSchema;
|
4912
6228
|
})[] | undefined;
|
6229
|
+
secured?: boolean | undefined;
|
4913
6230
|
placeholder?: TranslationConfig | undefined;
|
4914
6231
|
helperText?: TranslationConfig | undefined;
|
4915
6232
|
hideLabel?: boolean | undefined;
|
4916
6233
|
defaultValue?: string | undefined;
|
4917
6234
|
}, {
|
4918
|
-
type: "
|
6235
|
+
type: "PAGE_HEADER";
|
4919
6236
|
id: string;
|
4920
6237
|
label: {
|
4921
6238
|
id: string;
|
@@ -4944,6 +6261,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4944
6261
|
type: "DISPLAY_ON_REVIEW";
|
4945
6262
|
conditional: import(".").JSONSchema;
|
4946
6263
|
})[] | undefined;
|
6264
|
+
secured?: boolean | undefined;
|
4947
6265
|
placeholder?: {
|
4948
6266
|
id: string;
|
4949
6267
|
description: string;
|
@@ -4956,12 +6274,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4956
6274
|
} | undefined;
|
4957
6275
|
hideLabel?: boolean | undefined;
|
4958
6276
|
defaultValue?: string | undefined;
|
4959
|
-
configuration?: {
|
4960
|
-
styles?: {
|
4961
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4962
|
-
hint?: boolean | undefined;
|
4963
|
-
} | undefined;
|
4964
|
-
} | undefined;
|
4965
6277
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4966
6278
|
id: z.ZodString;
|
4967
6279
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -4973,6 +6285,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4973
6285
|
}>>;
|
4974
6286
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4975
6287
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6288
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4976
6289
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4977
6290
|
id: string;
|
4978
6291
|
description: string;
|
@@ -5008,7 +6321,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5008
6321
|
}>>;
|
5009
6322
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5010
6323
|
}, {
|
5011
|
-
type: z.ZodLiteral<"
|
6324
|
+
type: z.ZodLiteral<"SELECT">;
|
5012
6325
|
defaultValue: z.ZodOptional<z.ZodString>;
|
5013
6326
|
options: z.ZodArray<z.ZodObject<{
|
5014
6327
|
value: z.ZodString;
|
@@ -5028,25 +6341,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5028
6341
|
defaultMessage: string;
|
5029
6342
|
};
|
5030
6343
|
}>, "many">;
|
5031
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
5032
|
-
styles: z.ZodOptional<z.ZodObject<{
|
5033
|
-
size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
|
5034
|
-
}, "strip", z.ZodTypeAny, {
|
5035
|
-
size?: "NORMAL" | "LARGE" | undefined;
|
5036
|
-
}, {
|
5037
|
-
size?: "NORMAL" | "LARGE" | undefined;
|
5038
|
-
}>>;
|
5039
|
-
}, "strip", z.ZodTypeAny, {
|
5040
|
-
styles?: {
|
5041
|
-
size?: "NORMAL" | "LARGE" | undefined;
|
5042
|
-
} | undefined;
|
5043
|
-
}, {
|
5044
|
-
styles?: {
|
5045
|
-
size?: "NORMAL" | "LARGE" | undefined;
|
5046
|
-
} | undefined;
|
5047
|
-
}>>;
|
5048
6344
|
}>, "strip", z.ZodTypeAny, {
|
5049
|
-
type: "
|
6345
|
+
type: "SELECT";
|
5050
6346
|
id: string;
|
5051
6347
|
options: {
|
5052
6348
|
value: string;
|
@@ -5071,17 +6367,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5071
6367
|
type: "DISPLAY_ON_REVIEW";
|
5072
6368
|
conditional: import(".").JSONSchema;
|
5073
6369
|
})[] | undefined;
|
6370
|
+
secured?: boolean | undefined;
|
5074
6371
|
placeholder?: TranslationConfig | undefined;
|
5075
6372
|
helperText?: TranslationConfig | undefined;
|
5076
6373
|
hideLabel?: boolean | undefined;
|
5077
6374
|
defaultValue?: string | undefined;
|
5078
|
-
configuration?: {
|
5079
|
-
styles?: {
|
5080
|
-
size?: "NORMAL" | "LARGE" | undefined;
|
5081
|
-
} | undefined;
|
5082
|
-
} | undefined;
|
5083
6375
|
}, {
|
5084
|
-
type: "
|
6376
|
+
type: "SELECT";
|
5085
6377
|
id: string;
|
5086
6378
|
options: {
|
5087
6379
|
value: string;
|
@@ -5118,6 +6410,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5118
6410
|
type: "DISPLAY_ON_REVIEW";
|
5119
6411
|
conditional: import(".").JSONSchema;
|
5120
6412
|
})[] | undefined;
|
6413
|
+
secured?: boolean | undefined;
|
5121
6414
|
placeholder?: {
|
5122
6415
|
id: string;
|
5123
6416
|
description: string;
|
@@ -5130,11 +6423,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5130
6423
|
} | undefined;
|
5131
6424
|
hideLabel?: boolean | undefined;
|
5132
6425
|
defaultValue?: string | undefined;
|
5133
|
-
configuration?: {
|
5134
|
-
styles?: {
|
5135
|
-
size?: "NORMAL" | "LARGE" | undefined;
|
5136
|
-
} | undefined;
|
5137
|
-
} | undefined;
|
5138
6426
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5139
6427
|
id: z.ZodString;
|
5140
6428
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -5146,6 +6434,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5146
6434
|
}>>;
|
5147
6435
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5148
6436
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6437
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5149
6438
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5150
6439
|
id: string;
|
5151
6440
|
description: string;
|
@@ -5181,40 +6470,56 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5181
6470
|
}>>;
|
5182
6471
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5183
6472
|
}, {
|
5184
|
-
type: z.ZodLiteral<"
|
5185
|
-
defaultValue: z.ZodOptional<z.
|
5186
|
-
|
5187
|
-
|
5188
|
-
|
5189
|
-
|
5190
|
-
|
5191
|
-
|
5192
|
-
|
5193
|
-
|
5194
|
-
|
5195
|
-
|
5196
|
-
|
5197
|
-
|
6473
|
+
type: z.ZodLiteral<"NAME">;
|
6474
|
+
defaultValue: z.ZodOptional<z.ZodObject<{
|
6475
|
+
firstname: z.ZodString;
|
6476
|
+
surname: z.ZodString;
|
6477
|
+
}, "strip", z.ZodTypeAny, {
|
6478
|
+
firstname: string;
|
6479
|
+
surname: string;
|
6480
|
+
}, {
|
6481
|
+
firstname: string;
|
6482
|
+
surname: string;
|
6483
|
+
}>>;
|
6484
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
6485
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
6486
|
+
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6487
|
+
id: string;
|
6488
|
+
description: string;
|
6489
|
+
defaultMessage: string;
|
6490
|
+
}>>;
|
6491
|
+
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6492
|
+
id: string;
|
6493
|
+
description: string;
|
6494
|
+
defaultMessage: string;
|
5198
6495
|
}>>;
|
6496
|
+
includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6497
|
+
searchMode: z.ZodOptional<z.ZodBoolean>;
|
5199
6498
|
}, "strip", z.ZodTypeAny, {
|
5200
|
-
|
5201
|
-
|
5202
|
-
|
6499
|
+
maxLength?: number | undefined;
|
6500
|
+
prefix?: TranslationConfig | undefined;
|
6501
|
+
postfix?: TranslationConfig | undefined;
|
6502
|
+
includeMiddlename?: boolean | undefined;
|
6503
|
+
searchMode?: boolean | undefined;
|
5203
6504
|
}, {
|
5204
|
-
|
5205
|
-
|
6505
|
+
maxLength?: number | undefined;
|
6506
|
+
prefix?: {
|
6507
|
+
id: string;
|
6508
|
+
description: string;
|
6509
|
+
defaultMessage: string;
|
6510
|
+
} | undefined;
|
6511
|
+
postfix?: {
|
6512
|
+
id: string;
|
6513
|
+
description: string;
|
6514
|
+
defaultMessage: string;
|
5206
6515
|
} | undefined;
|
6516
|
+
includeMiddlename?: boolean | undefined;
|
6517
|
+
searchMode?: boolean | undefined;
|
5207
6518
|
}>>;
|
5208
6519
|
}>, "strip", z.ZodTypeAny, {
|
5209
|
-
type: "
|
6520
|
+
type: "NAME";
|
5210
6521
|
id: string;
|
5211
6522
|
label: TranslationConfig;
|
5212
|
-
configuration: {
|
5213
|
-
styles?: {
|
5214
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5215
|
-
} | undefined;
|
5216
|
-
};
|
5217
|
-
items: TranslationConfig[];
|
5218
6523
|
parent?: {
|
5219
6524
|
$$field: string;
|
5220
6525
|
} | undefined;
|
@@ -5233,23 +6538,29 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5233
6538
|
type: "DISPLAY_ON_REVIEW";
|
5234
6539
|
conditional: import(".").JSONSchema;
|
5235
6540
|
})[] | undefined;
|
6541
|
+
secured?: boolean | undefined;
|
5236
6542
|
placeholder?: TranslationConfig | undefined;
|
5237
6543
|
helperText?: TranslationConfig | undefined;
|
5238
6544
|
hideLabel?: boolean | undefined;
|
5239
|
-
defaultValue?:
|
6545
|
+
defaultValue?: {
|
6546
|
+
firstname: string;
|
6547
|
+
surname: string;
|
6548
|
+
} | undefined;
|
6549
|
+
configuration?: {
|
6550
|
+
maxLength?: number | undefined;
|
6551
|
+
prefix?: TranslationConfig | undefined;
|
6552
|
+
postfix?: TranslationConfig | undefined;
|
6553
|
+
includeMiddlename?: boolean | undefined;
|
6554
|
+
searchMode?: boolean | undefined;
|
6555
|
+
} | undefined;
|
5240
6556
|
}, {
|
5241
|
-
type: "
|
6557
|
+
type: "NAME";
|
5242
6558
|
id: string;
|
5243
6559
|
label: {
|
5244
6560
|
id: string;
|
5245
6561
|
description: string;
|
5246
6562
|
defaultMessage: string;
|
5247
6563
|
};
|
5248
|
-
items: {
|
5249
|
-
id: string;
|
5250
|
-
description: string;
|
5251
|
-
defaultMessage: string;
|
5252
|
-
}[];
|
5253
6564
|
parent?: {
|
5254
6565
|
$$field: string;
|
5255
6566
|
} | undefined;
|
@@ -5272,6 +6583,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5272
6583
|
type: "DISPLAY_ON_REVIEW";
|
5273
6584
|
conditional: import(".").JSONSchema;
|
5274
6585
|
})[] | undefined;
|
6586
|
+
secured?: boolean | undefined;
|
5275
6587
|
placeholder?: {
|
5276
6588
|
id: string;
|
5277
6589
|
description: string;
|
@@ -5283,11 +6595,24 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5283
6595
|
defaultMessage: string;
|
5284
6596
|
} | undefined;
|
5285
6597
|
hideLabel?: boolean | undefined;
|
5286
|
-
defaultValue?:
|
6598
|
+
defaultValue?: {
|
6599
|
+
firstname: string;
|
6600
|
+
surname: string;
|
6601
|
+
} | undefined;
|
5287
6602
|
configuration?: {
|
5288
|
-
|
5289
|
-
|
6603
|
+
maxLength?: number | undefined;
|
6604
|
+
prefix?: {
|
6605
|
+
id: string;
|
6606
|
+
description: string;
|
6607
|
+
defaultMessage: string;
|
6608
|
+
} | undefined;
|
6609
|
+
postfix?: {
|
6610
|
+
id: string;
|
6611
|
+
description: string;
|
6612
|
+
defaultMessage: string;
|
5290
6613
|
} | undefined;
|
6614
|
+
includeMiddlename?: boolean | undefined;
|
6615
|
+
searchMode?: boolean | undefined;
|
5291
6616
|
} | undefined;
|
5292
6617
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5293
6618
|
id: z.ZodString;
|
@@ -5300,6 +6625,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5300
6625
|
}>>;
|
5301
6626
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5302
6627
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6628
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5303
6629
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5304
6630
|
id: string;
|
5305
6631
|
description: string;
|
@@ -5335,10 +6661,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5335
6661
|
}>>;
|
5336
6662
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5337
6663
|
}, {
|
5338
|
-
type: z.ZodLiteral<"PAGE_HEADER">;
|
5339
6664
|
defaultValue: z.ZodOptional<z.ZodString>;
|
6665
|
+
type: z.ZodLiteral<"PHONE">;
|
5340
6666
|
}>, "strip", z.ZodTypeAny, {
|
5341
|
-
type: "
|
6667
|
+
type: "PHONE";
|
5342
6668
|
id: string;
|
5343
6669
|
label: TranslationConfig;
|
5344
6670
|
parent?: {
|
@@ -5359,12 +6685,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5359
6685
|
type: "DISPLAY_ON_REVIEW";
|
5360
6686
|
conditional: import(".").JSONSchema;
|
5361
6687
|
})[] | undefined;
|
6688
|
+
secured?: boolean | undefined;
|
5362
6689
|
placeholder?: TranslationConfig | undefined;
|
5363
6690
|
helperText?: TranslationConfig | undefined;
|
5364
6691
|
hideLabel?: boolean | undefined;
|
5365
6692
|
defaultValue?: string | undefined;
|
5366
6693
|
}, {
|
5367
|
-
type: "
|
6694
|
+
type: "PHONE";
|
5368
6695
|
id: string;
|
5369
6696
|
label: {
|
5370
6697
|
id: string;
|
@@ -5393,6 +6720,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5393
6720
|
type: "DISPLAY_ON_REVIEW";
|
5394
6721
|
conditional: import(".").JSONSchema;
|
5395
6722
|
})[] | undefined;
|
6723
|
+
secured?: boolean | undefined;
|
5396
6724
|
placeholder?: {
|
5397
6725
|
id: string;
|
5398
6726
|
description: string;
|
@@ -5416,6 +6744,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5416
6744
|
}>>;
|
5417
6745
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5418
6746
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6747
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5419
6748
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5420
6749
|
id: string;
|
5421
6750
|
description: string;
|
@@ -5451,33 +6780,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5451
6780
|
}>>;
|
5452
6781
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5453
6782
|
}, {
|
5454
|
-
type: z.ZodLiteral<"SELECT">;
|
5455
6783
|
defaultValue: z.ZodOptional<z.ZodString>;
|
5456
|
-
|
5457
|
-
value: z.ZodString;
|
5458
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5459
|
-
id: string;
|
5460
|
-
description: string;
|
5461
|
-
defaultMessage: string;
|
5462
|
-
}>;
|
5463
|
-
}, "strip", z.ZodTypeAny, {
|
5464
|
-
value: string;
|
5465
|
-
label: TranslationConfig;
|
5466
|
-
}, {
|
5467
|
-
value: string;
|
5468
|
-
label: {
|
5469
|
-
id: string;
|
5470
|
-
description: string;
|
5471
|
-
defaultMessage: string;
|
5472
|
-
};
|
5473
|
-
}>, "many">;
|
6784
|
+
type: z.ZodLiteral<"ID">;
|
5474
6785
|
}>, "strip", z.ZodTypeAny, {
|
5475
|
-
type: "
|
6786
|
+
type: "ID";
|
5476
6787
|
id: string;
|
5477
|
-
options: {
|
5478
|
-
value: string;
|
5479
|
-
label: TranslationConfig;
|
5480
|
-
}[];
|
5481
6788
|
label: TranslationConfig;
|
5482
6789
|
parent?: {
|
5483
6790
|
$$field: string;
|
@@ -5497,21 +6804,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5497
6804
|
type: "DISPLAY_ON_REVIEW";
|
5498
6805
|
conditional: import(".").JSONSchema;
|
5499
6806
|
})[] | undefined;
|
6807
|
+
secured?: boolean | undefined;
|
5500
6808
|
placeholder?: TranslationConfig | undefined;
|
5501
6809
|
helperText?: TranslationConfig | undefined;
|
5502
6810
|
hideLabel?: boolean | undefined;
|
5503
6811
|
defaultValue?: string | undefined;
|
5504
6812
|
}, {
|
5505
|
-
type: "
|
6813
|
+
type: "ID";
|
5506
6814
|
id: string;
|
5507
|
-
options: {
|
5508
|
-
value: string;
|
5509
|
-
label: {
|
5510
|
-
id: string;
|
5511
|
-
description: string;
|
5512
|
-
defaultMessage: string;
|
5513
|
-
};
|
5514
|
-
}[];
|
5515
6815
|
label: {
|
5516
6816
|
id: string;
|
5517
6817
|
description: string;
|
@@ -5539,6 +6839,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5539
6839
|
type: "DISPLAY_ON_REVIEW";
|
5540
6840
|
conditional: import(".").JSONSchema;
|
5541
6841
|
})[] | undefined;
|
6842
|
+
secured?: boolean | undefined;
|
5542
6843
|
placeholder?: {
|
5543
6844
|
id: string;
|
5544
6845
|
description: string;
|
@@ -5562,6 +6863,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5562
6863
|
}>>;
|
5563
6864
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5564
6865
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6866
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5565
6867
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5566
6868
|
id: string;
|
5567
6869
|
description: string;
|
@@ -5621,6 +6923,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5621
6923
|
type: "DISPLAY_ON_REVIEW";
|
5622
6924
|
conditional: import(".").JSONSchema;
|
5623
6925
|
})[] | undefined;
|
6926
|
+
secured?: boolean | undefined;
|
5624
6927
|
placeholder?: TranslationConfig | undefined;
|
5625
6928
|
helperText?: TranslationConfig | undefined;
|
5626
6929
|
hideLabel?: boolean | undefined;
|
@@ -5655,6 +6958,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5655
6958
|
type: "DISPLAY_ON_REVIEW";
|
5656
6959
|
conditional: import(".").JSONSchema;
|
5657
6960
|
})[] | undefined;
|
6961
|
+
secured?: boolean | undefined;
|
5658
6962
|
placeholder?: {
|
5659
6963
|
id: string;
|
5660
6964
|
description: string;
|
@@ -5678,6 +6982,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5678
6982
|
}>>;
|
5679
6983
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5680
6984
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6985
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5681
6986
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5682
6987
|
id: string;
|
5683
6988
|
description: string;
|
@@ -5715,16 +7020,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5715
7020
|
}, {
|
5716
7021
|
type: z.ZodLiteral<"FILE">;
|
5717
7022
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
5718
|
-
|
7023
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
5719
7024
|
originalFilename: z.ZodString;
|
5720
7025
|
type: z.ZodString;
|
5721
7026
|
}, "strip", z.ZodTypeAny, {
|
5722
7027
|
type: string;
|
5723
|
-
|
7028
|
+
path: string;
|
5724
7029
|
originalFilename: string;
|
5725
7030
|
}, {
|
5726
7031
|
type: string;
|
5727
|
-
|
7032
|
+
path: string;
|
5728
7033
|
originalFilename: string;
|
5729
7034
|
}>>;
|
5730
7035
|
configuration: z.ZodDefault<z.ZodObject<{
|
@@ -5791,12 +7096,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5791
7096
|
type: "DISPLAY_ON_REVIEW";
|
5792
7097
|
conditional: import(".").JSONSchema;
|
5793
7098
|
})[] | undefined;
|
7099
|
+
secured?: boolean | undefined;
|
5794
7100
|
placeholder?: TranslationConfig | undefined;
|
5795
7101
|
helperText?: TranslationConfig | undefined;
|
5796
7102
|
hideLabel?: boolean | undefined;
|
5797
7103
|
defaultValue?: {
|
5798
7104
|
type: string;
|
5799
|
-
|
7105
|
+
path: string;
|
5800
7106
|
originalFilename: string;
|
5801
7107
|
} | undefined;
|
5802
7108
|
}, {
|
@@ -5829,6 +7135,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5829
7135
|
type: "DISPLAY_ON_REVIEW";
|
5830
7136
|
conditional: import(".").JSONSchema;
|
5831
7137
|
})[] | undefined;
|
7138
|
+
secured?: boolean | undefined;
|
5832
7139
|
placeholder?: {
|
5833
7140
|
id: string;
|
5834
7141
|
description: string;
|
@@ -5842,7 +7149,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5842
7149
|
hideLabel?: boolean | undefined;
|
5843
7150
|
defaultValue?: {
|
5844
7151
|
type: string;
|
5845
|
-
|
7152
|
+
path: string;
|
5846
7153
|
originalFilename: string;
|
5847
7154
|
} | undefined;
|
5848
7155
|
configuration?: {
|
@@ -5868,6 +7175,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5868
7175
|
}>>;
|
5869
7176
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5870
7177
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7178
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5871
7179
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5872
7180
|
id: string;
|
5873
7181
|
description: string;
|
@@ -5927,6 +7235,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5927
7235
|
type: "DISPLAY_ON_REVIEW";
|
5928
7236
|
conditional: import(".").JSONSchema;
|
5929
7237
|
})[] | undefined;
|
7238
|
+
secured?: boolean | undefined;
|
5930
7239
|
placeholder?: TranslationConfig | undefined;
|
5931
7240
|
helperText?: TranslationConfig | undefined;
|
5932
7241
|
hideLabel?: boolean | undefined;
|
@@ -5961,6 +7270,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5961
7270
|
type: "DISPLAY_ON_REVIEW";
|
5962
7271
|
conditional: import(".").JSONSchema;
|
5963
7272
|
})[] | undefined;
|
7273
|
+
secured?: boolean | undefined;
|
5964
7274
|
placeholder?: {
|
5965
7275
|
id: string;
|
5966
7276
|
description: string;
|
@@ -5984,6 +7294,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5984
7294
|
}>>;
|
5985
7295
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5986
7296
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7297
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5987
7298
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5988
7299
|
id: string;
|
5989
7300
|
description: string;
|
@@ -6069,6 +7380,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6069
7380
|
type: "DISPLAY_ON_REVIEW";
|
6070
7381
|
conditional: import(".").JSONSchema;
|
6071
7382
|
})[] | undefined;
|
7383
|
+
secured?: boolean | undefined;
|
6072
7384
|
placeholder?: TranslationConfig | undefined;
|
6073
7385
|
helperText?: TranslationConfig | undefined;
|
6074
7386
|
hideLabel?: boolean | undefined;
|
@@ -6109,6 +7421,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6109
7421
|
type: "DISPLAY_ON_REVIEW";
|
6110
7422
|
conditional: import(".").JSONSchema;
|
6111
7423
|
})[] | undefined;
|
7424
|
+
secured?: boolean | undefined;
|
6112
7425
|
placeholder?: {
|
6113
7426
|
id: string;
|
6114
7427
|
description: string;
|
@@ -6132,6 +7445,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6132
7445
|
}>>;
|
6133
7446
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6134
7447
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7448
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6135
7449
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6136
7450
|
id: string;
|
6137
7451
|
description: string;
|
@@ -6190,6 +7504,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6190
7504
|
type: "DISPLAY_ON_REVIEW";
|
6191
7505
|
conditional: import(".").JSONSchema;
|
6192
7506
|
})[] | undefined;
|
7507
|
+
secured?: boolean | undefined;
|
6193
7508
|
placeholder?: TranslationConfig | undefined;
|
6194
7509
|
helperText?: TranslationConfig | undefined;
|
6195
7510
|
hideLabel?: boolean | undefined;
|
@@ -6223,6 +7538,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6223
7538
|
type: "DISPLAY_ON_REVIEW";
|
6224
7539
|
conditional: import(".").JSONSchema;
|
6225
7540
|
})[] | undefined;
|
7541
|
+
secured?: boolean | undefined;
|
6226
7542
|
placeholder?: {
|
6227
7543
|
id: string;
|
6228
7544
|
description: string;
|
@@ -6245,6 +7561,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6245
7561
|
}>>;
|
6246
7562
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6247
7563
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7564
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6248
7565
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6249
7566
|
id: string;
|
6250
7567
|
description: string;
|
@@ -6304,6 +7621,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6304
7621
|
type: "DISPLAY_ON_REVIEW";
|
6305
7622
|
conditional: import(".").JSONSchema;
|
6306
7623
|
})[] | undefined;
|
7624
|
+
secured?: boolean | undefined;
|
6307
7625
|
placeholder?: TranslationConfig | undefined;
|
6308
7626
|
helperText?: TranslationConfig | undefined;
|
6309
7627
|
hideLabel?: boolean | undefined;
|
@@ -6338,6 +7656,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6338
7656
|
type: "DISPLAY_ON_REVIEW";
|
6339
7657
|
conditional: import(".").JSONSchema;
|
6340
7658
|
})[] | undefined;
|
7659
|
+
secured?: boolean | undefined;
|
6341
7660
|
placeholder?: {
|
6342
7661
|
id: string;
|
6343
7662
|
description: string;
|
@@ -6361,6 +7680,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6361
7680
|
}>>;
|
6362
7681
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6363
7682
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7683
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6364
7684
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6365
7685
|
id: string;
|
6366
7686
|
description: string;
|
@@ -6420,6 +7740,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6420
7740
|
type: "DISPLAY_ON_REVIEW";
|
6421
7741
|
conditional: import(".").JSONSchema;
|
6422
7742
|
})[] | undefined;
|
7743
|
+
secured?: boolean | undefined;
|
6423
7744
|
placeholder?: TranslationConfig | undefined;
|
6424
7745
|
helperText?: TranslationConfig | undefined;
|
6425
7746
|
hideLabel?: boolean | undefined;
|
@@ -6454,6 +7775,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6454
7775
|
type: "DISPLAY_ON_REVIEW";
|
6455
7776
|
conditional: import(".").JSONSchema;
|
6456
7777
|
})[] | undefined;
|
7778
|
+
secured?: boolean | undefined;
|
6457
7779
|
placeholder?: {
|
6458
7780
|
id: string;
|
6459
7781
|
description: string;
|
@@ -6477,6 +7799,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6477
7799
|
}>>;
|
6478
7800
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6479
7801
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7802
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6480
7803
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6481
7804
|
id: string;
|
6482
7805
|
description: string;
|
@@ -6536,6 +7859,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6536
7859
|
type: "DISPLAY_ON_REVIEW";
|
6537
7860
|
conditional: import(".").JSONSchema;
|
6538
7861
|
})[] | undefined;
|
7862
|
+
secured?: boolean | undefined;
|
6539
7863
|
placeholder?: TranslationConfig | undefined;
|
6540
7864
|
helperText?: TranslationConfig | undefined;
|
6541
7865
|
hideLabel?: boolean | undefined;
|
@@ -6570,6 +7894,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6570
7894
|
type: "DISPLAY_ON_REVIEW";
|
6571
7895
|
conditional: import(".").JSONSchema;
|
6572
7896
|
})[] | undefined;
|
7897
|
+
secured?: boolean | undefined;
|
6573
7898
|
placeholder?: {
|
6574
7899
|
id: string;
|
6575
7900
|
description: string;
|
@@ -6593,6 +7918,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6593
7918
|
}>>;
|
6594
7919
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6595
7920
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7921
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6596
7922
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6597
7923
|
id: string;
|
6598
7924
|
description: string;
|
@@ -6672,6 +7998,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6672
7998
|
type: "DISPLAY_ON_REVIEW";
|
6673
7999
|
conditional: import(".").JSONSchema;
|
6674
8000
|
})[] | undefined;
|
8001
|
+
secured?: boolean | undefined;
|
6675
8002
|
placeholder?: TranslationConfig | undefined;
|
6676
8003
|
helperText?: TranslationConfig | undefined;
|
6677
8004
|
hideLabel?: boolean | undefined;
|
@@ -6711,6 +8038,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6711
8038
|
type: "DISPLAY_ON_REVIEW";
|
6712
8039
|
conditional: import(".").JSONSchema;
|
6713
8040
|
})[] | undefined;
|
8041
|
+
secured?: boolean | undefined;
|
6714
8042
|
placeholder?: {
|
6715
8043
|
id: string;
|
6716
8044
|
description: string;
|
@@ -6738,6 +8066,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6738
8066
|
}>>;
|
6739
8067
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6740
8068
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8069
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6741
8070
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6742
8071
|
id: string;
|
6743
8072
|
description: string;
|
@@ -6804,6 +8133,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6804
8133
|
type: "DISPLAY_ON_REVIEW";
|
6805
8134
|
conditional: import(".").JSONSchema;
|
6806
8135
|
})[] | undefined;
|
8136
|
+
secured?: boolean | undefined;
|
6807
8137
|
placeholder?: TranslationConfig | undefined;
|
6808
8138
|
helperText?: TranslationConfig | undefined;
|
6809
8139
|
hideLabel?: boolean | undefined;
|
@@ -6841,6 +8171,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6841
8171
|
type: "DISPLAY_ON_REVIEW";
|
6842
8172
|
conditional: import(".").JSONSchema;
|
6843
8173
|
})[] | undefined;
|
8174
|
+
secured?: boolean | undefined;
|
6844
8175
|
placeholder?: {
|
6845
8176
|
id: string;
|
6846
8177
|
description: string;
|
@@ -6867,6 +8198,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6867
8198
|
}>>;
|
6868
8199
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6869
8200
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8201
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6870
8202
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6871
8203
|
id: string;
|
6872
8204
|
description: string;
|
@@ -6922,19 +8254,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6922
8254
|
};
|
6923
8255
|
}>, "many">;
|
6924
8256
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
6925
|
-
|
8257
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
6926
8258
|
originalFilename: z.ZodString;
|
6927
8259
|
type: z.ZodString;
|
6928
8260
|
option: z.ZodString;
|
6929
8261
|
}, "strip", z.ZodTypeAny, {
|
6930
8262
|
type: string;
|
6931
8263
|
option: string;
|
6932
|
-
|
8264
|
+
path: string;
|
6933
8265
|
originalFilename: string;
|
6934
8266
|
}, {
|
6935
8267
|
type: string;
|
6936
8268
|
option: string;
|
6937
|
-
|
8269
|
+
path: string;
|
6938
8270
|
originalFilename: string;
|
6939
8271
|
}>, "many">>;
|
6940
8272
|
configuration: z.ZodDefault<z.ZodObject<{
|
@@ -6977,13 +8309,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6977
8309
|
type: "DISPLAY_ON_REVIEW";
|
6978
8310
|
conditional: import(".").JSONSchema;
|
6979
8311
|
})[] | undefined;
|
8312
|
+
secured?: boolean | undefined;
|
6980
8313
|
placeholder?: TranslationConfig | undefined;
|
6981
8314
|
helperText?: TranslationConfig | undefined;
|
6982
8315
|
hideLabel?: boolean | undefined;
|
6983
8316
|
defaultValue?: {
|
6984
8317
|
type: string;
|
6985
8318
|
option: string;
|
6986
|
-
|
8319
|
+
path: string;
|
6987
8320
|
originalFilename: string;
|
6988
8321
|
}[] | undefined;
|
6989
8322
|
}, {
|
@@ -7024,6 +8357,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7024
8357
|
type: "DISPLAY_ON_REVIEW";
|
7025
8358
|
conditional: import(".").JSONSchema;
|
7026
8359
|
})[] | undefined;
|
8360
|
+
secured?: boolean | undefined;
|
7027
8361
|
placeholder?: {
|
7028
8362
|
id: string;
|
7029
8363
|
description: string;
|
@@ -7038,7 +8372,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7038
8372
|
defaultValue?: {
|
7039
8373
|
type: string;
|
7040
8374
|
option: string;
|
7041
|
-
|
8375
|
+
path: string;
|
7042
8376
|
originalFilename: string;
|
7043
8377
|
}[] | undefined;
|
7044
8378
|
configuration?: {
|
@@ -7056,6 +8390,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7056
8390
|
}>>;
|
7057
8391
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7058
8392
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8393
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7059
8394
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7060
8395
|
id: string;
|
7061
8396
|
description: string;
|
@@ -7190,6 +8525,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7190
8525
|
type: "DISPLAY_ON_REVIEW";
|
7191
8526
|
conditional: import(".").JSONSchema;
|
7192
8527
|
})[] | undefined;
|
8528
|
+
secured?: boolean | undefined;
|
7193
8529
|
placeholder?: TranslationConfig | undefined;
|
7194
8530
|
helperText?: TranslationConfig | undefined;
|
7195
8531
|
hideLabel?: boolean | undefined;
|
@@ -7244,6 +8580,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7244
8580
|
type: "DISPLAY_ON_REVIEW";
|
7245
8581
|
conditional: import(".").JSONSchema;
|
7246
8582
|
})[] | undefined;
|
8583
|
+
secured?: boolean | undefined;
|
7247
8584
|
placeholder?: {
|
7248
8585
|
id: string;
|
7249
8586
|
description: string;
|
@@ -7257,6 +8594,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7257
8594
|
hideLabel?: boolean | undefined;
|
7258
8595
|
}>]>;
|
7259
8596
|
export type SelectField = z.infer<typeof Select>;
|
8597
|
+
export type NameField = z.infer<typeof NameField>;
|
8598
|
+
export type PhoneField = z.infer<typeof PhoneField>;
|
8599
|
+
export type IdField = z.infer<typeof IdField>;
|
7260
8600
|
export type LocationField = z.infer<typeof Location>;
|
7261
8601
|
export type RadioField = z.infer<typeof RadioGroup>;
|
7262
8602
|
export type AddressField = z.infer<typeof Address>;
|