@opencrvs/toolkit 1.8.0-rc.f7e4aad → 1.8.0-rc.f807e0d
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 +1822 -10136
- package/dist/commons/conditionals/conditionals.d.ts +1 -12
- package/dist/commons/conditionals/validate.d.ts +8 -0
- package/dist/commons/events/ActionConfig.d.ts +15960 -3820
- package/dist/commons/events/ActionDocument.d.ts +1951 -904
- package/dist/commons/events/ActionInput.d.ts +1680 -780
- package/dist/commons/events/ActionType.d.ts +0 -2
- package/dist/commons/events/AdvancedSearchConfig.d.ts +113 -68
- package/dist/commons/events/CompositeFieldValue.d.ts +9 -9
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1215 -813
- package/dist/commons/events/Draft.d.ts +144 -72
- package/dist/commons/events/EventConfig.d.ts +6459 -1250
- package/dist/commons/events/EventDocument.d.ts +1236 -588
- package/dist/commons/events/EventIndex.d.ts +609 -268
- package/dist/commons/events/EventMetadata.d.ts +9 -7
- package/dist/commons/events/FieldConfig.d.ts +1635 -67
- package/dist/commons/events/FieldType.d.ts +7 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +57 -25
- package/dist/commons/events/FieldValue.d.ts +45 -16
- package/dist/commons/events/FormConfig.d.ts +6488 -1370
- package/dist/commons/events/PageConfig.d.ts +1380 -70
- package/dist/commons/events/User.d.ts +9 -3
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +7 -7
- package/dist/commons/events/WorkqueueConfig.d.ts +2459 -1519
- package/dist/commons/events/defineConfig.d.ts +971 -58
- package/dist/commons/events/event.d.ts +19 -19
- package/dist/commons/events/field.d.ts +17 -1
- package/dist/commons/events/test.utils.d.ts +45 -20
- package/dist/commons/events/utils.d.ts +3323 -267
- package/dist/conditionals/index.js +23 -39
- package/dist/events/index.js +1208 -928
- package/dist/scopes/index.d.ts +92 -6
- package/dist/scopes/index.js +38 -9
- package/package.json +6 -4
- package/tsconfig.json +1 -1
- package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
- package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
- package/dist/commons/conditionals/validate.test.d.ts +0 -2
- package/dist/commons/events/utils.test.d.ts +0 -2
@@ -38,6 +38,7 @@ declare const BaseField: z.ZodObject<{
|
|
38
38
|
}>>;
|
39
39
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
40
40
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
41
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
41
42
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
42
43
|
id: string;
|
43
44
|
description: string;
|
@@ -93,6 +94,7 @@ declare const BaseField: z.ZodObject<{
|
|
93
94
|
type: "DISPLAY_ON_REVIEW";
|
94
95
|
conditional: import(".").JSONSchema;
|
95
96
|
})[] | undefined;
|
97
|
+
secured?: boolean | undefined;
|
96
98
|
placeholder?: TranslationConfig | undefined;
|
97
99
|
helperText?: TranslationConfig | undefined;
|
98
100
|
hideLabel?: boolean | undefined;
|
@@ -125,6 +127,7 @@ declare const BaseField: z.ZodObject<{
|
|
125
127
|
type: "DISPLAY_ON_REVIEW";
|
126
128
|
conditional: import(".").JSONSchema;
|
127
129
|
})[] | undefined;
|
130
|
+
secured?: boolean | undefined;
|
128
131
|
placeholder?: {
|
129
132
|
id: string;
|
130
133
|
description: string;
|
@@ -149,6 +152,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
149
152
|
}>>;
|
150
153
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
151
154
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
155
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
152
156
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
153
157
|
id: string;
|
154
158
|
description: string;
|
@@ -207,6 +211,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
207
211
|
type: "DISPLAY_ON_REVIEW";
|
208
212
|
conditional: import(".").JSONSchema;
|
209
213
|
})[] | undefined;
|
214
|
+
secured?: boolean | undefined;
|
210
215
|
placeholder?: TranslationConfig | undefined;
|
211
216
|
helperText?: TranslationConfig | undefined;
|
212
217
|
hideLabel?: boolean | undefined;
|
@@ -240,6 +245,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
240
245
|
type: "DISPLAY_ON_REVIEW";
|
241
246
|
conditional: import(".").JSONSchema;
|
242
247
|
})[] | undefined;
|
248
|
+
secured?: boolean | undefined;
|
243
249
|
placeholder?: {
|
244
250
|
id: string;
|
245
251
|
description: string;
|
@@ -253,7 +259,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
253
259
|
hideLabel?: boolean | undefined;
|
254
260
|
}>;
|
255
261
|
export type Divider = z.infer<typeof Divider>;
|
256
|
-
declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
262
|
+
export declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
257
263
|
id: z.ZodString;
|
258
264
|
parent: z.ZodOptional<z.ZodObject<{
|
259
265
|
$$field: z.ZodString;
|
@@ -264,6 +270,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
264
270
|
}>>;
|
265
271
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
266
272
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
273
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
267
274
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
268
275
|
id: string;
|
269
276
|
description: string;
|
@@ -355,6 +362,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
355
362
|
type: "DISPLAY_ON_REVIEW";
|
356
363
|
conditional: import(".").JSONSchema;
|
357
364
|
})[] | undefined;
|
365
|
+
secured?: boolean | undefined;
|
358
366
|
placeholder?: TranslationConfig | undefined;
|
359
367
|
helperText?: TranslationConfig | undefined;
|
360
368
|
hideLabel?: boolean | undefined;
|
@@ -395,6 +403,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
395
403
|
type: "DISPLAY_ON_REVIEW";
|
396
404
|
conditional: import(".").JSONSchema;
|
397
405
|
})[] | undefined;
|
406
|
+
secured?: boolean | undefined;
|
398
407
|
placeholder?: {
|
399
408
|
id: string;
|
400
409
|
description: string;
|
@@ -434,6 +443,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
434
443
|
}>>;
|
435
444
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
436
445
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
446
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
437
447
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
438
448
|
id: string;
|
439
449
|
description: string;
|
@@ -525,6 +535,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
525
535
|
type: "DISPLAY_ON_REVIEW";
|
526
536
|
conditional: import(".").JSONSchema;
|
527
537
|
})[] | undefined;
|
538
|
+
secured?: boolean | undefined;
|
528
539
|
placeholder?: TranslationConfig | undefined;
|
529
540
|
helperText?: TranslationConfig | undefined;
|
530
541
|
hideLabel?: boolean | undefined;
|
@@ -565,6 +576,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
565
576
|
type: "DISPLAY_ON_REVIEW";
|
566
577
|
conditional: import(".").JSONSchema;
|
567
578
|
})[] | undefined;
|
579
|
+
secured?: boolean | undefined;
|
568
580
|
placeholder?: {
|
569
581
|
id: string;
|
570
582
|
description: string;
|
@@ -603,6 +615,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
603
615
|
}>>;
|
604
616
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
605
617
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
618
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
606
619
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
607
620
|
id: string;
|
608
621
|
description: string;
|
@@ -697,6 +710,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
697
710
|
type: "DISPLAY_ON_REVIEW";
|
698
711
|
conditional: import(".").JSONSchema;
|
699
712
|
})[] | undefined;
|
713
|
+
secured?: boolean | undefined;
|
700
714
|
placeholder?: TranslationConfig | undefined;
|
701
715
|
helperText?: TranslationConfig | undefined;
|
702
716
|
hideLabel?: boolean | undefined;
|
@@ -738,6 +752,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
738
752
|
type: "DISPLAY_ON_REVIEW";
|
739
753
|
conditional: import(".").JSONSchema;
|
740
754
|
})[] | undefined;
|
755
|
+
secured?: boolean | undefined;
|
741
756
|
placeholder?: {
|
742
757
|
id: string;
|
743
758
|
description: string;
|
@@ -781,6 +796,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
781
796
|
}>>;
|
782
797
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
783
798
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
799
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
784
800
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
785
801
|
id: string;
|
786
802
|
description: string;
|
@@ -860,6 +876,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
860
876
|
type: "DISPLAY_ON_REVIEW";
|
861
877
|
conditional: import(".").JSONSchema;
|
862
878
|
})[] | undefined;
|
879
|
+
secured?: boolean | undefined;
|
863
880
|
placeholder?: TranslationConfig | undefined;
|
864
881
|
helperText?: TranslationConfig | undefined;
|
865
882
|
hideLabel?: boolean | undefined;
|
@@ -899,6 +916,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
899
916
|
type: "DISPLAY_ON_REVIEW";
|
900
917
|
conditional: import(".").JSONSchema;
|
901
918
|
})[] | undefined;
|
919
|
+
secured?: boolean | undefined;
|
902
920
|
placeholder?: {
|
903
921
|
id: string;
|
904
922
|
description: string;
|
@@ -928,6 +946,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
928
946
|
}>>;
|
929
947
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
930
948
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
949
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
931
950
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
932
951
|
id: string;
|
933
952
|
description: string;
|
@@ -994,6 +1013,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
994
1013
|
type: "DISPLAY_ON_REVIEW";
|
995
1014
|
conditional: import(".").JSONSchema;
|
996
1015
|
})[] | undefined;
|
1016
|
+
secured?: boolean | undefined;
|
997
1017
|
placeholder?: TranslationConfig | undefined;
|
998
1018
|
helperText?: TranslationConfig | undefined;
|
999
1019
|
hideLabel?: boolean | undefined;
|
@@ -1031,6 +1051,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1031
1051
|
type: "DISPLAY_ON_REVIEW";
|
1032
1052
|
conditional: import(".").JSONSchema;
|
1033
1053
|
})[] | undefined;
|
1054
|
+
secured?: boolean | undefined;
|
1034
1055
|
placeholder?: {
|
1035
1056
|
id: string;
|
1036
1057
|
description: string;
|
@@ -1059,6 +1080,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1059
1080
|
}>>;
|
1060
1081
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1061
1082
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1083
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1062
1084
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1063
1085
|
id: string;
|
1064
1086
|
description: string;
|
@@ -1133,6 +1155,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1133
1155
|
type: "DISPLAY_ON_REVIEW";
|
1134
1156
|
conditional: import(".").JSONSchema;
|
1135
1157
|
})[] | undefined;
|
1158
|
+
secured?: boolean | undefined;
|
1136
1159
|
placeholder?: TranslationConfig | undefined;
|
1137
1160
|
helperText?: TranslationConfig | undefined;
|
1138
1161
|
hideLabel?: boolean | undefined;
|
@@ -1170,6 +1193,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1170
1193
|
type: "DISPLAY_ON_REVIEW";
|
1171
1194
|
conditional: import(".").JSONSchema;
|
1172
1195
|
})[] | undefined;
|
1196
|
+
secured?: boolean | undefined;
|
1173
1197
|
placeholder?: {
|
1174
1198
|
id: string;
|
1175
1199
|
description: string;
|
@@ -1191,7 +1215,10 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1191
1215
|
} | undefined;
|
1192
1216
|
}>;
|
1193
1217
|
export type DateField = z.infer<typeof DateField>;
|
1194
|
-
|
1218
|
+
/**
|
1219
|
+
* For internal use only. Needed for search functionality.
|
1220
|
+
*/
|
1221
|
+
export declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
1195
1222
|
id: z.ZodString;
|
1196
1223
|
parent: z.ZodOptional<z.ZodObject<{
|
1197
1224
|
$$field: z.ZodString;
|
@@ -1202,6 +1229,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1202
1229
|
}>>;
|
1203
1230
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1204
1231
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1232
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1205
1233
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1206
1234
|
id: string;
|
1207
1235
|
description: string;
|
@@ -1238,7 +1266,16 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1238
1266
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1239
1267
|
}, {
|
1240
1268
|
type: z.ZodLiteral<"DATE_RANGE">;
|
1241
|
-
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]>>;
|
1242
1279
|
configuration: z.ZodOptional<z.ZodObject<{
|
1243
1280
|
notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1244
1281
|
id: string;
|
@@ -1276,10 +1313,14 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1276
1313
|
type: "DISPLAY_ON_REVIEW";
|
1277
1314
|
conditional: import(".").JSONSchema;
|
1278
1315
|
})[] | undefined;
|
1316
|
+
secured?: boolean | undefined;
|
1279
1317
|
placeholder?: TranslationConfig | undefined;
|
1280
1318
|
helperText?: TranslationConfig | undefined;
|
1281
1319
|
hideLabel?: boolean | undefined;
|
1282
|
-
defaultValue?: string |
|
1320
|
+
defaultValue?: string | {
|
1321
|
+
start: string;
|
1322
|
+
end: string;
|
1323
|
+
} | undefined;
|
1283
1324
|
configuration?: {
|
1284
1325
|
notice?: TranslationConfig | undefined;
|
1285
1326
|
} | undefined;
|
@@ -1313,6 +1354,7 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1313
1354
|
type: "DISPLAY_ON_REVIEW";
|
1314
1355
|
conditional: import(".").JSONSchema;
|
1315
1356
|
})[] | undefined;
|
1357
|
+
secured?: boolean | undefined;
|
1316
1358
|
placeholder?: {
|
1317
1359
|
id: string;
|
1318
1360
|
description: string;
|
@@ -1324,7 +1366,10 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1324
1366
|
defaultMessage: string;
|
1325
1367
|
} | undefined;
|
1326
1368
|
hideLabel?: boolean | undefined;
|
1327
|
-
defaultValue?: string |
|
1369
|
+
defaultValue?: string | {
|
1370
|
+
start: string;
|
1371
|
+
end: string;
|
1372
|
+
} | undefined;
|
1328
1373
|
configuration?: {
|
1329
1374
|
notice?: {
|
1330
1375
|
id: string;
|
@@ -1347,6 +1392,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1347
1392
|
}>>;
|
1348
1393
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1349
1394
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1395
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1350
1396
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1351
1397
|
id: string;
|
1352
1398
|
description: string;
|
@@ -1428,6 +1474,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1428
1474
|
type: "DISPLAY_ON_REVIEW";
|
1429
1475
|
conditional: import(".").JSONSchema;
|
1430
1476
|
})[] | undefined;
|
1477
|
+
secured?: boolean | undefined;
|
1431
1478
|
placeholder?: TranslationConfig | undefined;
|
1432
1479
|
helperText?: TranslationConfig | undefined;
|
1433
1480
|
hideLabel?: boolean | undefined;
|
@@ -1462,6 +1509,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1462
1509
|
type: "DISPLAY_ON_REVIEW";
|
1463
1510
|
conditional: import(".").JSONSchema;
|
1464
1511
|
})[] | undefined;
|
1512
|
+
secured?: boolean | undefined;
|
1465
1513
|
placeholder?: {
|
1466
1514
|
id: string;
|
1467
1515
|
description: string;
|
@@ -1492,6 +1540,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1492
1540
|
}>>;
|
1493
1541
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1494
1542
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1543
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1495
1544
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1496
1545
|
id: string;
|
1497
1546
|
description: string;
|
@@ -1551,6 +1600,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1551
1600
|
type: "DISPLAY_ON_REVIEW";
|
1552
1601
|
conditional: import(".").JSONSchema;
|
1553
1602
|
})[] | undefined;
|
1603
|
+
secured?: boolean | undefined;
|
1554
1604
|
placeholder?: TranslationConfig | undefined;
|
1555
1605
|
helperText?: TranslationConfig | undefined;
|
1556
1606
|
hideLabel?: boolean | undefined;
|
@@ -1585,6 +1635,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1585
1635
|
type: "DISPLAY_ON_REVIEW";
|
1586
1636
|
conditional: import(".").JSONSchema;
|
1587
1637
|
})[] | undefined;
|
1638
|
+
secured?: boolean | undefined;
|
1588
1639
|
placeholder?: {
|
1589
1640
|
id: string;
|
1590
1641
|
description: string;
|
@@ -1610,6 +1661,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1610
1661
|
}>>;
|
1611
1662
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1612
1663
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1664
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1613
1665
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1614
1666
|
id: string;
|
1615
1667
|
description: string;
|
@@ -1647,16 +1699,16 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1647
1699
|
}, {
|
1648
1700
|
type: z.ZodLiteral<"FILE">;
|
1649
1701
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
1650
|
-
|
1702
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
1651
1703
|
originalFilename: z.ZodString;
|
1652
1704
|
type: z.ZodString;
|
1653
1705
|
}, "strip", z.ZodTypeAny, {
|
1654
1706
|
type: string;
|
1655
|
-
|
1707
|
+
path: string;
|
1656
1708
|
originalFilename: string;
|
1657
1709
|
}, {
|
1658
1710
|
type: string;
|
1659
|
-
|
1711
|
+
path: string;
|
1660
1712
|
originalFilename: string;
|
1661
1713
|
}>>;
|
1662
1714
|
configuration: z.ZodDefault<z.ZodObject<{
|
@@ -1723,12 +1775,13 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1723
1775
|
type: "DISPLAY_ON_REVIEW";
|
1724
1776
|
conditional: import(".").JSONSchema;
|
1725
1777
|
})[] | undefined;
|
1778
|
+
secured?: boolean | undefined;
|
1726
1779
|
placeholder?: TranslationConfig | undefined;
|
1727
1780
|
helperText?: TranslationConfig | undefined;
|
1728
1781
|
hideLabel?: boolean | undefined;
|
1729
1782
|
defaultValue?: {
|
1730
1783
|
type: string;
|
1731
|
-
|
1784
|
+
path: string;
|
1732
1785
|
originalFilename: string;
|
1733
1786
|
} | undefined;
|
1734
1787
|
}, {
|
@@ -1761,6 +1814,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1761
1814
|
type: "DISPLAY_ON_REVIEW";
|
1762
1815
|
conditional: import(".").JSONSchema;
|
1763
1816
|
})[] | undefined;
|
1817
|
+
secured?: boolean | undefined;
|
1764
1818
|
placeholder?: {
|
1765
1819
|
id: string;
|
1766
1820
|
description: string;
|
@@ -1774,7 +1828,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1774
1828
|
hideLabel?: boolean | undefined;
|
1775
1829
|
defaultValue?: {
|
1776
1830
|
type: string;
|
1777
|
-
|
1831
|
+
path: string;
|
1778
1832
|
originalFilename: string;
|
1779
1833
|
} | undefined;
|
1780
1834
|
configuration?: {
|
@@ -1820,6 +1874,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1820
1874
|
}>>;
|
1821
1875
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1822
1876
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1877
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1823
1878
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1824
1879
|
id: string;
|
1825
1880
|
description: string;
|
@@ -1918,6 +1973,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1918
1973
|
type: "DISPLAY_ON_REVIEW";
|
1919
1974
|
conditional: import(".").JSONSchema;
|
1920
1975
|
})[] | undefined;
|
1976
|
+
secured?: boolean | undefined;
|
1921
1977
|
placeholder?: TranslationConfig | undefined;
|
1922
1978
|
helperText?: TranslationConfig | undefined;
|
1923
1979
|
hideLabel?: boolean | undefined;
|
@@ -1965,6 +2021,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1965
2021
|
type: "DISPLAY_ON_REVIEW";
|
1966
2022
|
conditional: import(".").JSONSchema;
|
1967
2023
|
})[] | undefined;
|
2024
|
+
secured?: boolean | undefined;
|
1968
2025
|
placeholder?: {
|
1969
2026
|
id: string;
|
1970
2027
|
description: string;
|
@@ -1995,6 +2052,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1995
2052
|
}>>;
|
1996
2053
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1997
2054
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2055
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1998
2056
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1999
2057
|
id: string;
|
2000
2058
|
description: string;
|
@@ -2082,6 +2140,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2082
2140
|
type: "DISPLAY_ON_REVIEW";
|
2083
2141
|
conditional: import(".").JSONSchema;
|
2084
2142
|
})[] | undefined;
|
2143
|
+
secured?: boolean | undefined;
|
2085
2144
|
placeholder?: TranslationConfig | undefined;
|
2086
2145
|
helperText?: TranslationConfig | undefined;
|
2087
2146
|
hideLabel?: boolean | undefined;
|
@@ -2121,6 +2180,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
2121
2180
|
type: "DISPLAY_ON_REVIEW";
|
2122
2181
|
conditional: import(".").JSONSchema;
|
2123
2182
|
})[] | undefined;
|
2183
|
+
secured?: boolean | undefined;
|
2124
2184
|
placeholder?: {
|
2125
2185
|
id: string;
|
2126
2186
|
description: string;
|
@@ -2151,6 +2211,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2151
2211
|
}>>;
|
2152
2212
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2153
2213
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2214
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2154
2215
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2155
2216
|
id: string;
|
2156
2217
|
description: string;
|
@@ -2232,6 +2293,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2232
2293
|
type: "DISPLAY_ON_REVIEW";
|
2233
2294
|
conditional: import(".").JSONSchema;
|
2234
2295
|
})[] | undefined;
|
2296
|
+
secured?: boolean | undefined;
|
2235
2297
|
placeholder?: TranslationConfig | undefined;
|
2236
2298
|
helperText?: TranslationConfig | undefined;
|
2237
2299
|
hideLabel?: boolean | undefined;
|
@@ -2274,6 +2336,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2274
2336
|
type: "DISPLAY_ON_REVIEW";
|
2275
2337
|
conditional: import(".").JSONSchema;
|
2276
2338
|
})[] | undefined;
|
2339
|
+
secured?: boolean | undefined;
|
2277
2340
|
placeholder?: {
|
2278
2341
|
id: string;
|
2279
2342
|
description: string;
|
@@ -2287,6 +2350,274 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2287
2350
|
hideLabel?: boolean | undefined;
|
2288
2351
|
defaultValue?: string | undefined;
|
2289
2352
|
}>;
|
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<{
|
2376
|
+
id: z.ZodString;
|
2377
|
+
parent: z.ZodOptional<z.ZodObject<{
|
2378
|
+
$$field: z.ZodString;
|
2379
|
+
}, "strip", z.ZodTypeAny, {
|
2380
|
+
$$field: string;
|
2381
|
+
}, {
|
2382
|
+
$$field: string;
|
2383
|
+
}>>;
|
2384
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2385
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2386
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2387
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2388
|
+
id: string;
|
2389
|
+
description: string;
|
2390
|
+
defaultMessage: string;
|
2391
|
+
}>>;
|
2392
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
2393
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
2394
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2395
|
+
id: string;
|
2396
|
+
description: string;
|
2397
|
+
defaultMessage: string;
|
2398
|
+
}>;
|
2399
|
+
}, "strip", z.ZodTypeAny, {
|
2400
|
+
message: TranslationConfig;
|
2401
|
+
validator: import(".").JSONSchema;
|
2402
|
+
}, {
|
2403
|
+
message: {
|
2404
|
+
id: string;
|
2405
|
+
description: string;
|
2406
|
+
defaultMessage: string;
|
2407
|
+
};
|
2408
|
+
validator: import(".").JSONSchema;
|
2409
|
+
}>, "many">>>;
|
2410
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2411
|
+
id: string;
|
2412
|
+
description: string;
|
2413
|
+
defaultMessage: string;
|
2414
|
+
}>;
|
2415
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2416
|
+
id: string;
|
2417
|
+
description: string;
|
2418
|
+
defaultMessage: string;
|
2419
|
+
}>>;
|
2420
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2421
|
+
}, {
|
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">;
|
2442
|
+
}>, "strip", z.ZodTypeAny, {
|
2443
|
+
type: "SELECT_DATE_RANGE";
|
2444
|
+
id: string;
|
2445
|
+
options: {
|
2446
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2447
|
+
label: TranslationConfig;
|
2448
|
+
}[];
|
2449
|
+
label: TranslationConfig;
|
2450
|
+
parent?: {
|
2451
|
+
$$field: string;
|
2452
|
+
} | undefined;
|
2453
|
+
validation?: {
|
2454
|
+
message: TranslationConfig;
|
2455
|
+
validator: import(".").JSONSchema;
|
2456
|
+
}[] | undefined;
|
2457
|
+
required?: boolean | undefined;
|
2458
|
+
conditionals?: ({
|
2459
|
+
type: "SHOW";
|
2460
|
+
conditional: import(".").JSONSchema;
|
2461
|
+
} | {
|
2462
|
+
type: "ENABLE";
|
2463
|
+
conditional: import(".").JSONSchema;
|
2464
|
+
} | {
|
2465
|
+
type: "DISPLAY_ON_REVIEW";
|
2466
|
+
conditional: import(".").JSONSchema;
|
2467
|
+
})[] | undefined;
|
2468
|
+
secured?: boolean | undefined;
|
2469
|
+
placeholder?: TranslationConfig | undefined;
|
2470
|
+
helperText?: TranslationConfig | undefined;
|
2471
|
+
hideLabel?: boolean | undefined;
|
2472
|
+
defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
|
2473
|
+
}, {
|
2474
|
+
type: "SELECT_DATE_RANGE";
|
2475
|
+
id: string;
|
2476
|
+
options: {
|
2477
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2478
|
+
label: {
|
2479
|
+
id: string;
|
2480
|
+
description: string;
|
2481
|
+
defaultMessage: string;
|
2482
|
+
};
|
2483
|
+
}[];
|
2484
|
+
label: {
|
2485
|
+
id: string;
|
2486
|
+
description: string;
|
2487
|
+
defaultMessage: string;
|
2488
|
+
};
|
2489
|
+
parent?: {
|
2490
|
+
$$field: string;
|
2491
|
+
} | undefined;
|
2492
|
+
validation?: {
|
2493
|
+
message: {
|
2494
|
+
id: string;
|
2495
|
+
description: string;
|
2496
|
+
defaultMessage: string;
|
2497
|
+
};
|
2498
|
+
validator: import(".").JSONSchema;
|
2499
|
+
}[] | undefined;
|
2500
|
+
required?: boolean | undefined;
|
2501
|
+
conditionals?: ({
|
2502
|
+
type: "SHOW";
|
2503
|
+
conditional: import(".").JSONSchema;
|
2504
|
+
} | {
|
2505
|
+
type: "ENABLE";
|
2506
|
+
conditional: import(".").JSONSchema;
|
2507
|
+
} | {
|
2508
|
+
type: "DISPLAY_ON_REVIEW";
|
2509
|
+
conditional: import(".").JSONSchema;
|
2510
|
+
})[] | undefined;
|
2511
|
+
secured?: boolean | undefined;
|
2512
|
+
placeholder?: {
|
2513
|
+
id: string;
|
2514
|
+
description: string;
|
2515
|
+
defaultMessage: string;
|
2516
|
+
} | undefined;
|
2517
|
+
helperText?: {
|
2518
|
+
id: string;
|
2519
|
+
description: string;
|
2520
|
+
defaultMessage: string;
|
2521
|
+
} | undefined;
|
2522
|
+
hideLabel?: boolean | undefined;
|
2523
|
+
defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
|
2524
|
+
}>;
|
2525
|
+
export type SelectDateRangeField = z.infer<typeof SelectDateRangeField>;
|
2526
|
+
export declare const NameConfig: z.ZodObject<{
|
2527
|
+
firstname: z.ZodOptional<z.ZodObject<{
|
2528
|
+
required: z.ZodBoolean;
|
2529
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2530
|
+
id: string;
|
2531
|
+
description: string;
|
2532
|
+
defaultMessage: string;
|
2533
|
+
}>>;
|
2534
|
+
}, "strip", z.ZodTypeAny, {
|
2535
|
+
required: boolean;
|
2536
|
+
label?: TranslationConfig | undefined;
|
2537
|
+
}, {
|
2538
|
+
required: boolean;
|
2539
|
+
label?: {
|
2540
|
+
id: string;
|
2541
|
+
description: string;
|
2542
|
+
defaultMessage: string;
|
2543
|
+
} | undefined;
|
2544
|
+
}>>;
|
2545
|
+
middlename: z.ZodOptional<z.ZodObject<{
|
2546
|
+
required: z.ZodBoolean;
|
2547
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2548
|
+
id: string;
|
2549
|
+
description: string;
|
2550
|
+
defaultMessage: string;
|
2551
|
+
}>>;
|
2552
|
+
}, "strip", z.ZodTypeAny, {
|
2553
|
+
required: boolean;
|
2554
|
+
label?: TranslationConfig | undefined;
|
2555
|
+
}, {
|
2556
|
+
required: boolean;
|
2557
|
+
label?: {
|
2558
|
+
id: string;
|
2559
|
+
description: string;
|
2560
|
+
defaultMessage: string;
|
2561
|
+
} | undefined;
|
2562
|
+
}>>;
|
2563
|
+
surname: z.ZodOptional<z.ZodObject<{
|
2564
|
+
required: z.ZodBoolean;
|
2565
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2566
|
+
id: string;
|
2567
|
+
description: string;
|
2568
|
+
defaultMessage: string;
|
2569
|
+
}>>;
|
2570
|
+
}, "strip", z.ZodTypeAny, {
|
2571
|
+
required: boolean;
|
2572
|
+
label?: TranslationConfig | undefined;
|
2573
|
+
}, {
|
2574
|
+
required: boolean;
|
2575
|
+
label?: {
|
2576
|
+
id: string;
|
2577
|
+
description: string;
|
2578
|
+
defaultMessage: string;
|
2579
|
+
} | undefined;
|
2580
|
+
}>>;
|
2581
|
+
}, "strip", z.ZodTypeAny, {
|
2582
|
+
firstname?: {
|
2583
|
+
required: boolean;
|
2584
|
+
label?: TranslationConfig | undefined;
|
2585
|
+
} | undefined;
|
2586
|
+
surname?: {
|
2587
|
+
required: boolean;
|
2588
|
+
label?: TranslationConfig | undefined;
|
2589
|
+
} | undefined;
|
2590
|
+
middlename?: {
|
2591
|
+
required: boolean;
|
2592
|
+
label?: TranslationConfig | undefined;
|
2593
|
+
} | undefined;
|
2594
|
+
}, {
|
2595
|
+
firstname?: {
|
2596
|
+
required: boolean;
|
2597
|
+
label?: {
|
2598
|
+
id: string;
|
2599
|
+
description: string;
|
2600
|
+
defaultMessage: string;
|
2601
|
+
} | undefined;
|
2602
|
+
} | undefined;
|
2603
|
+
surname?: {
|
2604
|
+
required: boolean;
|
2605
|
+
label?: {
|
2606
|
+
id: string;
|
2607
|
+
description: string;
|
2608
|
+
defaultMessage: string;
|
2609
|
+
} | undefined;
|
2610
|
+
} | undefined;
|
2611
|
+
middlename?: {
|
2612
|
+
required: boolean;
|
2613
|
+
label?: {
|
2614
|
+
id: string;
|
2615
|
+
description: string;
|
2616
|
+
defaultMessage: string;
|
2617
|
+
} | undefined;
|
2618
|
+
} | undefined;
|
2619
|
+
}>;
|
2620
|
+
export type NameConfig = z.infer<typeof NameConfig>;
|
2290
2621
|
declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
2291
2622
|
id: z.ZodString;
|
2292
2623
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -2298,6 +2629,7 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2298
2629
|
}>>;
|
2299
2630
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2300
2631
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2632
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2301
2633
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2302
2634
|
id: string;
|
2303
2635
|
description: string;
|
@@ -2335,16 +2667,114 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2335
2667
|
}, {
|
2336
2668
|
type: z.ZodLiteral<"NAME">;
|
2337
2669
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
2338
|
-
firstname: z.ZodString
|
2339
|
-
|
2670
|
+
firstname: z.ZodOptional<z.ZodString>;
|
2671
|
+
middlename: z.ZodOptional<z.ZodString>;
|
2672
|
+
surname: z.ZodOptional<z.ZodString>;
|
2340
2673
|
}, "strip", z.ZodTypeAny, {
|
2341
|
-
firstname
|
2342
|
-
surname
|
2674
|
+
firstname?: string | undefined;
|
2675
|
+
surname?: string | undefined;
|
2676
|
+
middlename?: string | undefined;
|
2343
2677
|
}, {
|
2344
|
-
firstname
|
2345
|
-
surname
|
2678
|
+
firstname?: string | undefined;
|
2679
|
+
surname?: string | undefined;
|
2680
|
+
middlename?: string | undefined;
|
2346
2681
|
}>>;
|
2347
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
2682
|
+
configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
2683
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
2684
|
+
firstname: z.ZodOptional<z.ZodObject<{
|
2685
|
+
required: z.ZodBoolean;
|
2686
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2687
|
+
id: string;
|
2688
|
+
description: string;
|
2689
|
+
defaultMessage: string;
|
2690
|
+
}>>;
|
2691
|
+
}, "strip", z.ZodTypeAny, {
|
2692
|
+
required: boolean;
|
2693
|
+
label?: TranslationConfig | undefined;
|
2694
|
+
}, {
|
2695
|
+
required: boolean;
|
2696
|
+
label?: {
|
2697
|
+
id: string;
|
2698
|
+
description: string;
|
2699
|
+
defaultMessage: string;
|
2700
|
+
} | undefined;
|
2701
|
+
}>>;
|
2702
|
+
middlename: z.ZodOptional<z.ZodObject<{
|
2703
|
+
required: z.ZodBoolean;
|
2704
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2705
|
+
id: string;
|
2706
|
+
description: string;
|
2707
|
+
defaultMessage: string;
|
2708
|
+
}>>;
|
2709
|
+
}, "strip", z.ZodTypeAny, {
|
2710
|
+
required: boolean;
|
2711
|
+
label?: TranslationConfig | undefined;
|
2712
|
+
}, {
|
2713
|
+
required: boolean;
|
2714
|
+
label?: {
|
2715
|
+
id: string;
|
2716
|
+
description: string;
|
2717
|
+
defaultMessage: string;
|
2718
|
+
} | undefined;
|
2719
|
+
}>>;
|
2720
|
+
surname: z.ZodOptional<z.ZodObject<{
|
2721
|
+
required: z.ZodBoolean;
|
2722
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2723
|
+
id: string;
|
2724
|
+
description: string;
|
2725
|
+
defaultMessage: string;
|
2726
|
+
}>>;
|
2727
|
+
}, "strip", z.ZodTypeAny, {
|
2728
|
+
required: boolean;
|
2729
|
+
label?: TranslationConfig | undefined;
|
2730
|
+
}, {
|
2731
|
+
required: boolean;
|
2732
|
+
label?: {
|
2733
|
+
id: string;
|
2734
|
+
description: string;
|
2735
|
+
defaultMessage: string;
|
2736
|
+
} | undefined;
|
2737
|
+
}>>;
|
2738
|
+
}, "strip", z.ZodTypeAny, {
|
2739
|
+
firstname?: {
|
2740
|
+
required: boolean;
|
2741
|
+
label?: TranslationConfig | undefined;
|
2742
|
+
} | undefined;
|
2743
|
+
surname?: {
|
2744
|
+
required: boolean;
|
2745
|
+
label?: TranslationConfig | undefined;
|
2746
|
+
} | undefined;
|
2747
|
+
middlename?: {
|
2748
|
+
required: boolean;
|
2749
|
+
label?: TranslationConfig | undefined;
|
2750
|
+
} | undefined;
|
2751
|
+
}, {
|
2752
|
+
firstname?: {
|
2753
|
+
required: boolean;
|
2754
|
+
label?: {
|
2755
|
+
id: string;
|
2756
|
+
description: string;
|
2757
|
+
defaultMessage: string;
|
2758
|
+
} | undefined;
|
2759
|
+
} | undefined;
|
2760
|
+
surname?: {
|
2761
|
+
required: boolean;
|
2762
|
+
label?: {
|
2763
|
+
id: string;
|
2764
|
+
description: string;
|
2765
|
+
defaultMessage: string;
|
2766
|
+
} | undefined;
|
2767
|
+
} | undefined;
|
2768
|
+
middlename?: {
|
2769
|
+
required: boolean;
|
2770
|
+
label?: {
|
2771
|
+
id: string;
|
2772
|
+
description: string;
|
2773
|
+
defaultMessage: string;
|
2774
|
+
} | undefined;
|
2775
|
+
} | undefined;
|
2776
|
+
}>>>;
|
2777
|
+
order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
|
2348
2778
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
2349
2779
|
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2350
2780
|
id: string;
|
@@ -2357,10 +2787,52 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2357
2787
|
defaultMessage: string;
|
2358
2788
|
}>>;
|
2359
2789
|
}, "strip", z.ZodTypeAny, {
|
2790
|
+
name?: {
|
2791
|
+
firstname?: {
|
2792
|
+
required: boolean;
|
2793
|
+
label?: TranslationConfig | undefined;
|
2794
|
+
} | undefined;
|
2795
|
+
surname?: {
|
2796
|
+
required: boolean;
|
2797
|
+
label?: TranslationConfig | undefined;
|
2798
|
+
} | undefined;
|
2799
|
+
middlename?: {
|
2800
|
+
required: boolean;
|
2801
|
+
label?: TranslationConfig | undefined;
|
2802
|
+
} | undefined;
|
2803
|
+
} | undefined;
|
2804
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
2360
2805
|
maxLength?: number | undefined;
|
2361
2806
|
prefix?: TranslationConfig | undefined;
|
2362
2807
|
postfix?: TranslationConfig | undefined;
|
2363
2808
|
}, {
|
2809
|
+
name?: {
|
2810
|
+
firstname?: {
|
2811
|
+
required: boolean;
|
2812
|
+
label?: {
|
2813
|
+
id: string;
|
2814
|
+
description: string;
|
2815
|
+
defaultMessage: string;
|
2816
|
+
} | undefined;
|
2817
|
+
} | undefined;
|
2818
|
+
surname?: {
|
2819
|
+
required: boolean;
|
2820
|
+
label?: {
|
2821
|
+
id: string;
|
2822
|
+
description: string;
|
2823
|
+
defaultMessage: string;
|
2824
|
+
} | undefined;
|
2825
|
+
} | undefined;
|
2826
|
+
middlename?: {
|
2827
|
+
required: boolean;
|
2828
|
+
label?: {
|
2829
|
+
id: string;
|
2830
|
+
description: string;
|
2831
|
+
defaultMessage: string;
|
2832
|
+
} | undefined;
|
2833
|
+
} | undefined;
|
2834
|
+
} | undefined;
|
2835
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
2364
2836
|
maxLength?: number | undefined;
|
2365
2837
|
prefix?: {
|
2366
2838
|
id: string;
|
@@ -2372,7 +2844,7 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2372
2844
|
description: string;
|
2373
2845
|
defaultMessage: string;
|
2374
2846
|
} | undefined;
|
2375
|
-
}
|
2847
|
+
}>>>;
|
2376
2848
|
}>, "strip", z.ZodTypeAny, {
|
2377
2849
|
type: "NAME";
|
2378
2850
|
id: string;
|
@@ -2395,14 +2867,31 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2395
2867
|
type: "DISPLAY_ON_REVIEW";
|
2396
2868
|
conditional: import(".").JSONSchema;
|
2397
2869
|
})[] | undefined;
|
2870
|
+
secured?: boolean | undefined;
|
2398
2871
|
placeholder?: TranslationConfig | undefined;
|
2399
2872
|
helperText?: TranslationConfig | undefined;
|
2400
2873
|
hideLabel?: boolean | undefined;
|
2401
2874
|
defaultValue?: {
|
2402
|
-
firstname
|
2403
|
-
surname
|
2875
|
+
firstname?: string | undefined;
|
2876
|
+
surname?: string | undefined;
|
2877
|
+
middlename?: string | undefined;
|
2404
2878
|
} | undefined;
|
2405
2879
|
configuration?: {
|
2880
|
+
name?: {
|
2881
|
+
firstname?: {
|
2882
|
+
required: boolean;
|
2883
|
+
label?: TranslationConfig | undefined;
|
2884
|
+
} | undefined;
|
2885
|
+
surname?: {
|
2886
|
+
required: boolean;
|
2887
|
+
label?: TranslationConfig | undefined;
|
2888
|
+
} | undefined;
|
2889
|
+
middlename?: {
|
2890
|
+
required: boolean;
|
2891
|
+
label?: TranslationConfig | undefined;
|
2892
|
+
} | undefined;
|
2893
|
+
} | undefined;
|
2894
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
2406
2895
|
maxLength?: number | undefined;
|
2407
2896
|
prefix?: TranslationConfig | undefined;
|
2408
2897
|
postfix?: TranslationConfig | undefined;
|
@@ -2437,6 +2926,7 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2437
2926
|
type: "DISPLAY_ON_REVIEW";
|
2438
2927
|
conditional: import(".").JSONSchema;
|
2439
2928
|
})[] | undefined;
|
2929
|
+
secured?: boolean | undefined;
|
2440
2930
|
placeholder?: {
|
2441
2931
|
id: string;
|
2442
2932
|
description: string;
|
@@ -2449,10 +2939,38 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2449
2939
|
} | undefined;
|
2450
2940
|
hideLabel?: boolean | undefined;
|
2451
2941
|
defaultValue?: {
|
2452
|
-
firstname
|
2453
|
-
surname
|
2942
|
+
firstname?: string | undefined;
|
2943
|
+
surname?: string | undefined;
|
2944
|
+
middlename?: string | undefined;
|
2454
2945
|
} | undefined;
|
2455
2946
|
configuration?: {
|
2947
|
+
name?: {
|
2948
|
+
firstname?: {
|
2949
|
+
required: boolean;
|
2950
|
+
label?: {
|
2951
|
+
id: string;
|
2952
|
+
description: string;
|
2953
|
+
defaultMessage: string;
|
2954
|
+
} | undefined;
|
2955
|
+
} | undefined;
|
2956
|
+
surname?: {
|
2957
|
+
required: boolean;
|
2958
|
+
label?: {
|
2959
|
+
id: string;
|
2960
|
+
description: string;
|
2961
|
+
defaultMessage: string;
|
2962
|
+
} | undefined;
|
2963
|
+
} | undefined;
|
2964
|
+
middlename?: {
|
2965
|
+
required: boolean;
|
2966
|
+
label?: {
|
2967
|
+
id: string;
|
2968
|
+
description: string;
|
2969
|
+
defaultMessage: string;
|
2970
|
+
} | undefined;
|
2971
|
+
} | undefined;
|
2972
|
+
} | undefined;
|
2973
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
2456
2974
|
maxLength?: number | undefined;
|
2457
2975
|
prefix?: {
|
2458
2976
|
id: string;
|
@@ -2477,6 +2995,7 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2477
2995
|
}>>;
|
2478
2996
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2479
2997
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2998
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2480
2999
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2481
3000
|
id: string;
|
2482
3001
|
description: string;
|
@@ -2536,6 +3055,7 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2536
3055
|
type: "DISPLAY_ON_REVIEW";
|
2537
3056
|
conditional: import(".").JSONSchema;
|
2538
3057
|
})[] | undefined;
|
3058
|
+
secured?: boolean | undefined;
|
2539
3059
|
placeholder?: TranslationConfig | undefined;
|
2540
3060
|
helperText?: TranslationConfig | undefined;
|
2541
3061
|
hideLabel?: boolean | undefined;
|
@@ -2570,6 +3090,7 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2570
3090
|
type: "DISPLAY_ON_REVIEW";
|
2571
3091
|
conditional: import(".").JSONSchema;
|
2572
3092
|
})[] | undefined;
|
3093
|
+
secured?: boolean | undefined;
|
2573
3094
|
placeholder?: {
|
2574
3095
|
id: string;
|
2575
3096
|
description: string;
|
@@ -2594,6 +3115,7 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2594
3115
|
}>>;
|
2595
3116
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2596
3117
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3118
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2597
3119
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2598
3120
|
id: string;
|
2599
3121
|
description: string;
|
@@ -2653,6 +3175,7 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2653
3175
|
type: "DISPLAY_ON_REVIEW";
|
2654
3176
|
conditional: import(".").JSONSchema;
|
2655
3177
|
})[] | undefined;
|
3178
|
+
secured?: boolean | undefined;
|
2656
3179
|
placeholder?: TranslationConfig | undefined;
|
2657
3180
|
helperText?: TranslationConfig | undefined;
|
2658
3181
|
hideLabel?: boolean | undefined;
|
@@ -2687,6 +3210,7 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2687
3210
|
type: "DISPLAY_ON_REVIEW";
|
2688
3211
|
conditional: import(".").JSONSchema;
|
2689
3212
|
})[] | undefined;
|
3213
|
+
secured?: boolean | undefined;
|
2690
3214
|
placeholder?: {
|
2691
3215
|
id: string;
|
2692
3216
|
description: string;
|
@@ -2711,6 +3235,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2711
3235
|
}>>;
|
2712
3236
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2713
3237
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3238
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2714
3239
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2715
3240
|
id: string;
|
2716
3241
|
description: string;
|
@@ -2770,6 +3295,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2770
3295
|
type: "DISPLAY_ON_REVIEW";
|
2771
3296
|
conditional: import(".").JSONSchema;
|
2772
3297
|
})[] | undefined;
|
3298
|
+
secured?: boolean | undefined;
|
2773
3299
|
placeholder?: TranslationConfig | undefined;
|
2774
3300
|
helperText?: TranslationConfig | undefined;
|
2775
3301
|
hideLabel?: boolean | undefined;
|
@@ -2804,6 +3330,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2804
3330
|
type: "DISPLAY_ON_REVIEW";
|
2805
3331
|
conditional: import(".").JSONSchema;
|
2806
3332
|
})[] | undefined;
|
3333
|
+
secured?: boolean | undefined;
|
2807
3334
|
placeholder?: {
|
2808
3335
|
id: string;
|
2809
3336
|
description: string;
|
@@ -2829,6 +3356,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2829
3356
|
}>>;
|
2830
3357
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2831
3358
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3359
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2832
3360
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2833
3361
|
id: string;
|
2834
3362
|
description: string;
|
@@ -2888,6 +3416,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2888
3416
|
type: "DISPLAY_ON_REVIEW";
|
2889
3417
|
conditional: import(".").JSONSchema;
|
2890
3418
|
})[] | undefined;
|
3419
|
+
secured?: boolean | undefined;
|
2891
3420
|
placeholder?: TranslationConfig | undefined;
|
2892
3421
|
helperText?: TranslationConfig | undefined;
|
2893
3422
|
hideLabel?: boolean | undefined;
|
@@ -2922,6 +3451,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2922
3451
|
type: "DISPLAY_ON_REVIEW";
|
2923
3452
|
conditional: import(".").JSONSchema;
|
2924
3453
|
})[] | undefined;
|
3454
|
+
secured?: boolean | undefined;
|
2925
3455
|
placeholder?: {
|
2926
3456
|
id: string;
|
2927
3457
|
description: string;
|
@@ -2968,6 +3498,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2968
3498
|
}>>;
|
2969
3499
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2970
3500
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3501
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2971
3502
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2972
3503
|
id: string;
|
2973
3504
|
description: string;
|
@@ -3053,6 +3584,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
3053
3584
|
type: "DISPLAY_ON_REVIEW";
|
3054
3585
|
conditional: import(".").JSONSchema;
|
3055
3586
|
})[] | undefined;
|
3587
|
+
secured?: boolean | undefined;
|
3056
3588
|
placeholder?: TranslationConfig | undefined;
|
3057
3589
|
helperText?: TranslationConfig | undefined;
|
3058
3590
|
hideLabel?: boolean | undefined;
|
@@ -3093,6 +3625,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
3093
3625
|
type: "DISPLAY_ON_REVIEW";
|
3094
3626
|
conditional: import(".").JSONSchema;
|
3095
3627
|
})[] | undefined;
|
3628
|
+
secured?: boolean | undefined;
|
3096
3629
|
placeholder?: {
|
3097
3630
|
id: string;
|
3098
3631
|
description: string;
|
@@ -3118,6 +3651,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
3118
3651
|
}>>;
|
3119
3652
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3120
3653
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3654
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3121
3655
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3122
3656
|
id: string;
|
3123
3657
|
description: string;
|
@@ -3155,6 +3689,13 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
3155
3689
|
}, {
|
3156
3690
|
type: z.ZodLiteral<"LOCATION">;
|
3157
3691
|
defaultValue: z.ZodOptional<z.ZodString>;
|
3692
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
3693
|
+
searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
|
3694
|
+
}, "strip", z.ZodTypeAny, {
|
3695
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
3696
|
+
}, {
|
3697
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
3698
|
+
}>>;
|
3158
3699
|
}>, "strip", z.ZodTypeAny, {
|
3159
3700
|
type: "LOCATION";
|
3160
3701
|
id: string;
|
@@ -3177,10 +3718,14 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
3177
3718
|
type: "DISPLAY_ON_REVIEW";
|
3178
3719
|
conditional: import(".").JSONSchema;
|
3179
3720
|
})[] | undefined;
|
3721
|
+
secured?: boolean | undefined;
|
3180
3722
|
placeholder?: TranslationConfig | undefined;
|
3181
3723
|
helperText?: TranslationConfig | undefined;
|
3182
3724
|
hideLabel?: boolean | undefined;
|
3183
3725
|
defaultValue?: string | undefined;
|
3726
|
+
configuration?: {
|
3727
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
3728
|
+
} | undefined;
|
3184
3729
|
}, {
|
3185
3730
|
type: "LOCATION";
|
3186
3731
|
id: string;
|
@@ -3211,6 +3756,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
3211
3756
|
type: "DISPLAY_ON_REVIEW";
|
3212
3757
|
conditional: import(".").JSONSchema;
|
3213
3758
|
})[] | undefined;
|
3759
|
+
secured?: boolean | undefined;
|
3214
3760
|
placeholder?: {
|
3215
3761
|
id: string;
|
3216
3762
|
description: string;
|
@@ -3223,6 +3769,9 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
3223
3769
|
} | undefined;
|
3224
3770
|
hideLabel?: boolean | undefined;
|
3225
3771
|
defaultValue?: string | undefined;
|
3772
|
+
configuration?: {
|
3773
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
3774
|
+
} | undefined;
|
3226
3775
|
}>;
|
3227
3776
|
export type Location = z.infer<typeof Location>;
|
3228
3777
|
declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
@@ -3236,6 +3785,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
3236
3785
|
}>>;
|
3237
3786
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3238
3787
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3788
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3239
3789
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3240
3790
|
id: string;
|
3241
3791
|
description: string;
|
@@ -3291,19 +3841,19 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
3291
3841
|
};
|
3292
3842
|
}>, "many">;
|
3293
3843
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3294
|
-
|
3844
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
3295
3845
|
originalFilename: z.ZodString;
|
3296
3846
|
type: z.ZodString;
|
3297
3847
|
option: z.ZodString;
|
3298
3848
|
}, "strip", z.ZodTypeAny, {
|
3299
3849
|
type: string;
|
3300
3850
|
option: string;
|
3301
|
-
|
3851
|
+
path: string;
|
3302
3852
|
originalFilename: string;
|
3303
3853
|
}, {
|
3304
3854
|
type: string;
|
3305
3855
|
option: string;
|
3306
|
-
|
3856
|
+
path: string;
|
3307
3857
|
originalFilename: string;
|
3308
3858
|
}>, "many">>;
|
3309
3859
|
configuration: z.ZodDefault<z.ZodObject<{
|
@@ -3346,13 +3896,14 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
3346
3896
|
type: "DISPLAY_ON_REVIEW";
|
3347
3897
|
conditional: import(".").JSONSchema;
|
3348
3898
|
})[] | undefined;
|
3899
|
+
secured?: boolean | undefined;
|
3349
3900
|
placeholder?: TranslationConfig | undefined;
|
3350
3901
|
helperText?: TranslationConfig | undefined;
|
3351
3902
|
hideLabel?: boolean | undefined;
|
3352
3903
|
defaultValue?: {
|
3353
3904
|
type: string;
|
3354
3905
|
option: string;
|
3355
|
-
|
3906
|
+
path: string;
|
3356
3907
|
originalFilename: string;
|
3357
3908
|
}[] | undefined;
|
3358
3909
|
}, {
|
@@ -3393,6 +3944,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
3393
3944
|
type: "DISPLAY_ON_REVIEW";
|
3394
3945
|
conditional: import(".").JSONSchema;
|
3395
3946
|
})[] | undefined;
|
3947
|
+
secured?: boolean | undefined;
|
3396
3948
|
placeholder?: {
|
3397
3949
|
id: string;
|
3398
3950
|
description: string;
|
@@ -3407,7 +3959,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
3407
3959
|
defaultValue?: {
|
3408
3960
|
type: string;
|
3409
3961
|
option: string;
|
3410
|
-
|
3962
|
+
path: string;
|
3411
3963
|
originalFilename: string;
|
3412
3964
|
}[] | undefined;
|
3413
3965
|
configuration?: {
|
@@ -3427,6 +3979,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3427
3979
|
}>>;
|
3428
3980
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3429
3981
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3982
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3430
3983
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3431
3984
|
id: string;
|
3432
3985
|
description: string;
|
@@ -3486,6 +4039,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3486
4039
|
type: "DISPLAY_ON_REVIEW";
|
3487
4040
|
conditional: import(".").JSONSchema;
|
3488
4041
|
})[] | undefined;
|
4042
|
+
secured?: boolean | undefined;
|
3489
4043
|
placeholder?: TranslationConfig | undefined;
|
3490
4044
|
helperText?: TranslationConfig | undefined;
|
3491
4045
|
hideLabel?: boolean | undefined;
|
@@ -3520,6 +4074,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
3520
4074
|
type: "DISPLAY_ON_REVIEW";
|
3521
4075
|
conditional: import(".").JSONSchema;
|
3522
4076
|
})[] | undefined;
|
4077
|
+
secured?: boolean | undefined;
|
3523
4078
|
placeholder?: {
|
3524
4079
|
id: string;
|
3525
4080
|
description: string;
|
@@ -3545,6 +4100,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3545
4100
|
}>>;
|
3546
4101
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3547
4102
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4103
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3548
4104
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3549
4105
|
id: string;
|
3550
4106
|
description: string;
|
@@ -3604,6 +4160,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3604
4160
|
type: "DISPLAY_ON_REVIEW";
|
3605
4161
|
conditional: import(".").JSONSchema;
|
3606
4162
|
})[] | undefined;
|
4163
|
+
secured?: boolean | undefined;
|
3607
4164
|
placeholder?: TranslationConfig | undefined;
|
3608
4165
|
helperText?: TranslationConfig | undefined;
|
3609
4166
|
hideLabel?: boolean | undefined;
|
@@ -3638,6 +4195,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3638
4195
|
type: "DISPLAY_ON_REVIEW";
|
3639
4196
|
conditional: import(".").JSONSchema;
|
3640
4197
|
})[] | undefined;
|
4198
|
+
secured?: boolean | undefined;
|
3641
4199
|
placeholder?: {
|
3642
4200
|
id: string;
|
3643
4201
|
description: string;
|
@@ -3663,6 +4221,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3663
4221
|
}>>;
|
3664
4222
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3665
4223
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4224
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3666
4225
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3667
4226
|
id: string;
|
3668
4227
|
description: string;
|
@@ -3699,6 +4258,16 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3699
4258
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3700
4259
|
}, {
|
3701
4260
|
type: z.ZodLiteral<"ADDRESS">;
|
4261
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
4262
|
+
lineSeparator: z.ZodOptional<z.ZodString>;
|
4263
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["number", "country", "province", "addressType", "district", "urbanOrRural", "town", "residentialArea", "street", "zipCode", "village", "state", "district2", "cityOrTown", "addressLine1", "addressLine2", "addressLine3", "postcodeOrZip"]>, "many">>;
|
4264
|
+
}, "strip", z.ZodTypeAny, {
|
4265
|
+
lineSeparator?: string | undefined;
|
4266
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4267
|
+
}, {
|
4268
|
+
lineSeparator?: string | undefined;
|
4269
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4270
|
+
}>>;
|
3702
4271
|
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
3703
4272
|
country: z.ZodString;
|
3704
4273
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -3808,6 +4377,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3808
4377
|
type: "DISPLAY_ON_REVIEW";
|
3809
4378
|
conditional: import(".").JSONSchema;
|
3810
4379
|
})[] | undefined;
|
4380
|
+
secured?: boolean | undefined;
|
3811
4381
|
placeholder?: TranslationConfig | undefined;
|
3812
4382
|
helperText?: TranslationConfig | undefined;
|
3813
4383
|
hideLabel?: boolean | undefined;
|
@@ -3840,6 +4410,10 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3840
4410
|
addressLine3?: string | undefined;
|
3841
4411
|
postcodeOrZip?: string | undefined;
|
3842
4412
|
} | undefined;
|
4413
|
+
configuration?: {
|
4414
|
+
lineSeparator?: string | undefined;
|
4415
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4416
|
+
} | undefined;
|
3843
4417
|
}, {
|
3844
4418
|
type: "ADDRESS";
|
3845
4419
|
id: string;
|
@@ -3870,6 +4444,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3870
4444
|
type: "DISPLAY_ON_REVIEW";
|
3871
4445
|
conditional: import(".").JSONSchema;
|
3872
4446
|
})[] | undefined;
|
4447
|
+
secured?: boolean | undefined;
|
3873
4448
|
placeholder?: {
|
3874
4449
|
id: string;
|
3875
4450
|
description: string;
|
@@ -3910,6 +4485,10 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3910
4485
|
addressLine3?: string | undefined;
|
3911
4486
|
postcodeOrZip?: string | undefined;
|
3912
4487
|
} | undefined;
|
4488
|
+
configuration?: {
|
4489
|
+
lineSeparator?: string | undefined;
|
4490
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4491
|
+
} | undefined;
|
3913
4492
|
}>;
|
3914
4493
|
export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
|
3915
4494
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -3955,6 +4534,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3955
4534
|
}>>;
|
3956
4535
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3957
4536
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4537
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3958
4538
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3959
4539
|
id: string;
|
3960
4540
|
description: string;
|
@@ -4089,6 +4669,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
4089
4669
|
type: "DISPLAY_ON_REVIEW";
|
4090
4670
|
conditional: import(".").JSONSchema;
|
4091
4671
|
})[] | undefined;
|
4672
|
+
secured?: boolean | undefined;
|
4092
4673
|
placeholder?: TranslationConfig | undefined;
|
4093
4674
|
helperText?: TranslationConfig | undefined;
|
4094
4675
|
hideLabel?: boolean | undefined;
|
@@ -4143,6 +4724,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
4143
4724
|
type: "DISPLAY_ON_REVIEW";
|
4144
4725
|
conditional: import(".").JSONSchema;
|
4145
4726
|
})[] | undefined;
|
4727
|
+
secured?: boolean | undefined;
|
4146
4728
|
placeholder?: {
|
4147
4729
|
id: string;
|
4148
4730
|
description: string;
|
@@ -4156,15 +4738,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
4156
4738
|
hideLabel?: boolean | undefined;
|
4157
4739
|
}>;
|
4158
4740
|
export type DataField = z.infer<typeof DataField>;
|
4159
|
-
|
4160
|
-
export type AllFields = typeof Address | typeof TextField | typeof NumberField | typeof TextAreaField | typeof DateField | typeof DateRangeField | typeof Paragraph | typeof RadioGroup | typeof BulletList | typeof PageHeader | typeof Select | typeof NameField | typeof PhoneField | typeof IdField | typeof Checkbox | typeof File | typeof Country | typeof AdministrativeArea | typeof Divider | typeof Location | typeof Facility | typeof Office | typeof SignatureField | typeof EmailField | typeof FileUploadWithOptions | typeof DataField;
|
4161
|
-
/** @knipignore */
|
4162
|
-
export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof DateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof 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>;
|
4163
|
-
/** @knipignore */
|
4164
|
-
/**
|
4165
|
-
* This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
|
4166
|
-
*/
|
4167
|
-
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>;
|
4741
|
+
export type FieldConfig = 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>;
|
4168
4742
|
export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
4169
4743
|
id: z.ZodString;
|
4170
4744
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -4176,6 +4750,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4176
4750
|
}>>;
|
4177
4751
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4178
4752
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4753
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4179
4754
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4180
4755
|
id: string;
|
4181
4756
|
description: string;
|
@@ -4212,6 +4787,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4212
4787
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4213
4788
|
}, {
|
4214
4789
|
type: z.ZodLiteral<"ADDRESS">;
|
4790
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
4791
|
+
lineSeparator: z.ZodOptional<z.ZodString>;
|
4792
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["number", "country", "province", "addressType", "district", "urbanOrRural", "town", "residentialArea", "street", "zipCode", "village", "state", "district2", "cityOrTown", "addressLine1", "addressLine2", "addressLine3", "postcodeOrZip"]>, "many">>;
|
4793
|
+
}, "strip", z.ZodTypeAny, {
|
4794
|
+
lineSeparator?: string | undefined;
|
4795
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4796
|
+
}, {
|
4797
|
+
lineSeparator?: string | undefined;
|
4798
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4799
|
+
}>>;
|
4215
4800
|
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
4216
4801
|
country: z.ZodString;
|
4217
4802
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -4321,6 +4906,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4321
4906
|
type: "DISPLAY_ON_REVIEW";
|
4322
4907
|
conditional: import(".").JSONSchema;
|
4323
4908
|
})[] | undefined;
|
4909
|
+
secured?: boolean | undefined;
|
4324
4910
|
placeholder?: TranslationConfig | undefined;
|
4325
4911
|
helperText?: TranslationConfig | undefined;
|
4326
4912
|
hideLabel?: boolean | undefined;
|
@@ -4353,6 +4939,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4353
4939
|
addressLine3?: string | undefined;
|
4354
4940
|
postcodeOrZip?: string | undefined;
|
4355
4941
|
} | undefined;
|
4942
|
+
configuration?: {
|
4943
|
+
lineSeparator?: string | undefined;
|
4944
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4945
|
+
} | undefined;
|
4356
4946
|
}, {
|
4357
4947
|
type: "ADDRESS";
|
4358
4948
|
id: string;
|
@@ -4383,6 +4973,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4383
4973
|
type: "DISPLAY_ON_REVIEW";
|
4384
4974
|
conditional: import(".").JSONSchema;
|
4385
4975
|
})[] | undefined;
|
4976
|
+
secured?: boolean | undefined;
|
4386
4977
|
placeholder?: {
|
4387
4978
|
id: string;
|
4388
4979
|
description: string;
|
@@ -4423,6 +5014,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4423
5014
|
addressLine3?: string | undefined;
|
4424
5015
|
postcodeOrZip?: string | undefined;
|
4425
5016
|
} | undefined;
|
5017
|
+
configuration?: {
|
5018
|
+
lineSeparator?: string | undefined;
|
5019
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
5020
|
+
} | undefined;
|
4426
5021
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4427
5022
|
id: z.ZodString;
|
4428
5023
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -4434,6 +5029,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4434
5029
|
}>>;
|
4435
5030
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4436
5031
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5032
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4437
5033
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4438
5034
|
id: string;
|
4439
5035
|
description: string;
|
@@ -4525,6 +5121,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4525
5121
|
type: "DISPLAY_ON_REVIEW";
|
4526
5122
|
conditional: import(".").JSONSchema;
|
4527
5123
|
})[] | undefined;
|
5124
|
+
secured?: boolean | undefined;
|
4528
5125
|
placeholder?: TranslationConfig | undefined;
|
4529
5126
|
helperText?: TranslationConfig | undefined;
|
4530
5127
|
hideLabel?: boolean | undefined;
|
@@ -4565,6 +5162,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4565
5162
|
type: "DISPLAY_ON_REVIEW";
|
4566
5163
|
conditional: import(".").JSONSchema;
|
4567
5164
|
})[] | undefined;
|
5165
|
+
secured?: boolean | undefined;
|
4568
5166
|
placeholder?: {
|
4569
5167
|
id: string;
|
4570
5168
|
description: string;
|
@@ -4602,6 +5200,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4602
5200
|
}>>;
|
4603
5201
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4604
5202
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5203
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4605
5204
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4606
5205
|
id: string;
|
4607
5206
|
description: string;
|
@@ -4693,6 +5292,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4693
5292
|
type: "DISPLAY_ON_REVIEW";
|
4694
5293
|
conditional: import(".").JSONSchema;
|
4695
5294
|
})[] | undefined;
|
5295
|
+
secured?: boolean | undefined;
|
4696
5296
|
placeholder?: TranslationConfig | undefined;
|
4697
5297
|
helperText?: TranslationConfig | undefined;
|
4698
5298
|
hideLabel?: boolean | undefined;
|
@@ -4733,6 +5333,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4733
5333
|
type: "DISPLAY_ON_REVIEW";
|
4734
5334
|
conditional: import(".").JSONSchema;
|
4735
5335
|
})[] | undefined;
|
5336
|
+
secured?: boolean | undefined;
|
4736
5337
|
placeholder?: {
|
4737
5338
|
id: string;
|
4738
5339
|
description: string;
|
@@ -4770,6 +5371,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4770
5371
|
}>>;
|
4771
5372
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4772
5373
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5374
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4773
5375
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4774
5376
|
id: string;
|
4775
5377
|
description: string;
|
@@ -4864,6 +5466,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4864
5466
|
type: "DISPLAY_ON_REVIEW";
|
4865
5467
|
conditional: import(".").JSONSchema;
|
4866
5468
|
})[] | undefined;
|
5469
|
+
secured?: boolean | undefined;
|
4867
5470
|
placeholder?: TranslationConfig | undefined;
|
4868
5471
|
helperText?: TranslationConfig | undefined;
|
4869
5472
|
hideLabel?: boolean | undefined;
|
@@ -4905,6 +5508,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4905
5508
|
type: "DISPLAY_ON_REVIEW";
|
4906
5509
|
conditional: import(".").JSONSchema;
|
4907
5510
|
})[] | undefined;
|
5511
|
+
secured?: boolean | undefined;
|
4908
5512
|
placeholder?: {
|
4909
5513
|
id: string;
|
4910
5514
|
description: string;
|
@@ -4943,6 +5547,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4943
5547
|
}>>;
|
4944
5548
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4945
5549
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5550
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4946
5551
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4947
5552
|
id: string;
|
4948
5553
|
description: string;
|
@@ -5017,6 +5622,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5017
5622
|
type: "DISPLAY_ON_REVIEW";
|
5018
5623
|
conditional: import(".").JSONSchema;
|
5019
5624
|
})[] | undefined;
|
5625
|
+
secured?: boolean | undefined;
|
5020
5626
|
placeholder?: TranslationConfig | undefined;
|
5021
5627
|
helperText?: TranslationConfig | undefined;
|
5022
5628
|
hideLabel?: boolean | undefined;
|
@@ -5054,6 +5660,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5054
5660
|
type: "DISPLAY_ON_REVIEW";
|
5055
5661
|
conditional: import(".").JSONSchema;
|
5056
5662
|
})[] | undefined;
|
5663
|
+
secured?: boolean | undefined;
|
5057
5664
|
placeholder?: {
|
5058
5665
|
id: string;
|
5059
5666
|
description: string;
|
@@ -5084,6 +5691,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5084
5691
|
}>>;
|
5085
5692
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5086
5693
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5694
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5087
5695
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5088
5696
|
id: string;
|
5089
5697
|
description: string;
|
@@ -5120,7 +5728,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5120
5728
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5121
5729
|
}, {
|
5122
5730
|
type: z.ZodLiteral<"DATE_RANGE">;
|
5123
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.
|
5731
|
+
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
5732
|
+
start: z.ZodString;
|
5733
|
+
end: z.ZodString;
|
5734
|
+
}, "strip", z.ZodTypeAny, {
|
5735
|
+
start: string;
|
5736
|
+
end: string;
|
5737
|
+
}, {
|
5738
|
+
start: string;
|
5739
|
+
end: string;
|
5740
|
+
}>, z.ZodString]>>;
|
5124
5741
|
configuration: z.ZodOptional<z.ZodObject<{
|
5125
5742
|
notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5126
5743
|
id: string;
|
@@ -5158,10 +5775,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5158
5775
|
type: "DISPLAY_ON_REVIEW";
|
5159
5776
|
conditional: import(".").JSONSchema;
|
5160
5777
|
})[] | undefined;
|
5778
|
+
secured?: boolean | undefined;
|
5161
5779
|
placeholder?: TranslationConfig | undefined;
|
5162
5780
|
helperText?: TranslationConfig | undefined;
|
5163
5781
|
hideLabel?: boolean | undefined;
|
5164
|
-
defaultValue?: string |
|
5782
|
+
defaultValue?: string | {
|
5783
|
+
start: string;
|
5784
|
+
end: string;
|
5785
|
+
} | undefined;
|
5165
5786
|
configuration?: {
|
5166
5787
|
notice?: TranslationConfig | undefined;
|
5167
5788
|
} | undefined;
|
@@ -5195,6 +5816,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5195
5816
|
type: "DISPLAY_ON_REVIEW";
|
5196
5817
|
conditional: import(".").JSONSchema;
|
5197
5818
|
})[] | undefined;
|
5819
|
+
secured?: boolean | undefined;
|
5198
5820
|
placeholder?: {
|
5199
5821
|
id: string;
|
5200
5822
|
description: string;
|
@@ -5206,7 +5828,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5206
5828
|
defaultMessage: string;
|
5207
5829
|
} | undefined;
|
5208
5830
|
hideLabel?: boolean | undefined;
|
5209
|
-
defaultValue?: string |
|
5831
|
+
defaultValue?: string | {
|
5832
|
+
start: string;
|
5833
|
+
end: string;
|
5834
|
+
} | undefined;
|
5210
5835
|
configuration?: {
|
5211
5836
|
notice?: {
|
5212
5837
|
id: string;
|
@@ -5225,6 +5850,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5225
5850
|
}>>;
|
5226
5851
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5227
5852
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5853
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5228
5854
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5229
5855
|
id: string;
|
5230
5856
|
description: string;
|
@@ -5260,11 +5886,160 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5260
5886
|
}>>;
|
5261
5887
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5262
5888
|
}, {
|
5263
|
-
type: z.ZodLiteral<"
|
5264
|
-
defaultValue: z.ZodOptional<z.
|
5265
|
-
|
5266
|
-
|
5267
|
-
|
5889
|
+
type: z.ZodLiteral<"SELECT_DATE_RANGE">;
|
5890
|
+
defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
|
5891
|
+
options: z.ZodArray<z.ZodObject<{
|
5892
|
+
value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
5893
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5894
|
+
id: string;
|
5895
|
+
description: string;
|
5896
|
+
defaultMessage: string;
|
5897
|
+
}>;
|
5898
|
+
}, "strip", z.ZodTypeAny, {
|
5899
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
5900
|
+
label: TranslationConfig;
|
5901
|
+
}, {
|
5902
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
5903
|
+
label: {
|
5904
|
+
id: string;
|
5905
|
+
description: string;
|
5906
|
+
defaultMessage: string;
|
5907
|
+
};
|
5908
|
+
}>, "many">;
|
5909
|
+
}>, "strip", z.ZodTypeAny, {
|
5910
|
+
type: "SELECT_DATE_RANGE";
|
5911
|
+
id: string;
|
5912
|
+
options: {
|
5913
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
5914
|
+
label: TranslationConfig;
|
5915
|
+
}[];
|
5916
|
+
label: TranslationConfig;
|
5917
|
+
parent?: {
|
5918
|
+
$$field: string;
|
5919
|
+
} | undefined;
|
5920
|
+
validation?: {
|
5921
|
+
message: TranslationConfig;
|
5922
|
+
validator: import(".").JSONSchema;
|
5923
|
+
}[] | undefined;
|
5924
|
+
required?: boolean | undefined;
|
5925
|
+
conditionals?: ({
|
5926
|
+
type: "SHOW";
|
5927
|
+
conditional: import(".").JSONSchema;
|
5928
|
+
} | {
|
5929
|
+
type: "ENABLE";
|
5930
|
+
conditional: import(".").JSONSchema;
|
5931
|
+
} | {
|
5932
|
+
type: "DISPLAY_ON_REVIEW";
|
5933
|
+
conditional: import(".").JSONSchema;
|
5934
|
+
})[] | undefined;
|
5935
|
+
secured?: boolean | undefined;
|
5936
|
+
placeholder?: TranslationConfig | undefined;
|
5937
|
+
helperText?: TranslationConfig | undefined;
|
5938
|
+
hideLabel?: boolean | undefined;
|
5939
|
+
defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
|
5940
|
+
}, {
|
5941
|
+
type: "SELECT_DATE_RANGE";
|
5942
|
+
id: string;
|
5943
|
+
options: {
|
5944
|
+
value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
5945
|
+
label: {
|
5946
|
+
id: string;
|
5947
|
+
description: string;
|
5948
|
+
defaultMessage: string;
|
5949
|
+
};
|
5950
|
+
}[];
|
5951
|
+
label: {
|
5952
|
+
id: string;
|
5953
|
+
description: string;
|
5954
|
+
defaultMessage: string;
|
5955
|
+
};
|
5956
|
+
parent?: {
|
5957
|
+
$$field: string;
|
5958
|
+
} | undefined;
|
5959
|
+
validation?: {
|
5960
|
+
message: {
|
5961
|
+
id: string;
|
5962
|
+
description: string;
|
5963
|
+
defaultMessage: string;
|
5964
|
+
};
|
5965
|
+
validator: import(".").JSONSchema;
|
5966
|
+
}[] | undefined;
|
5967
|
+
required?: boolean | undefined;
|
5968
|
+
conditionals?: ({
|
5969
|
+
type: "SHOW";
|
5970
|
+
conditional: import(".").JSONSchema;
|
5971
|
+
} | {
|
5972
|
+
type: "ENABLE";
|
5973
|
+
conditional: import(".").JSONSchema;
|
5974
|
+
} | {
|
5975
|
+
type: "DISPLAY_ON_REVIEW";
|
5976
|
+
conditional: import(".").JSONSchema;
|
5977
|
+
})[] | undefined;
|
5978
|
+
secured?: boolean | undefined;
|
5979
|
+
placeholder?: {
|
5980
|
+
id: string;
|
5981
|
+
description: string;
|
5982
|
+
defaultMessage: string;
|
5983
|
+
} | undefined;
|
5984
|
+
helperText?: {
|
5985
|
+
id: string;
|
5986
|
+
description: string;
|
5987
|
+
defaultMessage: string;
|
5988
|
+
} | undefined;
|
5989
|
+
hideLabel?: boolean | undefined;
|
5990
|
+
defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
|
5991
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5992
|
+
id: z.ZodString;
|
5993
|
+
parent: z.ZodOptional<z.ZodObject<{
|
5994
|
+
$$field: z.ZodString;
|
5995
|
+
}, "strip", z.ZodTypeAny, {
|
5996
|
+
$$field: string;
|
5997
|
+
}, {
|
5998
|
+
$$field: string;
|
5999
|
+
}>>;
|
6000
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6001
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6002
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6003
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6004
|
+
id: string;
|
6005
|
+
description: string;
|
6006
|
+
defaultMessage: string;
|
6007
|
+
}>>;
|
6008
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
6009
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
6010
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6011
|
+
id: string;
|
6012
|
+
description: string;
|
6013
|
+
defaultMessage: string;
|
6014
|
+
}>;
|
6015
|
+
}, "strip", z.ZodTypeAny, {
|
6016
|
+
message: TranslationConfig;
|
6017
|
+
validator: import(".").JSONSchema;
|
6018
|
+
}, {
|
6019
|
+
message: {
|
6020
|
+
id: string;
|
6021
|
+
description: string;
|
6022
|
+
defaultMessage: string;
|
6023
|
+
};
|
6024
|
+
validator: import(".").JSONSchema;
|
6025
|
+
}>, "many">>>;
|
6026
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6027
|
+
id: string;
|
6028
|
+
description: string;
|
6029
|
+
defaultMessage: string;
|
6030
|
+
}>;
|
6031
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6032
|
+
id: string;
|
6033
|
+
description: string;
|
6034
|
+
defaultMessage: string;
|
6035
|
+
}>>;
|
6036
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6037
|
+
}, {
|
6038
|
+
type: z.ZodLiteral<"PARAGRAPH">;
|
6039
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
6040
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
6041
|
+
styles: z.ZodOptional<z.ZodObject<{
|
6042
|
+
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
5268
6043
|
}, "strip", z.ZodTypeAny, {
|
5269
6044
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5270
6045
|
}, {
|
@@ -5306,6 +6081,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5306
6081
|
type: "DISPLAY_ON_REVIEW";
|
5307
6082
|
conditional: import(".").JSONSchema;
|
5308
6083
|
})[] | undefined;
|
6084
|
+
secured?: boolean | undefined;
|
5309
6085
|
placeholder?: TranslationConfig | undefined;
|
5310
6086
|
helperText?: TranslationConfig | undefined;
|
5311
6087
|
hideLabel?: boolean | undefined;
|
@@ -5340,6 +6116,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5340
6116
|
type: "DISPLAY_ON_REVIEW";
|
5341
6117
|
conditional: import(".").JSONSchema;
|
5342
6118
|
})[] | undefined;
|
6119
|
+
secured?: boolean | undefined;
|
5343
6120
|
placeholder?: {
|
5344
6121
|
id: string;
|
5345
6122
|
description: string;
|
@@ -5368,6 +6145,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5368
6145
|
}>>;
|
5369
6146
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5370
6147
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6148
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5371
6149
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5372
6150
|
id: string;
|
5373
6151
|
description: string;
|
@@ -5466,6 +6244,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5466
6244
|
type: "DISPLAY_ON_REVIEW";
|
5467
6245
|
conditional: import(".").JSONSchema;
|
5468
6246
|
})[] | undefined;
|
6247
|
+
secured?: boolean | undefined;
|
5469
6248
|
placeholder?: TranslationConfig | undefined;
|
5470
6249
|
helperText?: TranslationConfig | undefined;
|
5471
6250
|
hideLabel?: boolean | undefined;
|
@@ -5513,6 +6292,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5513
6292
|
type: "DISPLAY_ON_REVIEW";
|
5514
6293
|
conditional: import(".").JSONSchema;
|
5515
6294
|
})[] | undefined;
|
6295
|
+
secured?: boolean | undefined;
|
5516
6296
|
placeholder?: {
|
5517
6297
|
id: string;
|
5518
6298
|
description: string;
|
@@ -5541,6 +6321,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5541
6321
|
}>>;
|
5542
6322
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5543
6323
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6324
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5544
6325
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5545
6326
|
id: string;
|
5546
6327
|
description: string;
|
@@ -5628,6 +6409,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5628
6409
|
type: "DISPLAY_ON_REVIEW";
|
5629
6410
|
conditional: import(".").JSONSchema;
|
5630
6411
|
})[] | undefined;
|
6412
|
+
secured?: boolean | undefined;
|
5631
6413
|
placeholder?: TranslationConfig | undefined;
|
5632
6414
|
helperText?: TranslationConfig | undefined;
|
5633
6415
|
hideLabel?: boolean | undefined;
|
@@ -5667,6 +6449,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5667
6449
|
type: "DISPLAY_ON_REVIEW";
|
5668
6450
|
conditional: import(".").JSONSchema;
|
5669
6451
|
})[] | undefined;
|
6452
|
+
secured?: boolean | undefined;
|
5670
6453
|
placeholder?: {
|
5671
6454
|
id: string;
|
5672
6455
|
description: string;
|
@@ -5695,6 +6478,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5695
6478
|
}>>;
|
5696
6479
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5697
6480
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6481
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5698
6482
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5699
6483
|
id: string;
|
5700
6484
|
description: string;
|
@@ -5754,6 +6538,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5754
6538
|
type: "DISPLAY_ON_REVIEW";
|
5755
6539
|
conditional: import(".").JSONSchema;
|
5756
6540
|
})[] | undefined;
|
6541
|
+
secured?: boolean | undefined;
|
5757
6542
|
placeholder?: TranslationConfig | undefined;
|
5758
6543
|
helperText?: TranslationConfig | undefined;
|
5759
6544
|
hideLabel?: boolean | undefined;
|
@@ -5788,6 +6573,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5788
6573
|
type: "DISPLAY_ON_REVIEW";
|
5789
6574
|
conditional: import(".").JSONSchema;
|
5790
6575
|
})[] | undefined;
|
6576
|
+
secured?: boolean | undefined;
|
5791
6577
|
placeholder?: {
|
5792
6578
|
id: string;
|
5793
6579
|
description: string;
|
@@ -5811,6 +6597,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5811
6597
|
}>>;
|
5812
6598
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5813
6599
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6600
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5814
6601
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5815
6602
|
id: string;
|
5816
6603
|
description: string;
|
@@ -5892,6 +6679,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5892
6679
|
type: "DISPLAY_ON_REVIEW";
|
5893
6680
|
conditional: import(".").JSONSchema;
|
5894
6681
|
})[] | undefined;
|
6682
|
+
secured?: boolean | undefined;
|
5895
6683
|
placeholder?: TranslationConfig | undefined;
|
5896
6684
|
helperText?: TranslationConfig | undefined;
|
5897
6685
|
hideLabel?: boolean | undefined;
|
@@ -5934,6 +6722,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5934
6722
|
type: "DISPLAY_ON_REVIEW";
|
5935
6723
|
conditional: import(".").JSONSchema;
|
5936
6724
|
})[] | undefined;
|
6725
|
+
secured?: boolean | undefined;
|
5937
6726
|
placeholder?: {
|
5938
6727
|
id: string;
|
5939
6728
|
description: string;
|
@@ -5957,6 +6746,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5957
6746
|
}>>;
|
5958
6747
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
5959
6748
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6749
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5960
6750
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5961
6751
|
id: string;
|
5962
6752
|
description: string;
|
@@ -5994,16 +6784,114 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5994
6784
|
}, {
|
5995
6785
|
type: z.ZodLiteral<"NAME">;
|
5996
6786
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
5997
|
-
firstname: z.ZodString
|
5998
|
-
|
6787
|
+
firstname: z.ZodOptional<z.ZodString>;
|
6788
|
+
middlename: z.ZodOptional<z.ZodString>;
|
6789
|
+
surname: z.ZodOptional<z.ZodString>;
|
5999
6790
|
}, "strip", z.ZodTypeAny, {
|
6000
|
-
firstname
|
6001
|
-
surname
|
6791
|
+
firstname?: string | undefined;
|
6792
|
+
surname?: string | undefined;
|
6793
|
+
middlename?: string | undefined;
|
6002
6794
|
}, {
|
6003
|
-
firstname
|
6004
|
-
surname
|
6795
|
+
firstname?: string | undefined;
|
6796
|
+
surname?: string | undefined;
|
6797
|
+
middlename?: string | undefined;
|
6005
6798
|
}>>;
|
6006
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
6799
|
+
configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
6800
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
6801
|
+
firstname: z.ZodOptional<z.ZodObject<{
|
6802
|
+
required: z.ZodBoolean;
|
6803
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6804
|
+
id: string;
|
6805
|
+
description: string;
|
6806
|
+
defaultMessage: string;
|
6807
|
+
}>>;
|
6808
|
+
}, "strip", z.ZodTypeAny, {
|
6809
|
+
required: boolean;
|
6810
|
+
label?: TranslationConfig | undefined;
|
6811
|
+
}, {
|
6812
|
+
required: boolean;
|
6813
|
+
label?: {
|
6814
|
+
id: string;
|
6815
|
+
description: string;
|
6816
|
+
defaultMessage: string;
|
6817
|
+
} | undefined;
|
6818
|
+
}>>;
|
6819
|
+
middlename: z.ZodOptional<z.ZodObject<{
|
6820
|
+
required: z.ZodBoolean;
|
6821
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6822
|
+
id: string;
|
6823
|
+
description: string;
|
6824
|
+
defaultMessage: string;
|
6825
|
+
}>>;
|
6826
|
+
}, "strip", z.ZodTypeAny, {
|
6827
|
+
required: boolean;
|
6828
|
+
label?: TranslationConfig | undefined;
|
6829
|
+
}, {
|
6830
|
+
required: boolean;
|
6831
|
+
label?: {
|
6832
|
+
id: string;
|
6833
|
+
description: string;
|
6834
|
+
defaultMessage: string;
|
6835
|
+
} | undefined;
|
6836
|
+
}>>;
|
6837
|
+
surname: z.ZodOptional<z.ZodObject<{
|
6838
|
+
required: z.ZodBoolean;
|
6839
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6840
|
+
id: string;
|
6841
|
+
description: string;
|
6842
|
+
defaultMessage: string;
|
6843
|
+
}>>;
|
6844
|
+
}, "strip", z.ZodTypeAny, {
|
6845
|
+
required: boolean;
|
6846
|
+
label?: TranslationConfig | undefined;
|
6847
|
+
}, {
|
6848
|
+
required: boolean;
|
6849
|
+
label?: {
|
6850
|
+
id: string;
|
6851
|
+
description: string;
|
6852
|
+
defaultMessage: string;
|
6853
|
+
} | undefined;
|
6854
|
+
}>>;
|
6855
|
+
}, "strip", z.ZodTypeAny, {
|
6856
|
+
firstname?: {
|
6857
|
+
required: boolean;
|
6858
|
+
label?: TranslationConfig | undefined;
|
6859
|
+
} | undefined;
|
6860
|
+
surname?: {
|
6861
|
+
required: boolean;
|
6862
|
+
label?: TranslationConfig | undefined;
|
6863
|
+
} | undefined;
|
6864
|
+
middlename?: {
|
6865
|
+
required: boolean;
|
6866
|
+
label?: TranslationConfig | undefined;
|
6867
|
+
} | undefined;
|
6868
|
+
}, {
|
6869
|
+
firstname?: {
|
6870
|
+
required: boolean;
|
6871
|
+
label?: {
|
6872
|
+
id: string;
|
6873
|
+
description: string;
|
6874
|
+
defaultMessage: string;
|
6875
|
+
} | undefined;
|
6876
|
+
} | undefined;
|
6877
|
+
surname?: {
|
6878
|
+
required: boolean;
|
6879
|
+
label?: {
|
6880
|
+
id: string;
|
6881
|
+
description: string;
|
6882
|
+
defaultMessage: string;
|
6883
|
+
} | undefined;
|
6884
|
+
} | undefined;
|
6885
|
+
middlename?: {
|
6886
|
+
required: boolean;
|
6887
|
+
label?: {
|
6888
|
+
id: string;
|
6889
|
+
description: string;
|
6890
|
+
defaultMessage: string;
|
6891
|
+
} | undefined;
|
6892
|
+
} | undefined;
|
6893
|
+
}>>>;
|
6894
|
+
order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
|
6007
6895
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
6008
6896
|
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6009
6897
|
id: string;
|
@@ -6016,10 +6904,52 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6016
6904
|
defaultMessage: string;
|
6017
6905
|
}>>;
|
6018
6906
|
}, "strip", z.ZodTypeAny, {
|
6907
|
+
name?: {
|
6908
|
+
firstname?: {
|
6909
|
+
required: boolean;
|
6910
|
+
label?: TranslationConfig | undefined;
|
6911
|
+
} | undefined;
|
6912
|
+
surname?: {
|
6913
|
+
required: boolean;
|
6914
|
+
label?: TranslationConfig | undefined;
|
6915
|
+
} | undefined;
|
6916
|
+
middlename?: {
|
6917
|
+
required: boolean;
|
6918
|
+
label?: TranslationConfig | undefined;
|
6919
|
+
} | undefined;
|
6920
|
+
} | undefined;
|
6921
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
6019
6922
|
maxLength?: number | undefined;
|
6020
6923
|
prefix?: TranslationConfig | undefined;
|
6021
6924
|
postfix?: TranslationConfig | undefined;
|
6022
6925
|
}, {
|
6926
|
+
name?: {
|
6927
|
+
firstname?: {
|
6928
|
+
required: boolean;
|
6929
|
+
label?: {
|
6930
|
+
id: string;
|
6931
|
+
description: string;
|
6932
|
+
defaultMessage: string;
|
6933
|
+
} | undefined;
|
6934
|
+
} | undefined;
|
6935
|
+
surname?: {
|
6936
|
+
required: boolean;
|
6937
|
+
label?: {
|
6938
|
+
id: string;
|
6939
|
+
description: string;
|
6940
|
+
defaultMessage: string;
|
6941
|
+
} | undefined;
|
6942
|
+
} | undefined;
|
6943
|
+
middlename?: {
|
6944
|
+
required: boolean;
|
6945
|
+
label?: {
|
6946
|
+
id: string;
|
6947
|
+
description: string;
|
6948
|
+
defaultMessage: string;
|
6949
|
+
} | undefined;
|
6950
|
+
} | undefined;
|
6951
|
+
} | undefined;
|
6952
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
6023
6953
|
maxLength?: number | undefined;
|
6024
6954
|
prefix?: {
|
6025
6955
|
id: string;
|
@@ -6031,7 +6961,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6031
6961
|
description: string;
|
6032
6962
|
defaultMessage: string;
|
6033
6963
|
} | undefined;
|
6034
|
-
}
|
6964
|
+
}>>>;
|
6035
6965
|
}>, "strip", z.ZodTypeAny, {
|
6036
6966
|
type: "NAME";
|
6037
6967
|
id: string;
|
@@ -6054,14 +6984,31 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6054
6984
|
type: "DISPLAY_ON_REVIEW";
|
6055
6985
|
conditional: import(".").JSONSchema;
|
6056
6986
|
})[] | undefined;
|
6987
|
+
secured?: boolean | undefined;
|
6057
6988
|
placeholder?: TranslationConfig | undefined;
|
6058
6989
|
helperText?: TranslationConfig | undefined;
|
6059
6990
|
hideLabel?: boolean | undefined;
|
6060
6991
|
defaultValue?: {
|
6061
|
-
firstname
|
6062
|
-
surname
|
6992
|
+
firstname?: string | undefined;
|
6993
|
+
surname?: string | undefined;
|
6994
|
+
middlename?: string | undefined;
|
6063
6995
|
} | undefined;
|
6064
6996
|
configuration?: {
|
6997
|
+
name?: {
|
6998
|
+
firstname?: {
|
6999
|
+
required: boolean;
|
7000
|
+
label?: TranslationConfig | undefined;
|
7001
|
+
} | undefined;
|
7002
|
+
surname?: {
|
7003
|
+
required: boolean;
|
7004
|
+
label?: TranslationConfig | undefined;
|
7005
|
+
} | undefined;
|
7006
|
+
middlename?: {
|
7007
|
+
required: boolean;
|
7008
|
+
label?: TranslationConfig | undefined;
|
7009
|
+
} | undefined;
|
7010
|
+
} | undefined;
|
7011
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
6065
7012
|
maxLength?: number | undefined;
|
6066
7013
|
prefix?: TranslationConfig | undefined;
|
6067
7014
|
postfix?: TranslationConfig | undefined;
|
@@ -6096,6 +7043,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6096
7043
|
type: "DISPLAY_ON_REVIEW";
|
6097
7044
|
conditional: import(".").JSONSchema;
|
6098
7045
|
})[] | undefined;
|
7046
|
+
secured?: boolean | undefined;
|
6099
7047
|
placeholder?: {
|
6100
7048
|
id: string;
|
6101
7049
|
description: string;
|
@@ -6108,10 +7056,38 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6108
7056
|
} | undefined;
|
6109
7057
|
hideLabel?: boolean | undefined;
|
6110
7058
|
defaultValue?: {
|
6111
|
-
firstname
|
6112
|
-
surname
|
7059
|
+
firstname?: string | undefined;
|
7060
|
+
surname?: string | undefined;
|
7061
|
+
middlename?: string | undefined;
|
6113
7062
|
} | undefined;
|
6114
7063
|
configuration?: {
|
7064
|
+
name?: {
|
7065
|
+
firstname?: {
|
7066
|
+
required: boolean;
|
7067
|
+
label?: {
|
7068
|
+
id: string;
|
7069
|
+
description: string;
|
7070
|
+
defaultMessage: string;
|
7071
|
+
} | undefined;
|
7072
|
+
} | undefined;
|
7073
|
+
surname?: {
|
7074
|
+
required: boolean;
|
7075
|
+
label?: {
|
7076
|
+
id: string;
|
7077
|
+
description: string;
|
7078
|
+
defaultMessage: string;
|
7079
|
+
} | undefined;
|
7080
|
+
} | undefined;
|
7081
|
+
middlename?: {
|
7082
|
+
required: boolean;
|
7083
|
+
label?: {
|
7084
|
+
id: string;
|
7085
|
+
description: string;
|
7086
|
+
defaultMessage: string;
|
7087
|
+
} | undefined;
|
7088
|
+
} | undefined;
|
7089
|
+
} | undefined;
|
7090
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
6115
7091
|
maxLength?: number | undefined;
|
6116
7092
|
prefix?: {
|
6117
7093
|
id: string;
|
@@ -6135,6 +7111,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6135
7111
|
}>>;
|
6136
7112
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6137
7113
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7114
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6138
7115
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6139
7116
|
id: string;
|
6140
7117
|
description: string;
|
@@ -6194,6 +7171,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6194
7171
|
type: "DISPLAY_ON_REVIEW";
|
6195
7172
|
conditional: import(".").JSONSchema;
|
6196
7173
|
})[] | undefined;
|
7174
|
+
secured?: boolean | undefined;
|
6197
7175
|
placeholder?: TranslationConfig | undefined;
|
6198
7176
|
helperText?: TranslationConfig | undefined;
|
6199
7177
|
hideLabel?: boolean | undefined;
|
@@ -6228,6 +7206,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6228
7206
|
type: "DISPLAY_ON_REVIEW";
|
6229
7207
|
conditional: import(".").JSONSchema;
|
6230
7208
|
})[] | undefined;
|
7209
|
+
secured?: boolean | undefined;
|
6231
7210
|
placeholder?: {
|
6232
7211
|
id: string;
|
6233
7212
|
description: string;
|
@@ -6251,6 +7230,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6251
7230
|
}>>;
|
6252
7231
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6253
7232
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7233
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6254
7234
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6255
7235
|
id: string;
|
6256
7236
|
description: string;
|
@@ -6310,6 +7290,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6310
7290
|
type: "DISPLAY_ON_REVIEW";
|
6311
7291
|
conditional: import(".").JSONSchema;
|
6312
7292
|
})[] | undefined;
|
7293
|
+
secured?: boolean | undefined;
|
6313
7294
|
placeholder?: TranslationConfig | undefined;
|
6314
7295
|
helperText?: TranslationConfig | undefined;
|
6315
7296
|
hideLabel?: boolean | undefined;
|
@@ -6344,6 +7325,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6344
7325
|
type: "DISPLAY_ON_REVIEW";
|
6345
7326
|
conditional: import(".").JSONSchema;
|
6346
7327
|
})[] | undefined;
|
7328
|
+
secured?: boolean | undefined;
|
6347
7329
|
placeholder?: {
|
6348
7330
|
id: string;
|
6349
7331
|
description: string;
|
@@ -6367,6 +7349,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6367
7349
|
}>>;
|
6368
7350
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6369
7351
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7352
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6370
7353
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6371
7354
|
id: string;
|
6372
7355
|
description: string;
|
@@ -6426,6 +7409,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6426
7409
|
type: "DISPLAY_ON_REVIEW";
|
6427
7410
|
conditional: import(".").JSONSchema;
|
6428
7411
|
})[] | undefined;
|
7412
|
+
secured?: boolean | undefined;
|
6429
7413
|
placeholder?: TranslationConfig | undefined;
|
6430
7414
|
helperText?: TranslationConfig | undefined;
|
6431
7415
|
hideLabel?: boolean | undefined;
|
@@ -6460,6 +7444,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6460
7444
|
type: "DISPLAY_ON_REVIEW";
|
6461
7445
|
conditional: import(".").JSONSchema;
|
6462
7446
|
})[] | undefined;
|
7447
|
+
secured?: boolean | undefined;
|
6463
7448
|
placeholder?: {
|
6464
7449
|
id: string;
|
6465
7450
|
description: string;
|
@@ -6483,6 +7468,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6483
7468
|
}>>;
|
6484
7469
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6485
7470
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7471
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6486
7472
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6487
7473
|
id: string;
|
6488
7474
|
description: string;
|
@@ -6520,16 +7506,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6520
7506
|
}, {
|
6521
7507
|
type: z.ZodLiteral<"FILE">;
|
6522
7508
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
6523
|
-
|
7509
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
6524
7510
|
originalFilename: z.ZodString;
|
6525
7511
|
type: z.ZodString;
|
6526
7512
|
}, "strip", z.ZodTypeAny, {
|
6527
7513
|
type: string;
|
6528
|
-
|
7514
|
+
path: string;
|
6529
7515
|
originalFilename: string;
|
6530
7516
|
}, {
|
6531
7517
|
type: string;
|
6532
|
-
|
7518
|
+
path: string;
|
6533
7519
|
originalFilename: string;
|
6534
7520
|
}>>;
|
6535
7521
|
configuration: z.ZodDefault<z.ZodObject<{
|
@@ -6596,12 +7582,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6596
7582
|
type: "DISPLAY_ON_REVIEW";
|
6597
7583
|
conditional: import(".").JSONSchema;
|
6598
7584
|
})[] | undefined;
|
7585
|
+
secured?: boolean | undefined;
|
6599
7586
|
placeholder?: TranslationConfig | undefined;
|
6600
7587
|
helperText?: TranslationConfig | undefined;
|
6601
7588
|
hideLabel?: boolean | undefined;
|
6602
7589
|
defaultValue?: {
|
6603
7590
|
type: string;
|
6604
|
-
|
7591
|
+
path: string;
|
6605
7592
|
originalFilename: string;
|
6606
7593
|
} | undefined;
|
6607
7594
|
}, {
|
@@ -6634,6 +7621,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6634
7621
|
type: "DISPLAY_ON_REVIEW";
|
6635
7622
|
conditional: import(".").JSONSchema;
|
6636
7623
|
})[] | undefined;
|
7624
|
+
secured?: boolean | undefined;
|
6637
7625
|
placeholder?: {
|
6638
7626
|
id: string;
|
6639
7627
|
description: string;
|
@@ -6647,7 +7635,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6647
7635
|
hideLabel?: boolean | undefined;
|
6648
7636
|
defaultValue?: {
|
6649
7637
|
type: string;
|
6650
|
-
|
7638
|
+
path: string;
|
6651
7639
|
originalFilename: string;
|
6652
7640
|
} | undefined;
|
6653
7641
|
configuration?: {
|
@@ -6673,6 +7661,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6673
7661
|
}>>;
|
6674
7662
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6675
7663
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7664
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6676
7665
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6677
7666
|
id: string;
|
6678
7667
|
description: string;
|
@@ -6732,6 +7721,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6732
7721
|
type: "DISPLAY_ON_REVIEW";
|
6733
7722
|
conditional: import(".").JSONSchema;
|
6734
7723
|
})[] | undefined;
|
7724
|
+
secured?: boolean | undefined;
|
6735
7725
|
placeholder?: TranslationConfig | undefined;
|
6736
7726
|
helperText?: TranslationConfig | undefined;
|
6737
7727
|
hideLabel?: boolean | undefined;
|
@@ -6766,6 +7756,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6766
7756
|
type: "DISPLAY_ON_REVIEW";
|
6767
7757
|
conditional: import(".").JSONSchema;
|
6768
7758
|
})[] | undefined;
|
7759
|
+
secured?: boolean | undefined;
|
6769
7760
|
placeholder?: {
|
6770
7761
|
id: string;
|
6771
7762
|
description: string;
|
@@ -6789,6 +7780,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6789
7780
|
}>>;
|
6790
7781
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6791
7782
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7783
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6792
7784
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6793
7785
|
id: string;
|
6794
7786
|
description: string;
|
@@ -6874,6 +7866,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6874
7866
|
type: "DISPLAY_ON_REVIEW";
|
6875
7867
|
conditional: import(".").JSONSchema;
|
6876
7868
|
})[] | undefined;
|
7869
|
+
secured?: boolean | undefined;
|
6877
7870
|
placeholder?: TranslationConfig | undefined;
|
6878
7871
|
helperText?: TranslationConfig | undefined;
|
6879
7872
|
hideLabel?: boolean | undefined;
|
@@ -6914,6 +7907,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6914
7907
|
type: "DISPLAY_ON_REVIEW";
|
6915
7908
|
conditional: import(".").JSONSchema;
|
6916
7909
|
})[] | undefined;
|
7910
|
+
secured?: boolean | undefined;
|
6917
7911
|
placeholder?: {
|
6918
7912
|
id: string;
|
6919
7913
|
description: string;
|
@@ -6937,6 +7931,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6937
7931
|
}>>;
|
6938
7932
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
6939
7933
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7934
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6940
7935
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6941
7936
|
id: string;
|
6942
7937
|
description: string;
|
@@ -6995,6 +7990,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6995
7990
|
type: "DISPLAY_ON_REVIEW";
|
6996
7991
|
conditional: import(".").JSONSchema;
|
6997
7992
|
})[] | undefined;
|
7993
|
+
secured?: boolean | undefined;
|
6998
7994
|
placeholder?: TranslationConfig | undefined;
|
6999
7995
|
helperText?: TranslationConfig | undefined;
|
7000
7996
|
hideLabel?: boolean | undefined;
|
@@ -7028,6 +8024,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7028
8024
|
type: "DISPLAY_ON_REVIEW";
|
7029
8025
|
conditional: import(".").JSONSchema;
|
7030
8026
|
})[] | undefined;
|
8027
|
+
secured?: boolean | undefined;
|
7031
8028
|
placeholder?: {
|
7032
8029
|
id: string;
|
7033
8030
|
description: string;
|
@@ -7050,6 +8047,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7050
8047
|
}>>;
|
7051
8048
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7052
8049
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8050
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7053
8051
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7054
8052
|
id: string;
|
7055
8053
|
description: string;
|
@@ -7087,6 +8085,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7087
8085
|
}, {
|
7088
8086
|
type: z.ZodLiteral<"LOCATION">;
|
7089
8087
|
defaultValue: z.ZodOptional<z.ZodString>;
|
8088
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
8089
|
+
searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
|
8090
|
+
}, "strip", z.ZodTypeAny, {
|
8091
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8092
|
+
}, {
|
8093
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8094
|
+
}>>;
|
7090
8095
|
}>, "strip", z.ZodTypeAny, {
|
7091
8096
|
type: "LOCATION";
|
7092
8097
|
id: string;
|
@@ -7109,10 +8114,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7109
8114
|
type: "DISPLAY_ON_REVIEW";
|
7110
8115
|
conditional: import(".").JSONSchema;
|
7111
8116
|
})[] | undefined;
|
8117
|
+
secured?: boolean | undefined;
|
7112
8118
|
placeholder?: TranslationConfig | undefined;
|
7113
8119
|
helperText?: TranslationConfig | undefined;
|
7114
8120
|
hideLabel?: boolean | undefined;
|
7115
8121
|
defaultValue?: string | undefined;
|
8122
|
+
configuration?: {
|
8123
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8124
|
+
} | undefined;
|
7116
8125
|
}, {
|
7117
8126
|
type: "LOCATION";
|
7118
8127
|
id: string;
|
@@ -7143,6 +8152,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7143
8152
|
type: "DISPLAY_ON_REVIEW";
|
7144
8153
|
conditional: import(".").JSONSchema;
|
7145
8154
|
})[] | undefined;
|
8155
|
+
secured?: boolean | undefined;
|
7146
8156
|
placeholder?: {
|
7147
8157
|
id: string;
|
7148
8158
|
description: string;
|
@@ -7155,6 +8165,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7155
8165
|
} | undefined;
|
7156
8166
|
hideLabel?: boolean | undefined;
|
7157
8167
|
defaultValue?: string | undefined;
|
8168
|
+
configuration?: {
|
8169
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8170
|
+
} | undefined;
|
7158
8171
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7159
8172
|
id: z.ZodString;
|
7160
8173
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -7166,6 +8179,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7166
8179
|
}>>;
|
7167
8180
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7168
8181
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8182
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7169
8183
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7170
8184
|
id: string;
|
7171
8185
|
description: string;
|
@@ -7225,6 +8239,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7225
8239
|
type: "DISPLAY_ON_REVIEW";
|
7226
8240
|
conditional: import(".").JSONSchema;
|
7227
8241
|
})[] | undefined;
|
8242
|
+
secured?: boolean | undefined;
|
7228
8243
|
placeholder?: TranslationConfig | undefined;
|
7229
8244
|
helperText?: TranslationConfig | undefined;
|
7230
8245
|
hideLabel?: boolean | undefined;
|
@@ -7259,6 +8274,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7259
8274
|
type: "DISPLAY_ON_REVIEW";
|
7260
8275
|
conditional: import(".").JSONSchema;
|
7261
8276
|
})[] | undefined;
|
8277
|
+
secured?: boolean | undefined;
|
7262
8278
|
placeholder?: {
|
7263
8279
|
id: string;
|
7264
8280
|
description: string;
|
@@ -7282,6 +8298,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7282
8298
|
}>>;
|
7283
8299
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7284
8300
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8301
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7285
8302
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7286
8303
|
id: string;
|
7287
8304
|
description: string;
|
@@ -7341,6 +8358,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7341
8358
|
type: "DISPLAY_ON_REVIEW";
|
7342
8359
|
conditional: import(".").JSONSchema;
|
7343
8360
|
})[] | undefined;
|
8361
|
+
secured?: boolean | undefined;
|
7344
8362
|
placeholder?: TranslationConfig | undefined;
|
7345
8363
|
helperText?: TranslationConfig | undefined;
|
7346
8364
|
hideLabel?: boolean | undefined;
|
@@ -7375,6 +8393,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7375
8393
|
type: "DISPLAY_ON_REVIEW";
|
7376
8394
|
conditional: import(".").JSONSchema;
|
7377
8395
|
})[] | undefined;
|
8396
|
+
secured?: boolean | undefined;
|
7378
8397
|
placeholder?: {
|
7379
8398
|
id: string;
|
7380
8399
|
description: string;
|
@@ -7398,6 +8417,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7398
8417
|
}>>;
|
7399
8418
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7400
8419
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8420
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7401
8421
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7402
8422
|
id: string;
|
7403
8423
|
description: string;
|
@@ -7477,6 +8497,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7477
8497
|
type: "DISPLAY_ON_REVIEW";
|
7478
8498
|
conditional: import(".").JSONSchema;
|
7479
8499
|
})[] | undefined;
|
8500
|
+
secured?: boolean | undefined;
|
7480
8501
|
placeholder?: TranslationConfig | undefined;
|
7481
8502
|
helperText?: TranslationConfig | undefined;
|
7482
8503
|
hideLabel?: boolean | undefined;
|
@@ -7516,6 +8537,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7516
8537
|
type: "DISPLAY_ON_REVIEW";
|
7517
8538
|
conditional: import(".").JSONSchema;
|
7518
8539
|
})[] | undefined;
|
8540
|
+
secured?: boolean | undefined;
|
7519
8541
|
placeholder?: {
|
7520
8542
|
id: string;
|
7521
8543
|
description: string;
|
@@ -7543,6 +8565,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7543
8565
|
}>>;
|
7544
8566
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7545
8567
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8568
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7546
8569
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7547
8570
|
id: string;
|
7548
8571
|
description: string;
|
@@ -7609,6 +8632,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7609
8632
|
type: "DISPLAY_ON_REVIEW";
|
7610
8633
|
conditional: import(".").JSONSchema;
|
7611
8634
|
})[] | undefined;
|
8635
|
+
secured?: boolean | undefined;
|
7612
8636
|
placeholder?: TranslationConfig | undefined;
|
7613
8637
|
helperText?: TranslationConfig | undefined;
|
7614
8638
|
hideLabel?: boolean | undefined;
|
@@ -7646,6 +8670,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7646
8670
|
type: "DISPLAY_ON_REVIEW";
|
7647
8671
|
conditional: import(".").JSONSchema;
|
7648
8672
|
})[] | undefined;
|
8673
|
+
secured?: boolean | undefined;
|
7649
8674
|
placeholder?: {
|
7650
8675
|
id: string;
|
7651
8676
|
description: string;
|
@@ -7672,6 +8697,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7672
8697
|
}>>;
|
7673
8698
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7674
8699
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8700
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7675
8701
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7676
8702
|
id: string;
|
7677
8703
|
description: string;
|
@@ -7727,19 +8753,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7727
8753
|
};
|
7728
8754
|
}>, "many">;
|
7729
8755
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7730
|
-
|
8756
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
7731
8757
|
originalFilename: z.ZodString;
|
7732
8758
|
type: z.ZodString;
|
7733
8759
|
option: z.ZodString;
|
7734
8760
|
}, "strip", z.ZodTypeAny, {
|
7735
8761
|
type: string;
|
7736
8762
|
option: string;
|
7737
|
-
|
8763
|
+
path: string;
|
7738
8764
|
originalFilename: string;
|
7739
8765
|
}, {
|
7740
8766
|
type: string;
|
7741
8767
|
option: string;
|
7742
|
-
|
8768
|
+
path: string;
|
7743
8769
|
originalFilename: string;
|
7744
8770
|
}>, "many">>;
|
7745
8771
|
configuration: z.ZodDefault<z.ZodObject<{
|
@@ -7782,13 +8808,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7782
8808
|
type: "DISPLAY_ON_REVIEW";
|
7783
8809
|
conditional: import(".").JSONSchema;
|
7784
8810
|
})[] | undefined;
|
8811
|
+
secured?: boolean | undefined;
|
7785
8812
|
placeholder?: TranslationConfig | undefined;
|
7786
8813
|
helperText?: TranslationConfig | undefined;
|
7787
8814
|
hideLabel?: boolean | undefined;
|
7788
8815
|
defaultValue?: {
|
7789
8816
|
type: string;
|
7790
8817
|
option: string;
|
7791
|
-
|
8818
|
+
path: string;
|
7792
8819
|
originalFilename: string;
|
7793
8820
|
}[] | undefined;
|
7794
8821
|
}, {
|
@@ -7829,6 +8856,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7829
8856
|
type: "DISPLAY_ON_REVIEW";
|
7830
8857
|
conditional: import(".").JSONSchema;
|
7831
8858
|
})[] | undefined;
|
8859
|
+
secured?: boolean | undefined;
|
7832
8860
|
placeholder?: {
|
7833
8861
|
id: string;
|
7834
8862
|
description: string;
|
@@ -7843,7 +8871,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7843
8871
|
defaultValue?: {
|
7844
8872
|
type: string;
|
7845
8873
|
option: string;
|
7846
|
-
|
8874
|
+
path: string;
|
7847
8875
|
originalFilename: string;
|
7848
8876
|
}[] | undefined;
|
7849
8877
|
configuration?: {
|
@@ -7861,6 +8889,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7861
8889
|
}>>;
|
7862
8890
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7863
8891
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8892
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7864
8893
|
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7865
8894
|
id: string;
|
7866
8895
|
description: string;
|
@@ -7995,6 +9024,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7995
9024
|
type: "DISPLAY_ON_REVIEW";
|
7996
9025
|
conditional: import(".").JSONSchema;
|
7997
9026
|
})[] | undefined;
|
9027
|
+
secured?: boolean | undefined;
|
7998
9028
|
placeholder?: TranslationConfig | undefined;
|
7999
9029
|
helperText?: TranslationConfig | undefined;
|
8000
9030
|
hideLabel?: boolean | undefined;
|
@@ -8049,6 +9079,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8049
9079
|
type: "DISPLAY_ON_REVIEW";
|
8050
9080
|
conditional: import(".").JSONSchema;
|
8051
9081
|
})[] | undefined;
|
9082
|
+
secured?: boolean | undefined;
|
8052
9083
|
placeholder?: {
|
8053
9084
|
id: string;
|
8054
9085
|
description: string;
|
@@ -8069,11 +9100,548 @@ export type LocationField = z.infer<typeof Location>;
|
|
8069
9100
|
export type RadioField = z.infer<typeof RadioGroup>;
|
8070
9101
|
export type AddressField = z.infer<typeof Address>;
|
8071
9102
|
export type NumberField = z.infer<typeof NumberField>;
|
8072
|
-
export type FieldConfig = Inferred;
|
8073
9103
|
export type FieldProps<T extends FieldType> = Extract<FieldConfig, {
|
8074
9104
|
type: T;
|
8075
9105
|
}>;
|
8076
9106
|
export type SelectOption = z.infer<typeof SelectOption>;
|
8077
9107
|
export type AdministrativeAreaConfiguration = z.infer<typeof AdministrativeAreaConfiguration>;
|
9108
|
+
/**
|
9109
|
+
* Union of file-related fields. Using common type should help with compiler to know where to add new cases.
|
9110
|
+
*/
|
9111
|
+
export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
9112
|
+
id: z.ZodString;
|
9113
|
+
parent: z.ZodOptional<z.ZodObject<{
|
9114
|
+
$$field: z.ZodString;
|
9115
|
+
}, "strip", z.ZodTypeAny, {
|
9116
|
+
$$field: string;
|
9117
|
+
}, {
|
9118
|
+
$$field: string;
|
9119
|
+
}>>;
|
9120
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
9121
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9122
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9123
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9124
|
+
id: string;
|
9125
|
+
description: string;
|
9126
|
+
defaultMessage: string;
|
9127
|
+
}>>;
|
9128
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
9129
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
9130
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9131
|
+
id: string;
|
9132
|
+
description: string;
|
9133
|
+
defaultMessage: string;
|
9134
|
+
}>;
|
9135
|
+
}, "strip", z.ZodTypeAny, {
|
9136
|
+
message: TranslationConfig;
|
9137
|
+
validator: import(".").JSONSchema;
|
9138
|
+
}, {
|
9139
|
+
message: {
|
9140
|
+
id: string;
|
9141
|
+
description: string;
|
9142
|
+
defaultMessage: string;
|
9143
|
+
};
|
9144
|
+
validator: import(".").JSONSchema;
|
9145
|
+
}>, "many">>>;
|
9146
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9147
|
+
id: string;
|
9148
|
+
description: string;
|
9149
|
+
defaultMessage: string;
|
9150
|
+
}>;
|
9151
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9152
|
+
id: string;
|
9153
|
+
description: string;
|
9154
|
+
defaultMessage: string;
|
9155
|
+
}>>;
|
9156
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9157
|
+
}, {
|
9158
|
+
type: z.ZodLiteral<"SIGNATURE">;
|
9159
|
+
signaturePromptLabel: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9160
|
+
id: string;
|
9161
|
+
description: string;
|
9162
|
+
defaultMessage: string;
|
9163
|
+
}>;
|
9164
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
9165
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
9166
|
+
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
9167
|
+
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
9168
|
+
}, "strip", z.ZodTypeAny, {
|
9169
|
+
maxFileSize: number;
|
9170
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9171
|
+
}, {
|
9172
|
+
maxFileSize?: number | undefined;
|
9173
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9174
|
+
}>>;
|
9175
|
+
}>, "strip", z.ZodTypeAny, {
|
9176
|
+
type: "SIGNATURE";
|
9177
|
+
id: string;
|
9178
|
+
label: TranslationConfig;
|
9179
|
+
configuration: {
|
9180
|
+
maxFileSize: number;
|
9181
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9182
|
+
};
|
9183
|
+
signaturePromptLabel: TranslationConfig;
|
9184
|
+
parent?: {
|
9185
|
+
$$field: string;
|
9186
|
+
} | undefined;
|
9187
|
+
validation?: {
|
9188
|
+
message: TranslationConfig;
|
9189
|
+
validator: import(".").JSONSchema;
|
9190
|
+
}[] | undefined;
|
9191
|
+
required?: boolean | undefined;
|
9192
|
+
conditionals?: ({
|
9193
|
+
type: "SHOW";
|
9194
|
+
conditional: import(".").JSONSchema;
|
9195
|
+
} | {
|
9196
|
+
type: "ENABLE";
|
9197
|
+
conditional: import(".").JSONSchema;
|
9198
|
+
} | {
|
9199
|
+
type: "DISPLAY_ON_REVIEW";
|
9200
|
+
conditional: import(".").JSONSchema;
|
9201
|
+
})[] | undefined;
|
9202
|
+
secured?: boolean | undefined;
|
9203
|
+
placeholder?: TranslationConfig | undefined;
|
9204
|
+
helperText?: TranslationConfig | undefined;
|
9205
|
+
hideLabel?: boolean | undefined;
|
9206
|
+
defaultValue?: string | undefined;
|
9207
|
+
}, {
|
9208
|
+
type: "SIGNATURE";
|
9209
|
+
id: string;
|
9210
|
+
label: {
|
9211
|
+
id: string;
|
9212
|
+
description: string;
|
9213
|
+
defaultMessage: string;
|
9214
|
+
};
|
9215
|
+
signaturePromptLabel: {
|
9216
|
+
id: string;
|
9217
|
+
description: string;
|
9218
|
+
defaultMessage: string;
|
9219
|
+
};
|
9220
|
+
parent?: {
|
9221
|
+
$$field: string;
|
9222
|
+
} | undefined;
|
9223
|
+
validation?: {
|
9224
|
+
message: {
|
9225
|
+
id: string;
|
9226
|
+
description: string;
|
9227
|
+
defaultMessage: string;
|
9228
|
+
};
|
9229
|
+
validator: import(".").JSONSchema;
|
9230
|
+
}[] | undefined;
|
9231
|
+
required?: boolean | undefined;
|
9232
|
+
conditionals?: ({
|
9233
|
+
type: "SHOW";
|
9234
|
+
conditional: import(".").JSONSchema;
|
9235
|
+
} | {
|
9236
|
+
type: "ENABLE";
|
9237
|
+
conditional: import(".").JSONSchema;
|
9238
|
+
} | {
|
9239
|
+
type: "DISPLAY_ON_REVIEW";
|
9240
|
+
conditional: import(".").JSONSchema;
|
9241
|
+
})[] | undefined;
|
9242
|
+
secured?: boolean | undefined;
|
9243
|
+
placeholder?: {
|
9244
|
+
id: string;
|
9245
|
+
description: string;
|
9246
|
+
defaultMessage: string;
|
9247
|
+
} | undefined;
|
9248
|
+
helperText?: {
|
9249
|
+
id: string;
|
9250
|
+
description: string;
|
9251
|
+
defaultMessage: string;
|
9252
|
+
} | undefined;
|
9253
|
+
hideLabel?: boolean | undefined;
|
9254
|
+
defaultValue?: string | undefined;
|
9255
|
+
configuration?: {
|
9256
|
+
maxFileSize?: number | undefined;
|
9257
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9258
|
+
} | undefined;
|
9259
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9260
|
+
id: z.ZodString;
|
9261
|
+
parent: z.ZodOptional<z.ZodObject<{
|
9262
|
+
$$field: z.ZodString;
|
9263
|
+
}, "strip", z.ZodTypeAny, {
|
9264
|
+
$$field: string;
|
9265
|
+
}, {
|
9266
|
+
$$field: string;
|
9267
|
+
}>>;
|
9268
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
9269
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9270
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9271
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9272
|
+
id: string;
|
9273
|
+
description: string;
|
9274
|
+
defaultMessage: string;
|
9275
|
+
}>>;
|
9276
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
9277
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
9278
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9279
|
+
id: string;
|
9280
|
+
description: string;
|
9281
|
+
defaultMessage: string;
|
9282
|
+
}>;
|
9283
|
+
}, "strip", z.ZodTypeAny, {
|
9284
|
+
message: TranslationConfig;
|
9285
|
+
validator: import(".").JSONSchema;
|
9286
|
+
}, {
|
9287
|
+
message: {
|
9288
|
+
id: string;
|
9289
|
+
description: string;
|
9290
|
+
defaultMessage: string;
|
9291
|
+
};
|
9292
|
+
validator: import(".").JSONSchema;
|
9293
|
+
}>, "many">>>;
|
9294
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9295
|
+
id: string;
|
9296
|
+
description: string;
|
9297
|
+
defaultMessage: string;
|
9298
|
+
}>;
|
9299
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9300
|
+
id: string;
|
9301
|
+
description: string;
|
9302
|
+
defaultMessage: string;
|
9303
|
+
}>>;
|
9304
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9305
|
+
}, {
|
9306
|
+
type: z.ZodLiteral<"FILE">;
|
9307
|
+
defaultValue: z.ZodOptional<z.ZodObject<{
|
9308
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
9309
|
+
originalFilename: z.ZodString;
|
9310
|
+
type: z.ZodString;
|
9311
|
+
}, "strip", z.ZodTypeAny, {
|
9312
|
+
type: string;
|
9313
|
+
path: string;
|
9314
|
+
originalFilename: string;
|
9315
|
+
}, {
|
9316
|
+
type: string;
|
9317
|
+
path: string;
|
9318
|
+
originalFilename: string;
|
9319
|
+
}>>;
|
9320
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
9321
|
+
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
9322
|
+
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
9323
|
+
style: z.ZodOptional<z.ZodObject<{
|
9324
|
+
width: z.ZodOptional<z.ZodEnum<["full", "auto"]>>;
|
9325
|
+
}, "strip", z.ZodTypeAny, {
|
9326
|
+
width?: "full" | "auto" | undefined;
|
9327
|
+
}, {
|
9328
|
+
width?: "full" | "auto" | undefined;
|
9329
|
+
}>>;
|
9330
|
+
fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9331
|
+
id: string;
|
9332
|
+
description: string;
|
9333
|
+
defaultMessage: string;
|
9334
|
+
}>>;
|
9335
|
+
}, "strip", z.ZodTypeAny, {
|
9336
|
+
maxFileSize: number;
|
9337
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9338
|
+
style?: {
|
9339
|
+
width?: "full" | "auto" | undefined;
|
9340
|
+
} | undefined;
|
9341
|
+
fileName?: TranslationConfig | undefined;
|
9342
|
+
}, {
|
9343
|
+
maxFileSize?: number | undefined;
|
9344
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9345
|
+
style?: {
|
9346
|
+
width?: "full" | "auto" | undefined;
|
9347
|
+
} | undefined;
|
9348
|
+
fileName?: {
|
9349
|
+
id: string;
|
9350
|
+
description: string;
|
9351
|
+
defaultMessage: string;
|
9352
|
+
} | undefined;
|
9353
|
+
}>>;
|
9354
|
+
}>, "strip", z.ZodTypeAny, {
|
9355
|
+
type: "FILE";
|
9356
|
+
id: string;
|
9357
|
+
label: TranslationConfig;
|
9358
|
+
configuration: {
|
9359
|
+
maxFileSize: number;
|
9360
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9361
|
+
style?: {
|
9362
|
+
width?: "full" | "auto" | undefined;
|
9363
|
+
} | undefined;
|
9364
|
+
fileName?: TranslationConfig | undefined;
|
9365
|
+
};
|
9366
|
+
parent?: {
|
9367
|
+
$$field: string;
|
9368
|
+
} | undefined;
|
9369
|
+
validation?: {
|
9370
|
+
message: TranslationConfig;
|
9371
|
+
validator: import(".").JSONSchema;
|
9372
|
+
}[] | undefined;
|
9373
|
+
required?: boolean | undefined;
|
9374
|
+
conditionals?: ({
|
9375
|
+
type: "SHOW";
|
9376
|
+
conditional: import(".").JSONSchema;
|
9377
|
+
} | {
|
9378
|
+
type: "ENABLE";
|
9379
|
+
conditional: import(".").JSONSchema;
|
9380
|
+
} | {
|
9381
|
+
type: "DISPLAY_ON_REVIEW";
|
9382
|
+
conditional: import(".").JSONSchema;
|
9383
|
+
})[] | undefined;
|
9384
|
+
secured?: boolean | undefined;
|
9385
|
+
placeholder?: TranslationConfig | undefined;
|
9386
|
+
helperText?: TranslationConfig | undefined;
|
9387
|
+
hideLabel?: boolean | undefined;
|
9388
|
+
defaultValue?: {
|
9389
|
+
type: string;
|
9390
|
+
path: string;
|
9391
|
+
originalFilename: string;
|
9392
|
+
} | undefined;
|
9393
|
+
}, {
|
9394
|
+
type: "FILE";
|
9395
|
+
id: string;
|
9396
|
+
label: {
|
9397
|
+
id: string;
|
9398
|
+
description: string;
|
9399
|
+
defaultMessage: string;
|
9400
|
+
};
|
9401
|
+
parent?: {
|
9402
|
+
$$field: string;
|
9403
|
+
} | undefined;
|
9404
|
+
validation?: {
|
9405
|
+
message: {
|
9406
|
+
id: string;
|
9407
|
+
description: string;
|
9408
|
+
defaultMessage: string;
|
9409
|
+
};
|
9410
|
+
validator: import(".").JSONSchema;
|
9411
|
+
}[] | undefined;
|
9412
|
+
required?: boolean | undefined;
|
9413
|
+
conditionals?: ({
|
9414
|
+
type: "SHOW";
|
9415
|
+
conditional: import(".").JSONSchema;
|
9416
|
+
} | {
|
9417
|
+
type: "ENABLE";
|
9418
|
+
conditional: import(".").JSONSchema;
|
9419
|
+
} | {
|
9420
|
+
type: "DISPLAY_ON_REVIEW";
|
9421
|
+
conditional: import(".").JSONSchema;
|
9422
|
+
})[] | undefined;
|
9423
|
+
secured?: boolean | undefined;
|
9424
|
+
placeholder?: {
|
9425
|
+
id: string;
|
9426
|
+
description: string;
|
9427
|
+
defaultMessage: string;
|
9428
|
+
} | undefined;
|
9429
|
+
helperText?: {
|
9430
|
+
id: string;
|
9431
|
+
description: string;
|
9432
|
+
defaultMessage: string;
|
9433
|
+
} | undefined;
|
9434
|
+
hideLabel?: boolean | undefined;
|
9435
|
+
defaultValue?: {
|
9436
|
+
type: string;
|
9437
|
+
path: string;
|
9438
|
+
originalFilename: string;
|
9439
|
+
} | undefined;
|
9440
|
+
configuration?: {
|
9441
|
+
maxFileSize?: number | undefined;
|
9442
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9443
|
+
style?: {
|
9444
|
+
width?: "full" | "auto" | undefined;
|
9445
|
+
} | undefined;
|
9446
|
+
fileName?: {
|
9447
|
+
id: string;
|
9448
|
+
description: string;
|
9449
|
+
defaultMessage: string;
|
9450
|
+
} | undefined;
|
9451
|
+
} | undefined;
|
9452
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9453
|
+
id: z.ZodString;
|
9454
|
+
parent: z.ZodOptional<z.ZodObject<{
|
9455
|
+
$$field: z.ZodString;
|
9456
|
+
}, "strip", z.ZodTypeAny, {
|
9457
|
+
$$field: string;
|
9458
|
+
}, {
|
9459
|
+
$$field: string;
|
9460
|
+
}>>;
|
9461
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
9462
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9463
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9464
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9465
|
+
id: string;
|
9466
|
+
description: string;
|
9467
|
+
defaultMessage: string;
|
9468
|
+
}>>;
|
9469
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
9470
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
9471
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9472
|
+
id: string;
|
9473
|
+
description: string;
|
9474
|
+
defaultMessage: string;
|
9475
|
+
}>;
|
9476
|
+
}, "strip", z.ZodTypeAny, {
|
9477
|
+
message: TranslationConfig;
|
9478
|
+
validator: import(".").JSONSchema;
|
9479
|
+
}, {
|
9480
|
+
message: {
|
9481
|
+
id: string;
|
9482
|
+
description: string;
|
9483
|
+
defaultMessage: string;
|
9484
|
+
};
|
9485
|
+
validator: import(".").JSONSchema;
|
9486
|
+
}>, "many">>>;
|
9487
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9488
|
+
id: string;
|
9489
|
+
description: string;
|
9490
|
+
defaultMessage: string;
|
9491
|
+
}>;
|
9492
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9493
|
+
id: string;
|
9494
|
+
description: string;
|
9495
|
+
defaultMessage: string;
|
9496
|
+
}>>;
|
9497
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9498
|
+
}, {
|
9499
|
+
type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
|
9500
|
+
options: z.ZodArray<z.ZodObject<{
|
9501
|
+
value: z.ZodString;
|
9502
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9503
|
+
id: string;
|
9504
|
+
description: string;
|
9505
|
+
defaultMessage: string;
|
9506
|
+
}>;
|
9507
|
+
}, "strip", z.ZodTypeAny, {
|
9508
|
+
value: string;
|
9509
|
+
label: TranslationConfig;
|
9510
|
+
}, {
|
9511
|
+
value: string;
|
9512
|
+
label: {
|
9513
|
+
id: string;
|
9514
|
+
description: string;
|
9515
|
+
defaultMessage: string;
|
9516
|
+
};
|
9517
|
+
}>, "many">;
|
9518
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
9519
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
9520
|
+
originalFilename: z.ZodString;
|
9521
|
+
type: z.ZodString;
|
9522
|
+
option: z.ZodString;
|
9523
|
+
}, "strip", z.ZodTypeAny, {
|
9524
|
+
type: string;
|
9525
|
+
option: string;
|
9526
|
+
path: string;
|
9527
|
+
originalFilename: string;
|
9528
|
+
}, {
|
9529
|
+
type: string;
|
9530
|
+
option: string;
|
9531
|
+
path: string;
|
9532
|
+
originalFilename: string;
|
9533
|
+
}>, "many">>;
|
9534
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
9535
|
+
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
9536
|
+
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
9537
|
+
}, "strip", z.ZodTypeAny, {
|
9538
|
+
maxFileSize: number;
|
9539
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9540
|
+
}, {
|
9541
|
+
maxFileSize?: number | undefined;
|
9542
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9543
|
+
}>>;
|
9544
|
+
}>, "strip", z.ZodTypeAny, {
|
9545
|
+
type: "FILE_WITH_OPTIONS";
|
9546
|
+
id: string;
|
9547
|
+
options: {
|
9548
|
+
value: string;
|
9549
|
+
label: TranslationConfig;
|
9550
|
+
}[];
|
9551
|
+
label: TranslationConfig;
|
9552
|
+
configuration: {
|
9553
|
+
maxFileSize: number;
|
9554
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9555
|
+
};
|
9556
|
+
parent?: {
|
9557
|
+
$$field: string;
|
9558
|
+
} | undefined;
|
9559
|
+
validation?: {
|
9560
|
+
message: TranslationConfig;
|
9561
|
+
validator: import(".").JSONSchema;
|
9562
|
+
}[] | undefined;
|
9563
|
+
required?: boolean | undefined;
|
9564
|
+
conditionals?: ({
|
9565
|
+
type: "SHOW";
|
9566
|
+
conditional: import(".").JSONSchema;
|
9567
|
+
} | {
|
9568
|
+
type: "ENABLE";
|
9569
|
+
conditional: import(".").JSONSchema;
|
9570
|
+
} | {
|
9571
|
+
type: "DISPLAY_ON_REVIEW";
|
9572
|
+
conditional: import(".").JSONSchema;
|
9573
|
+
})[] | undefined;
|
9574
|
+
secured?: boolean | undefined;
|
9575
|
+
placeholder?: TranslationConfig | undefined;
|
9576
|
+
helperText?: TranslationConfig | undefined;
|
9577
|
+
hideLabel?: boolean | undefined;
|
9578
|
+
defaultValue?: {
|
9579
|
+
type: string;
|
9580
|
+
option: string;
|
9581
|
+
path: string;
|
9582
|
+
originalFilename: string;
|
9583
|
+
}[] | undefined;
|
9584
|
+
}, {
|
9585
|
+
type: "FILE_WITH_OPTIONS";
|
9586
|
+
id: string;
|
9587
|
+
options: {
|
9588
|
+
value: string;
|
9589
|
+
label: {
|
9590
|
+
id: string;
|
9591
|
+
description: string;
|
9592
|
+
defaultMessage: string;
|
9593
|
+
};
|
9594
|
+
}[];
|
9595
|
+
label: {
|
9596
|
+
id: string;
|
9597
|
+
description: string;
|
9598
|
+
defaultMessage: string;
|
9599
|
+
};
|
9600
|
+
parent?: {
|
9601
|
+
$$field: string;
|
9602
|
+
} | undefined;
|
9603
|
+
validation?: {
|
9604
|
+
message: {
|
9605
|
+
id: string;
|
9606
|
+
description: string;
|
9607
|
+
defaultMessage: string;
|
9608
|
+
};
|
9609
|
+
validator: import(".").JSONSchema;
|
9610
|
+
}[] | undefined;
|
9611
|
+
required?: boolean | undefined;
|
9612
|
+
conditionals?: ({
|
9613
|
+
type: "SHOW";
|
9614
|
+
conditional: import(".").JSONSchema;
|
9615
|
+
} | {
|
9616
|
+
type: "ENABLE";
|
9617
|
+
conditional: import(".").JSONSchema;
|
9618
|
+
} | {
|
9619
|
+
type: "DISPLAY_ON_REVIEW";
|
9620
|
+
conditional: import(".").JSONSchema;
|
9621
|
+
})[] | undefined;
|
9622
|
+
secured?: boolean | undefined;
|
9623
|
+
placeholder?: {
|
9624
|
+
id: string;
|
9625
|
+
description: string;
|
9626
|
+
defaultMessage: string;
|
9627
|
+
} | undefined;
|
9628
|
+
helperText?: {
|
9629
|
+
id: string;
|
9630
|
+
description: string;
|
9631
|
+
defaultMessage: string;
|
9632
|
+
} | undefined;
|
9633
|
+
hideLabel?: boolean | undefined;
|
9634
|
+
defaultValue?: {
|
9635
|
+
type: string;
|
9636
|
+
option: string;
|
9637
|
+
path: string;
|
9638
|
+
originalFilename: string;
|
9639
|
+
}[] | undefined;
|
9640
|
+
configuration?: {
|
9641
|
+
maxFileSize?: number | undefined;
|
9642
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9643
|
+
} | undefined;
|
9644
|
+
}>]>;
|
9645
|
+
export type AnyFileField = z.infer<typeof AnyFileField>;
|
8078
9646
|
export {};
|
8079
9647
|
//# sourceMappingURL=FieldConfig.d.ts.map
|