@opencrvs/toolkit 1.8.0-rc.f876361 → 1.8.0-rc.f8a9481
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 +393 -1324
- package/dist/commons/conditionals/conditionals.d.ts +15 -8
- package/dist/commons/conditionals/validate.d.ts +12 -17
- package/dist/commons/events/ActionDocument.d.ts +214 -2
- package/dist/commons/events/ActionInput.d.ts +1135 -232
- package/dist/commons/events/ActionType.d.ts +5 -3
- package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
- package/dist/commons/events/Conditional.d.ts +21 -5
- package/dist/commons/events/Draft.d.ts +27 -10
- package/dist/commons/events/EventConfig.d.ts +153 -68
- package/dist/commons/events/EventDocument.d.ts +165 -1
- package/dist/commons/events/EventIndex.d.ts +6 -0
- package/dist/commons/events/EventMetadata.d.ts +6 -0
- package/dist/commons/events/FieldConfig.d.ts +212 -33
- package/dist/commons/events/PageConfig.d.ts +0 -24
- package/dist/commons/events/SummaryConfig.d.ts +93 -7
- package/dist/commons/events/TemplateConfig.d.ts +5 -5
- package/dist/commons/events/User.d.ts +5 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +44 -20
- package/dist/commons/events/defineConfig.d.ts +13 -8
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/scopes.d.ts +25 -0
- package/dist/commons/events/test.utils.d.ts +20 -112
- package/dist/commons/events/utils.d.ts +65 -56
- package/dist/commons/events/utils.test.d.ts +2 -0
- package/dist/conditionals/index.js +131 -151
- package/dist/events/index.js +1037 -783
- package/package.json +1 -1
@@ -13,7 +13,7 @@ declare const BaseField: z.ZodObject<{
|
|
13
13
|
expression: string;
|
14
14
|
dependsOn?: string[] | undefined;
|
15
15
|
}>]>>;
|
16
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
16
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
17
17
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
18
18
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
19
19
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -66,6 +66,9 @@ declare const BaseField: z.ZodObject<{
|
|
66
66
|
} | {
|
67
67
|
type: "ENABLE";
|
68
68
|
conditional: import(".").JSONSchema;
|
69
|
+
} | {
|
70
|
+
type: "DISPLAY_ON_REVIEW";
|
71
|
+
conditional: import(".").JSONSchema;
|
69
72
|
})[] | undefined;
|
70
73
|
disabled?: boolean | undefined;
|
71
74
|
hidden?: boolean | undefined;
|
@@ -98,6 +101,9 @@ declare const BaseField: z.ZodObject<{
|
|
98
101
|
} | {
|
99
102
|
type: "ENABLE";
|
100
103
|
conditional: import(".").JSONSchema;
|
104
|
+
} | {
|
105
|
+
type: "DISPLAY_ON_REVIEW";
|
106
|
+
conditional: import(".").JSONSchema;
|
101
107
|
})[] | undefined;
|
102
108
|
disabled?: boolean | undefined;
|
103
109
|
hidden?: boolean | undefined;
|
@@ -121,7 +127,7 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
121
127
|
expression: string;
|
122
128
|
dependsOn?: string[] | undefined;
|
123
129
|
}>]>>;
|
124
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
130
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
125
131
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
126
132
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
127
133
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -177,6 +183,9 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
177
183
|
} | {
|
178
184
|
type: "ENABLE";
|
179
185
|
conditional: import(".").JSONSchema;
|
186
|
+
} | {
|
187
|
+
type: "DISPLAY_ON_REVIEW";
|
188
|
+
conditional: import(".").JSONSchema;
|
180
189
|
})[] | undefined;
|
181
190
|
disabled?: boolean | undefined;
|
182
191
|
hidden?: boolean | undefined;
|
@@ -210,6 +219,9 @@ declare const Divider: z.ZodObject<z.objectUtil.extendShape<{
|
|
210
219
|
} | {
|
211
220
|
type: "ENABLE";
|
212
221
|
conditional: import(".").JSONSchema;
|
222
|
+
} | {
|
223
|
+
type: "DISPLAY_ON_REVIEW";
|
224
|
+
conditional: import(".").JSONSchema;
|
213
225
|
})[] | undefined;
|
214
226
|
disabled?: boolean | undefined;
|
215
227
|
hidden?: boolean | undefined;
|
@@ -233,7 +245,7 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
233
245
|
expression: string;
|
234
246
|
dependsOn?: string[] | undefined;
|
235
247
|
}>]>>;
|
236
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
248
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
237
249
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
238
250
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
239
251
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -331,6 +343,9 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
331
343
|
} | {
|
332
344
|
type: "ENABLE";
|
333
345
|
conditional: import(".").JSONSchema;
|
346
|
+
} | {
|
347
|
+
type: "DISPLAY_ON_REVIEW";
|
348
|
+
conditional: import(".").JSONSchema;
|
334
349
|
})[] | undefined;
|
335
350
|
disabled?: boolean | undefined;
|
336
351
|
hidden?: boolean | undefined;
|
@@ -370,6 +385,9 @@ declare const TextField: z.ZodObject<z.objectUtil.extendShape<{
|
|
370
385
|
} | {
|
371
386
|
type: "ENABLE";
|
372
387
|
conditional: import(".").JSONSchema;
|
388
|
+
} | {
|
389
|
+
type: "DISPLAY_ON_REVIEW";
|
390
|
+
conditional: import(".").JSONSchema;
|
373
391
|
})[] | undefined;
|
374
392
|
disabled?: boolean | undefined;
|
375
393
|
hidden?: boolean | undefined;
|
@@ -407,7 +425,7 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
407
425
|
expression: string;
|
408
426
|
dependsOn?: string[] | undefined;
|
409
427
|
}>]>>;
|
410
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
428
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
411
429
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
412
430
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
413
431
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -505,6 +523,9 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
505
523
|
} | {
|
506
524
|
type: "ENABLE";
|
507
525
|
conditional: import(".").JSONSchema;
|
526
|
+
} | {
|
527
|
+
type: "DISPLAY_ON_REVIEW";
|
528
|
+
conditional: import(".").JSONSchema;
|
508
529
|
})[] | undefined;
|
509
530
|
disabled?: boolean | undefined;
|
510
531
|
hidden?: boolean | undefined;
|
@@ -544,6 +565,9 @@ declare const NumberField: z.ZodObject<z.objectUtil.extendShape<{
|
|
544
565
|
} | {
|
545
566
|
type: "ENABLE";
|
546
567
|
conditional: import(".").JSONSchema;
|
568
|
+
} | {
|
569
|
+
type: "DISPLAY_ON_REVIEW";
|
570
|
+
conditional: import(".").JSONSchema;
|
547
571
|
})[] | undefined;
|
548
572
|
disabled?: boolean | undefined;
|
549
573
|
hidden?: boolean | undefined;
|
@@ -580,7 +604,7 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
580
604
|
expression: string;
|
581
605
|
dependsOn?: string[] | undefined;
|
582
606
|
}>]>>;
|
583
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
607
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
584
608
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
585
609
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
586
610
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -681,6 +705,9 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
681
705
|
} | {
|
682
706
|
type: "ENABLE";
|
683
707
|
conditional: import(".").JSONSchema;
|
708
|
+
} | {
|
709
|
+
type: "DISPLAY_ON_REVIEW";
|
710
|
+
conditional: import(".").JSONSchema;
|
684
711
|
})[] | undefined;
|
685
712
|
disabled?: boolean | undefined;
|
686
713
|
hidden?: boolean | undefined;
|
@@ -721,6 +748,9 @@ declare const TextAreaField: z.ZodObject<z.objectUtil.extendShape<{
|
|
721
748
|
} | {
|
722
749
|
type: "ENABLE";
|
723
750
|
conditional: import(".").JSONSchema;
|
751
|
+
} | {
|
752
|
+
type: "DISPLAY_ON_REVIEW";
|
753
|
+
conditional: import(".").JSONSchema;
|
724
754
|
})[] | undefined;
|
725
755
|
disabled?: boolean | undefined;
|
726
756
|
hidden?: boolean | undefined;
|
@@ -762,7 +792,7 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
762
792
|
expression: string;
|
763
793
|
dependsOn?: string[] | undefined;
|
764
794
|
}>]>>;
|
765
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
795
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
766
796
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
767
797
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
768
798
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -838,6 +868,9 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
838
868
|
} | {
|
839
869
|
type: "ENABLE";
|
840
870
|
conditional: import(".").JSONSchema;
|
871
|
+
} | {
|
872
|
+
type: "DISPLAY_ON_REVIEW";
|
873
|
+
conditional: import(".").JSONSchema;
|
841
874
|
})[] | undefined;
|
842
875
|
disabled?: boolean | undefined;
|
843
876
|
hidden?: boolean | undefined;
|
@@ -876,6 +909,9 @@ declare const SignatureField: z.ZodObject<z.objectUtil.extendShape<{
|
|
876
909
|
} | {
|
877
910
|
type: "ENABLE";
|
878
911
|
conditional: import(".").JSONSchema;
|
912
|
+
} | {
|
913
|
+
type: "DISPLAY_ON_REVIEW";
|
914
|
+
conditional: import(".").JSONSchema;
|
879
915
|
})[] | undefined;
|
880
916
|
disabled?: boolean | undefined;
|
881
917
|
hidden?: boolean | undefined;
|
@@ -903,7 +939,7 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
903
939
|
expression: string;
|
904
940
|
dependsOn?: string[] | undefined;
|
905
941
|
}>]>>;
|
906
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
942
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
907
943
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
908
944
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
909
945
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -976,6 +1012,9 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
976
1012
|
} | {
|
977
1013
|
type: "ENABLE";
|
978
1014
|
conditional: import(".").JSONSchema;
|
1015
|
+
} | {
|
1016
|
+
type: "DISPLAY_ON_REVIEW";
|
1017
|
+
conditional: import(".").JSONSchema;
|
979
1018
|
})[] | undefined;
|
980
1019
|
disabled?: boolean | undefined;
|
981
1020
|
hidden?: boolean | undefined;
|
@@ -1012,6 +1051,9 @@ export declare const EmailField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1012
1051
|
} | {
|
1013
1052
|
type: "ENABLE";
|
1014
1053
|
conditional: import(".").JSONSchema;
|
1054
|
+
} | {
|
1055
|
+
type: "DISPLAY_ON_REVIEW";
|
1056
|
+
conditional: import(".").JSONSchema;
|
1015
1057
|
})[] | undefined;
|
1016
1058
|
disabled?: boolean | undefined;
|
1017
1059
|
hidden?: boolean | undefined;
|
@@ -1038,7 +1080,7 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1038
1080
|
expression: string;
|
1039
1081
|
dependsOn?: string[] | undefined;
|
1040
1082
|
}>]>>;
|
1041
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1083
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1042
1084
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1043
1085
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1044
1086
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1119,6 +1161,9 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1119
1161
|
} | {
|
1120
1162
|
type: "ENABLE";
|
1121
1163
|
conditional: import(".").JSONSchema;
|
1164
|
+
} | {
|
1165
|
+
type: "DISPLAY_ON_REVIEW";
|
1166
|
+
conditional: import(".").JSONSchema;
|
1122
1167
|
})[] | undefined;
|
1123
1168
|
disabled?: boolean | undefined;
|
1124
1169
|
hidden?: boolean | undefined;
|
@@ -1155,6 +1200,9 @@ declare const DateField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1155
1200
|
} | {
|
1156
1201
|
type: "ENABLE";
|
1157
1202
|
conditional: import(".").JSONSchema;
|
1203
|
+
} | {
|
1204
|
+
type: "DISPLAY_ON_REVIEW";
|
1205
|
+
conditional: import(".").JSONSchema;
|
1158
1206
|
})[] | undefined;
|
1159
1207
|
disabled?: boolean | undefined;
|
1160
1208
|
hidden?: boolean | undefined;
|
@@ -1187,7 +1235,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1187
1235
|
expression: string;
|
1188
1236
|
dependsOn?: string[] | undefined;
|
1189
1237
|
}>]>>;
|
1190
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1238
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1191
1239
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1192
1240
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1193
1241
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1275,6 +1323,9 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1275
1323
|
} | {
|
1276
1324
|
type: "ENABLE";
|
1277
1325
|
conditional: import(".").JSONSchema;
|
1326
|
+
} | {
|
1327
|
+
type: "DISPLAY_ON_REVIEW";
|
1328
|
+
conditional: import(".").JSONSchema;
|
1278
1329
|
})[] | undefined;
|
1279
1330
|
disabled?: boolean | undefined;
|
1280
1331
|
hidden?: boolean | undefined;
|
@@ -1308,6 +1359,9 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1308
1359
|
} | {
|
1309
1360
|
type: "ENABLE";
|
1310
1361
|
conditional: import(".").JSONSchema;
|
1362
|
+
} | {
|
1363
|
+
type: "DISPLAY_ON_REVIEW";
|
1364
|
+
conditional: import(".").JSONSchema;
|
1311
1365
|
})[] | undefined;
|
1312
1366
|
disabled?: boolean | undefined;
|
1313
1367
|
hidden?: boolean | undefined;
|
@@ -1336,7 +1390,7 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1336
1390
|
expression: string;
|
1337
1391
|
dependsOn?: string[] | undefined;
|
1338
1392
|
}>]>>;
|
1339
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1393
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1340
1394
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1341
1395
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1342
1396
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1402,6 +1456,9 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1402
1456
|
} | {
|
1403
1457
|
type: "ENABLE";
|
1404
1458
|
conditional: import(".").JSONSchema;
|
1459
|
+
} | {
|
1460
|
+
type: "DISPLAY_ON_REVIEW";
|
1461
|
+
conditional: import(".").JSONSchema;
|
1405
1462
|
})[] | undefined;
|
1406
1463
|
disabled?: boolean | undefined;
|
1407
1464
|
hidden?: boolean | undefined;
|
@@ -1435,6 +1492,9 @@ declare const PageHeader: z.ZodObject<z.objectUtil.extendShape<{
|
|
1435
1492
|
} | {
|
1436
1493
|
type: "ENABLE";
|
1437
1494
|
conditional: import(".").JSONSchema;
|
1495
|
+
} | {
|
1496
|
+
type: "DISPLAY_ON_REVIEW";
|
1497
|
+
conditional: import(".").JSONSchema;
|
1438
1498
|
})[] | undefined;
|
1439
1499
|
disabled?: boolean | undefined;
|
1440
1500
|
hidden?: boolean | undefined;
|
@@ -1458,7 +1518,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1458
1518
|
expression: string;
|
1459
1519
|
dependsOn?: string[] | undefined;
|
1460
1520
|
}>]>>;
|
1461
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1521
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1462
1522
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1463
1523
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1464
1524
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1504,18 +1564,29 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1504
1564
|
}, {
|
1505
1565
|
width?: "full" | "auto" | undefined;
|
1506
1566
|
}>>;
|
1567
|
+
fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1568
|
+
id: string;
|
1569
|
+
description: string;
|
1570
|
+
defaultMessage: string;
|
1571
|
+
}>>;
|
1507
1572
|
}, "strip", z.ZodTypeAny, {
|
1508
1573
|
maxFileSize: number;
|
1509
1574
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
1510
1575
|
style?: {
|
1511
1576
|
width?: "full" | "auto" | undefined;
|
1512
1577
|
} | undefined;
|
1578
|
+
fileName?: TranslationConfig | undefined;
|
1513
1579
|
}, {
|
1514
1580
|
maxFileSize?: number | undefined;
|
1515
1581
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
1516
1582
|
style?: {
|
1517
1583
|
width?: "full" | "auto" | undefined;
|
1518
1584
|
} | undefined;
|
1585
|
+
fileName?: {
|
1586
|
+
id: string;
|
1587
|
+
description: string;
|
1588
|
+
defaultMessage: string;
|
1589
|
+
} | undefined;
|
1519
1590
|
}>>;
|
1520
1591
|
}>, "strip", z.ZodTypeAny, {
|
1521
1592
|
type: "FILE";
|
@@ -1527,6 +1598,7 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1527
1598
|
style?: {
|
1528
1599
|
width?: "full" | "auto" | undefined;
|
1529
1600
|
} | undefined;
|
1601
|
+
fileName?: TranslationConfig | undefined;
|
1530
1602
|
};
|
1531
1603
|
validation?: {
|
1532
1604
|
message: TranslationConfig;
|
@@ -1544,6 +1616,9 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1544
1616
|
} | {
|
1545
1617
|
type: "ENABLE";
|
1546
1618
|
conditional: import(".").JSONSchema;
|
1619
|
+
} | {
|
1620
|
+
type: "DISPLAY_ON_REVIEW";
|
1621
|
+
conditional: import(".").JSONSchema;
|
1547
1622
|
})[] | undefined;
|
1548
1623
|
disabled?: boolean | undefined;
|
1549
1624
|
hidden?: boolean | undefined;
|
@@ -1577,6 +1652,9 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1577
1652
|
} | {
|
1578
1653
|
type: "ENABLE";
|
1579
1654
|
conditional: import(".").JSONSchema;
|
1655
|
+
} | {
|
1656
|
+
type: "DISPLAY_ON_REVIEW";
|
1657
|
+
conditional: import(".").JSONSchema;
|
1580
1658
|
})[] | undefined;
|
1581
1659
|
disabled?: boolean | undefined;
|
1582
1660
|
hidden?: boolean | undefined;
|
@@ -1592,6 +1670,11 @@ declare const File: z.ZodObject<z.objectUtil.extendShape<{
|
|
1592
1670
|
style?: {
|
1593
1671
|
width?: "full" | "auto" | undefined;
|
1594
1672
|
} | undefined;
|
1673
|
+
fileName?: {
|
1674
|
+
id: string;
|
1675
|
+
description: string;
|
1676
|
+
defaultMessage: string;
|
1677
|
+
} | undefined;
|
1595
1678
|
} | undefined;
|
1596
1679
|
}>;
|
1597
1680
|
export type File = z.infer<typeof File>;
|
@@ -1625,7 +1708,7 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1625
1708
|
expression: string;
|
1626
1709
|
dependsOn?: string[] | undefined;
|
1627
1710
|
}>]>>;
|
1628
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1711
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1629
1712
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1630
1713
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1631
1714
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1730,6 +1813,9 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1730
1813
|
} | {
|
1731
1814
|
type: "ENABLE";
|
1732
1815
|
conditional: import(".").JSONSchema;
|
1816
|
+
} | {
|
1817
|
+
type: "DISPLAY_ON_REVIEW";
|
1818
|
+
conditional: import(".").JSONSchema;
|
1733
1819
|
})[] | undefined;
|
1734
1820
|
disabled?: boolean | undefined;
|
1735
1821
|
hidden?: boolean | undefined;
|
@@ -1776,6 +1862,9 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
1776
1862
|
} | {
|
1777
1863
|
type: "ENABLE";
|
1778
1864
|
conditional: import(".").JSONSchema;
|
1865
|
+
} | {
|
1866
|
+
type: "DISPLAY_ON_REVIEW";
|
1867
|
+
conditional: import(".").JSONSchema;
|
1779
1868
|
})[] | undefined;
|
1780
1869
|
disabled?: boolean | undefined;
|
1781
1870
|
hidden?: boolean | undefined;
|
@@ -1804,7 +1893,7 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1804
1893
|
expression: string;
|
1805
1894
|
dependsOn?: string[] | undefined;
|
1806
1895
|
}>]>>;
|
1807
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
1896
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1808
1897
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1809
1898
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1810
1899
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -1886,6 +1975,9 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1886
1975
|
} | {
|
1887
1976
|
type: "ENABLE";
|
1888
1977
|
conditional: import(".").JSONSchema;
|
1978
|
+
} | {
|
1979
|
+
type: "DISPLAY_ON_REVIEW";
|
1980
|
+
conditional: import(".").JSONSchema;
|
1889
1981
|
})[] | undefined;
|
1890
1982
|
disabled?: boolean | undefined;
|
1891
1983
|
hidden?: boolean | undefined;
|
@@ -1921,6 +2013,9 @@ declare const BulletList: z.ZodObject<z.objectUtil.extendShape<{
|
|
1921
2013
|
} | {
|
1922
2014
|
type: "ENABLE";
|
1923
2015
|
conditional: import(".").JSONSchema;
|
2016
|
+
} | {
|
2017
|
+
type: "DISPLAY_ON_REVIEW";
|
2018
|
+
conditional: import(".").JSONSchema;
|
1924
2019
|
})[] | undefined;
|
1925
2020
|
disabled?: boolean | undefined;
|
1926
2021
|
hidden?: boolean | undefined;
|
@@ -1949,7 +2044,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
1949
2044
|
expression: string;
|
1950
2045
|
dependsOn?: string[] | undefined;
|
1951
2046
|
}>]>>;
|
1952
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2047
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
1953
2048
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1954
2049
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
1955
2050
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2037,6 +2132,9 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2037
2132
|
} | {
|
2038
2133
|
type: "ENABLE";
|
2039
2134
|
conditional: import(".").JSONSchema;
|
2135
|
+
} | {
|
2136
|
+
type: "DISPLAY_ON_REVIEW";
|
2137
|
+
conditional: import(".").JSONSchema;
|
2040
2138
|
})[] | undefined;
|
2041
2139
|
disabled?: boolean | undefined;
|
2042
2140
|
hidden?: boolean | undefined;
|
@@ -2078,6 +2176,9 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2078
2176
|
} | {
|
2079
2177
|
type: "ENABLE";
|
2080
2178
|
conditional: import(".").JSONSchema;
|
2179
|
+
} | {
|
2180
|
+
type: "DISPLAY_ON_REVIEW";
|
2181
|
+
conditional: import(".").JSONSchema;
|
2081
2182
|
})[] | undefined;
|
2082
2183
|
disabled?: boolean | undefined;
|
2083
2184
|
hidden?: boolean | undefined;
|
@@ -2100,7 +2201,7 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2100
2201
|
expression: string;
|
2101
2202
|
dependsOn?: string[] | undefined;
|
2102
2203
|
}>]>>;
|
2103
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2204
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2104
2205
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2105
2206
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2106
2207
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2166,6 +2267,9 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2166
2267
|
} | {
|
2167
2268
|
type: "ENABLE";
|
2168
2269
|
conditional: import(".").JSONSchema;
|
2270
|
+
} | {
|
2271
|
+
type: "DISPLAY_ON_REVIEW";
|
2272
|
+
conditional: import(".").JSONSchema;
|
2169
2273
|
})[] | undefined;
|
2170
2274
|
disabled?: boolean | undefined;
|
2171
2275
|
hidden?: boolean | undefined;
|
@@ -2199,6 +2303,9 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2199
2303
|
} | {
|
2200
2304
|
type: "ENABLE";
|
2201
2305
|
conditional: import(".").JSONSchema;
|
2306
|
+
} | {
|
2307
|
+
type: "DISPLAY_ON_REVIEW";
|
2308
|
+
conditional: import(".").JSONSchema;
|
2202
2309
|
})[] | undefined;
|
2203
2310
|
disabled?: boolean | undefined;
|
2204
2311
|
hidden?: boolean | undefined;
|
@@ -2222,7 +2329,7 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2222
2329
|
expression: string;
|
2223
2330
|
dependsOn?: string[] | undefined;
|
2224
2331
|
}>]>>;
|
2225
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2332
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2226
2333
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2227
2334
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2228
2335
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2288,6 +2395,9 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2288
2395
|
} | {
|
2289
2396
|
type: "ENABLE";
|
2290
2397
|
conditional: import(".").JSONSchema;
|
2398
|
+
} | {
|
2399
|
+
type: "DISPLAY_ON_REVIEW";
|
2400
|
+
conditional: import(".").JSONSchema;
|
2291
2401
|
})[] | undefined;
|
2292
2402
|
disabled?: boolean | undefined;
|
2293
2403
|
hidden?: boolean | undefined;
|
@@ -2321,6 +2431,9 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2321
2431
|
} | {
|
2322
2432
|
type: "ENABLE";
|
2323
2433
|
conditional: import(".").JSONSchema;
|
2434
|
+
} | {
|
2435
|
+
type: "DISPLAY_ON_REVIEW";
|
2436
|
+
conditional: import(".").JSONSchema;
|
2324
2437
|
})[] | undefined;
|
2325
2438
|
disabled?: boolean | undefined;
|
2326
2439
|
hidden?: boolean | undefined;
|
@@ -2365,7 +2478,7 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2365
2478
|
expression: string;
|
2366
2479
|
dependsOn?: string[] | undefined;
|
2367
2480
|
}>]>>;
|
2368
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2481
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2369
2482
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2370
2483
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2371
2484
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2457,6 +2570,9 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2457
2570
|
} | {
|
2458
2571
|
type: "ENABLE";
|
2459
2572
|
conditional: import(".").JSONSchema;
|
2573
|
+
} | {
|
2574
|
+
type: "DISPLAY_ON_REVIEW";
|
2575
|
+
conditional: import(".").JSONSchema;
|
2460
2576
|
})[] | undefined;
|
2461
2577
|
disabled?: boolean | undefined;
|
2462
2578
|
hidden?: boolean | undefined;
|
@@ -2496,6 +2612,9 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2496
2612
|
} | {
|
2497
2613
|
type: "ENABLE";
|
2498
2614
|
conditional: import(".").JSONSchema;
|
2615
|
+
} | {
|
2616
|
+
type: "DISPLAY_ON_REVIEW";
|
2617
|
+
conditional: import(".").JSONSchema;
|
2499
2618
|
})[] | undefined;
|
2500
2619
|
disabled?: boolean | undefined;
|
2501
2620
|
hidden?: boolean | undefined;
|
@@ -2519,7 +2638,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2519
2638
|
expression: string;
|
2520
2639
|
dependsOn?: string[] | undefined;
|
2521
2640
|
}>]>>;
|
2522
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2641
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2523
2642
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2524
2643
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2525
2644
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2585,6 +2704,9 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2585
2704
|
} | {
|
2586
2705
|
type: "ENABLE";
|
2587
2706
|
conditional: import(".").JSONSchema;
|
2707
|
+
} | {
|
2708
|
+
type: "DISPLAY_ON_REVIEW";
|
2709
|
+
conditional: import(".").JSONSchema;
|
2588
2710
|
})[] | undefined;
|
2589
2711
|
disabled?: boolean | undefined;
|
2590
2712
|
hidden?: boolean | undefined;
|
@@ -2618,6 +2740,9 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
2618
2740
|
} | {
|
2619
2741
|
type: "ENABLE";
|
2620
2742
|
conditional: import(".").JSONSchema;
|
2743
|
+
} | {
|
2744
|
+
type: "DISPLAY_ON_REVIEW";
|
2745
|
+
conditional: import(".").JSONSchema;
|
2621
2746
|
})[] | undefined;
|
2622
2747
|
disabled?: boolean | undefined;
|
2623
2748
|
hidden?: boolean | undefined;
|
@@ -2641,7 +2766,7 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2641
2766
|
expression: string;
|
2642
2767
|
dependsOn?: string[] | undefined;
|
2643
2768
|
}>]>>;
|
2644
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2769
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2645
2770
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2646
2771
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2647
2772
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2733,6 +2858,9 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2733
2858
|
} | {
|
2734
2859
|
type: "ENABLE";
|
2735
2860
|
conditional: import(".").JSONSchema;
|
2861
|
+
} | {
|
2862
|
+
type: "DISPLAY_ON_REVIEW";
|
2863
|
+
conditional: import(".").JSONSchema;
|
2736
2864
|
})[] | undefined;
|
2737
2865
|
disabled?: boolean | undefined;
|
2738
2866
|
hidden?: boolean | undefined;
|
@@ -2774,6 +2902,9 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
2774
2902
|
} | {
|
2775
2903
|
type: "ENABLE";
|
2776
2904
|
conditional: import(".").JSONSchema;
|
2905
|
+
} | {
|
2906
|
+
type: "DISPLAY_ON_REVIEW";
|
2907
|
+
conditional: import(".").JSONSchema;
|
2777
2908
|
})[] | undefined;
|
2778
2909
|
disabled?: boolean | undefined;
|
2779
2910
|
hidden?: boolean | undefined;
|
@@ -2801,7 +2932,7 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2801
2932
|
expression: string;
|
2802
2933
|
dependsOn?: string[] | undefined;
|
2803
2934
|
}>]>>;
|
2804
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
2935
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2805
2936
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2806
2937
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2807
2938
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2867,6 +2998,9 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2867
2998
|
} | {
|
2868
2999
|
type: "ENABLE";
|
2869
3000
|
conditional: import(".").JSONSchema;
|
3001
|
+
} | {
|
3002
|
+
type: "DISPLAY_ON_REVIEW";
|
3003
|
+
conditional: import(".").JSONSchema;
|
2870
3004
|
})[] | undefined;
|
2871
3005
|
disabled?: boolean | undefined;
|
2872
3006
|
hidden?: boolean | undefined;
|
@@ -2900,6 +3034,9 @@ declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
|
2900
3034
|
} | {
|
2901
3035
|
type: "ENABLE";
|
2902
3036
|
conditional: import(".").JSONSchema;
|
3037
|
+
} | {
|
3038
|
+
type: "DISPLAY_ON_REVIEW";
|
3039
|
+
conditional: import(".").JSONSchema;
|
2903
3040
|
})[] | undefined;
|
2904
3041
|
disabled?: boolean | undefined;
|
2905
3042
|
hidden?: boolean | undefined;
|
@@ -2923,7 +3060,7 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2923
3060
|
expression: string;
|
2924
3061
|
dependsOn?: string[] | undefined;
|
2925
3062
|
}>]>>;
|
2926
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
3063
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
2927
3064
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2928
3065
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2929
3066
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -2989,6 +3126,9 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
2989
3126
|
} | {
|
2990
3127
|
type: "ENABLE";
|
2991
3128
|
conditional: import(".").JSONSchema;
|
3129
|
+
} | {
|
3130
|
+
type: "DISPLAY_ON_REVIEW";
|
3131
|
+
conditional: import(".").JSONSchema;
|
2992
3132
|
})[] | undefined;
|
2993
3133
|
disabled?: boolean | undefined;
|
2994
3134
|
hidden?: boolean | undefined;
|
@@ -3022,6 +3162,9 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3022
3162
|
} | {
|
3023
3163
|
type: "ENABLE";
|
3024
3164
|
conditional: import(".").JSONSchema;
|
3165
|
+
} | {
|
3166
|
+
type: "DISPLAY_ON_REVIEW";
|
3167
|
+
conditional: import(".").JSONSchema;
|
3025
3168
|
})[] | undefined;
|
3026
3169
|
disabled?: boolean | undefined;
|
3027
3170
|
hidden?: boolean | undefined;
|
@@ -3045,7 +3188,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3045
3188
|
expression: string;
|
3046
3189
|
dependsOn?: string[] | undefined;
|
3047
3190
|
}>]>>;
|
3048
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
3191
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3049
3192
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3050
3193
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3051
3194
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3213,6 +3356,9 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3213
3356
|
} | {
|
3214
3357
|
type: "ENABLE";
|
3215
3358
|
conditional: import(".").JSONSchema;
|
3359
|
+
} | {
|
3360
|
+
type: "DISPLAY_ON_REVIEW";
|
3361
|
+
conditional: import(".").JSONSchema;
|
3216
3362
|
})[] | undefined;
|
3217
3363
|
disabled?: boolean | undefined;
|
3218
3364
|
hidden?: boolean | undefined;
|
@@ -3271,6 +3417,9 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3271
3417
|
} | {
|
3272
3418
|
type: "ENABLE";
|
3273
3419
|
conditional: import(".").JSONSchema;
|
3420
|
+
} | {
|
3421
|
+
type: "DISPLAY_ON_REVIEW";
|
3422
|
+
conditional: import(".").JSONSchema;
|
3274
3423
|
})[] | undefined;
|
3275
3424
|
disabled?: boolean | undefined;
|
3276
3425
|
hidden?: boolean | undefined;
|
@@ -3287,12 +3436,20 @@ export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
|
|
3287
3436
|
description: string;
|
3288
3437
|
defaultMessage: string;
|
3289
3438
|
}>;
|
3290
|
-
value: z.
|
3439
|
+
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3440
|
+
id: string;
|
3441
|
+
description: string;
|
3442
|
+
defaultMessage: string;
|
3443
|
+
}>, z.ZodString]>;
|
3291
3444
|
}, "strip", z.ZodTypeAny, {
|
3292
|
-
value: string;
|
3445
|
+
value: string | TranslationConfig;
|
3293
3446
|
label: TranslationConfig;
|
3294
3447
|
}, {
|
3295
|
-
value: string
|
3448
|
+
value: string | {
|
3449
|
+
id: string;
|
3450
|
+
description: string;
|
3451
|
+
defaultMessage: string;
|
3452
|
+
};
|
3296
3453
|
label: {
|
3297
3454
|
id: string;
|
3298
3455
|
description: string;
|
@@ -3318,7 +3475,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3318
3475
|
expression: string;
|
3319
3476
|
dependsOn?: string[] | undefined;
|
3320
3477
|
}>]>>;
|
3321
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").
|
3478
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3322
3479
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3323
3480
|
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3324
3481
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
@@ -3366,12 +3523,20 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3366
3523
|
description: string;
|
3367
3524
|
defaultMessage: string;
|
3368
3525
|
}>;
|
3369
|
-
value: z.
|
3526
|
+
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3527
|
+
id: string;
|
3528
|
+
description: string;
|
3529
|
+
defaultMessage: string;
|
3530
|
+
}>, z.ZodString]>;
|
3370
3531
|
}, "strip", z.ZodTypeAny, {
|
3371
|
-
value: string;
|
3532
|
+
value: string | TranslationConfig;
|
3372
3533
|
label: TranslationConfig;
|
3373
3534
|
}, {
|
3374
|
-
value: string
|
3535
|
+
value: string | {
|
3536
|
+
id: string;
|
3537
|
+
description: string;
|
3538
|
+
defaultMessage: string;
|
3539
|
+
};
|
3375
3540
|
label: {
|
3376
3541
|
id: string;
|
3377
3542
|
description: string;
|
@@ -3386,7 +3551,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3386
3551
|
}>]>, "many">;
|
3387
3552
|
}, "strip", z.ZodTypeAny, {
|
3388
3553
|
data: ({
|
3389
|
-
value: string;
|
3554
|
+
value: string | TranslationConfig;
|
3390
3555
|
label: TranslationConfig;
|
3391
3556
|
} | {
|
3392
3557
|
fieldId: string;
|
@@ -3394,7 +3559,11 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3394
3559
|
subtitle?: TranslationConfig | undefined;
|
3395
3560
|
}, {
|
3396
3561
|
data: ({
|
3397
|
-
value: string
|
3562
|
+
value: string | {
|
3563
|
+
id: string;
|
3564
|
+
description: string;
|
3565
|
+
defaultMessage: string;
|
3566
|
+
};
|
3398
3567
|
label: {
|
3399
3568
|
id: string;
|
3400
3569
|
description: string;
|
@@ -3415,7 +3584,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3415
3584
|
label: TranslationConfig;
|
3416
3585
|
configuration: {
|
3417
3586
|
data: ({
|
3418
|
-
value: string;
|
3587
|
+
value: string | TranslationConfig;
|
3419
3588
|
label: TranslationConfig;
|
3420
3589
|
} | {
|
3421
3590
|
fieldId: string;
|
@@ -3438,6 +3607,9 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3438
3607
|
} | {
|
3439
3608
|
type: "ENABLE";
|
3440
3609
|
conditional: import(".").JSONSchema;
|
3610
|
+
} | {
|
3611
|
+
type: "DISPLAY_ON_REVIEW";
|
3612
|
+
conditional: import(".").JSONSchema;
|
3441
3613
|
})[] | undefined;
|
3442
3614
|
disabled?: boolean | undefined;
|
3443
3615
|
hidden?: boolean | undefined;
|
@@ -3453,7 +3625,11 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3453
3625
|
};
|
3454
3626
|
configuration: {
|
3455
3627
|
data: ({
|
3456
|
-
value: string
|
3628
|
+
value: string | {
|
3629
|
+
id: string;
|
3630
|
+
description: string;
|
3631
|
+
defaultMessage: string;
|
3632
|
+
};
|
3457
3633
|
label: {
|
3458
3634
|
id: string;
|
3459
3635
|
description: string;
|
@@ -3488,6 +3664,9 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3488
3664
|
} | {
|
3489
3665
|
type: "ENABLE";
|
3490
3666
|
conditional: import(".").JSONSchema;
|
3667
|
+
} | {
|
3668
|
+
type: "DISPLAY_ON_REVIEW";
|
3669
|
+
conditional: import(".").JSONSchema;
|
3491
3670
|
})[] | undefined;
|
3492
3671
|
disabled?: boolean | undefined;
|
3493
3672
|
hidden?: boolean | undefined;
|