@opencrvs/toolkit 1.8.0-rc.fb4793a → 1.8.0-rc.fbb40d1

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.
@@ -731,6 +731,735 @@ export declare const defineConfig: (config: EventConfigInput) => {
731
731
  }[];
732
732
  };
733
733
  actions: ({
734
+ type: "READ";
735
+ conditionals: ({
736
+ type: "SHOW";
737
+ conditional: import(".").JSONSchema;
738
+ } | {
739
+ type: "ENABLE";
740
+ conditional: import(".").JSONSchema;
741
+ })[];
742
+ label: import("./TranslationConfig").TranslationConfig;
743
+ review: {
744
+ title: import("./TranslationConfig").TranslationConfig;
745
+ fields: ({
746
+ type: "DIVIDER";
747
+ id: string;
748
+ label: import("./TranslationConfig").TranslationConfig;
749
+ parent?: {
750
+ _fieldId?: string | undefined;
751
+ } | undefined;
752
+ validation?: {
753
+ message: import("./TranslationConfig").TranslationConfig;
754
+ validator: import(".").JSONSchema;
755
+ }[] | undefined;
756
+ required?: boolean | undefined;
757
+ defaultValue?: string | number | boolean | undefined;
758
+ conditionals?: ({
759
+ type: "SHOW";
760
+ conditional: import(".").JSONSchema;
761
+ } | {
762
+ type: "ENABLE";
763
+ conditional: import(".").JSONSchema;
764
+ } | {
765
+ type: "DISPLAY_ON_REVIEW";
766
+ conditional: import(".").JSONSchema;
767
+ })[] | undefined;
768
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
769
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
770
+ hideLabel?: boolean | undefined;
771
+ } | {
772
+ type: "TEXT";
773
+ id: string;
774
+ label: import("./TranslationConfig").TranslationConfig;
775
+ parent?: {
776
+ _fieldId?: string | undefined;
777
+ } | undefined;
778
+ validation?: {
779
+ message: import("./TranslationConfig").TranslationConfig;
780
+ validator: import(".").JSONSchema;
781
+ }[] | undefined;
782
+ required?: boolean | undefined;
783
+ defaultValue?: string | undefined;
784
+ conditionals?: ({
785
+ type: "SHOW";
786
+ conditional: import(".").JSONSchema;
787
+ } | {
788
+ type: "ENABLE";
789
+ conditional: import(".").JSONSchema;
790
+ } | {
791
+ type: "DISPLAY_ON_REVIEW";
792
+ conditional: import(".").JSONSchema;
793
+ })[] | undefined;
794
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
795
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
796
+ hideLabel?: boolean | undefined;
797
+ configuration?: {
798
+ type?: "text" | "password" | undefined;
799
+ maxLength?: number | undefined;
800
+ prefix?: import("./TranslationConfig").TranslationConfig | undefined;
801
+ postfix?: import("./TranslationConfig").TranslationConfig | undefined;
802
+ } | undefined;
803
+ } | {
804
+ type: "NUMBER";
805
+ id: string;
806
+ label: import("./TranslationConfig").TranslationConfig;
807
+ parent?: {
808
+ _fieldId?: string | undefined;
809
+ } | undefined;
810
+ validation?: {
811
+ message: import("./TranslationConfig").TranslationConfig;
812
+ validator: import(".").JSONSchema;
813
+ }[] | undefined;
814
+ required?: boolean | undefined;
815
+ defaultValue?: number | undefined;
816
+ conditionals?: ({
817
+ type: "SHOW";
818
+ conditional: import(".").JSONSchema;
819
+ } | {
820
+ type: "ENABLE";
821
+ conditional: import(".").JSONSchema;
822
+ } | {
823
+ type: "DISPLAY_ON_REVIEW";
824
+ conditional: import(".").JSONSchema;
825
+ })[] | undefined;
826
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
827
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
828
+ hideLabel?: boolean | undefined;
829
+ configuration?: {
830
+ prefix?: import("./TranslationConfig").TranslationConfig | undefined;
831
+ postfix?: import("./TranslationConfig").TranslationConfig | undefined;
832
+ min?: number | undefined;
833
+ max?: number | undefined;
834
+ } | undefined;
835
+ } | {
836
+ type: "TEXTAREA";
837
+ id: string;
838
+ label: import("./TranslationConfig").TranslationConfig;
839
+ parent?: {
840
+ _fieldId?: string | undefined;
841
+ } | undefined;
842
+ validation?: {
843
+ message: import("./TranslationConfig").TranslationConfig;
844
+ validator: import(".").JSONSchema;
845
+ }[] | undefined;
846
+ required?: boolean | undefined;
847
+ defaultValue?: string | undefined;
848
+ conditionals?: ({
849
+ type: "SHOW";
850
+ conditional: import(".").JSONSchema;
851
+ } | {
852
+ type: "ENABLE";
853
+ conditional: import(".").JSONSchema;
854
+ } | {
855
+ type: "DISPLAY_ON_REVIEW";
856
+ conditional: import(".").JSONSchema;
857
+ })[] | undefined;
858
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
859
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
860
+ hideLabel?: boolean | undefined;
861
+ configuration?: {
862
+ maxLength?: number | undefined;
863
+ prefix?: import("./TranslationConfig").TranslationConfig | undefined;
864
+ postfix?: import("./TranslationConfig").TranslationConfig | undefined;
865
+ rows?: number | undefined;
866
+ cols?: number | undefined;
867
+ } | undefined;
868
+ } | {
869
+ type: "SIGNATURE";
870
+ id: string;
871
+ label: import("./TranslationConfig").TranslationConfig;
872
+ configuration: {
873
+ maxFileSize: number;
874
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
875
+ };
876
+ signaturePromptLabel: import("./TranslationConfig").TranslationConfig;
877
+ parent?: {
878
+ _fieldId?: string | undefined;
879
+ } | undefined;
880
+ validation?: {
881
+ message: import("./TranslationConfig").TranslationConfig;
882
+ validator: import(".").JSONSchema;
883
+ }[] | undefined;
884
+ required?: boolean | undefined;
885
+ defaultValue?: string | number | boolean | undefined;
886
+ conditionals?: ({
887
+ type: "SHOW";
888
+ conditional: import(".").JSONSchema;
889
+ } | {
890
+ type: "ENABLE";
891
+ conditional: import(".").JSONSchema;
892
+ } | {
893
+ type: "DISPLAY_ON_REVIEW";
894
+ conditional: import(".").JSONSchema;
895
+ })[] | undefined;
896
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
897
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
898
+ hideLabel?: boolean | undefined;
899
+ } | {
900
+ type: "EMAIL";
901
+ id: string;
902
+ label: import("./TranslationConfig").TranslationConfig;
903
+ parent?: {
904
+ _fieldId?: string | undefined;
905
+ } | undefined;
906
+ validation?: {
907
+ message: import("./TranslationConfig").TranslationConfig;
908
+ validator: import(".").JSONSchema;
909
+ }[] | undefined;
910
+ required?: boolean | undefined;
911
+ defaultValue?: string | undefined;
912
+ conditionals?: ({
913
+ type: "SHOW";
914
+ conditional: import(".").JSONSchema;
915
+ } | {
916
+ type: "ENABLE";
917
+ conditional: import(".").JSONSchema;
918
+ } | {
919
+ type: "DISPLAY_ON_REVIEW";
920
+ conditional: import(".").JSONSchema;
921
+ })[] | undefined;
922
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
923
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
924
+ hideLabel?: boolean | undefined;
925
+ configuration?: {
926
+ maxLength?: number | undefined;
927
+ } | undefined;
928
+ } | {
929
+ type: "DATE";
930
+ id: string;
931
+ label: import("./TranslationConfig").TranslationConfig;
932
+ parent?: {
933
+ _fieldId?: string | undefined;
934
+ } | undefined;
935
+ validation?: {
936
+ message: import("./TranslationConfig").TranslationConfig;
937
+ validator: import(".").JSONSchema;
938
+ }[] | undefined;
939
+ required?: boolean | undefined;
940
+ defaultValue?: string | undefined;
941
+ conditionals?: ({
942
+ type: "SHOW";
943
+ conditional: import(".").JSONSchema;
944
+ } | {
945
+ type: "ENABLE";
946
+ conditional: import(".").JSONSchema;
947
+ } | {
948
+ type: "DISPLAY_ON_REVIEW";
949
+ conditional: import(".").JSONSchema;
950
+ })[] | undefined;
951
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
952
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
953
+ hideLabel?: boolean | undefined;
954
+ configuration?: {
955
+ notice?: import("./TranslationConfig").TranslationConfig | undefined;
956
+ } | undefined;
957
+ } | {
958
+ type: "DATE_RANGE";
959
+ id: string;
960
+ label: import("./TranslationConfig").TranslationConfig;
961
+ parent?: {
962
+ _fieldId?: string | undefined;
963
+ } | undefined;
964
+ validation?: {
965
+ message: import("./TranslationConfig").TranslationConfig;
966
+ validator: import(".").JSONSchema;
967
+ }[] | undefined;
968
+ required?: boolean | undefined;
969
+ defaultValue?: string | [string, string] | undefined;
970
+ conditionals?: ({
971
+ type: "SHOW";
972
+ conditional: import(".").JSONSchema;
973
+ } | {
974
+ type: "ENABLE";
975
+ conditional: import(".").JSONSchema;
976
+ } | {
977
+ type: "DISPLAY_ON_REVIEW";
978
+ conditional: import(".").JSONSchema;
979
+ })[] | undefined;
980
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
981
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
982
+ hideLabel?: boolean | undefined;
983
+ configuration?: {
984
+ notice?: import("./TranslationConfig").TranslationConfig | undefined;
985
+ } | undefined;
986
+ } | {
987
+ type: "PARAGRAPH";
988
+ id: string;
989
+ label: import("./TranslationConfig").TranslationConfig;
990
+ configuration: {
991
+ styles?: {
992
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
993
+ } | undefined;
994
+ };
995
+ parent?: {
996
+ _fieldId?: string | undefined;
997
+ } | undefined;
998
+ validation?: {
999
+ message: import("./TranslationConfig").TranslationConfig;
1000
+ validator: import(".").JSONSchema;
1001
+ }[] | undefined;
1002
+ required?: boolean | undefined;
1003
+ defaultValue?: string | undefined;
1004
+ conditionals?: ({
1005
+ type: "SHOW";
1006
+ conditional: import(".").JSONSchema;
1007
+ } | {
1008
+ type: "ENABLE";
1009
+ conditional: import(".").JSONSchema;
1010
+ } | {
1011
+ type: "DISPLAY_ON_REVIEW";
1012
+ conditional: import(".").JSONSchema;
1013
+ })[] | undefined;
1014
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1015
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1016
+ hideLabel?: boolean | undefined;
1017
+ } | {
1018
+ type: "PAGE_HEADER";
1019
+ id: string;
1020
+ label: import("./TranslationConfig").TranslationConfig;
1021
+ parent?: {
1022
+ _fieldId?: string | undefined;
1023
+ } | undefined;
1024
+ validation?: {
1025
+ message: import("./TranslationConfig").TranslationConfig;
1026
+ validator: import(".").JSONSchema;
1027
+ }[] | undefined;
1028
+ required?: boolean | undefined;
1029
+ defaultValue?: string | undefined;
1030
+ conditionals?: ({
1031
+ type: "SHOW";
1032
+ conditional: import(".").JSONSchema;
1033
+ } | {
1034
+ type: "ENABLE";
1035
+ conditional: import(".").JSONSchema;
1036
+ } | {
1037
+ type: "DISPLAY_ON_REVIEW";
1038
+ conditional: import(".").JSONSchema;
1039
+ })[] | undefined;
1040
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1041
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1042
+ hideLabel?: boolean | undefined;
1043
+ } | {
1044
+ type: "FILE";
1045
+ id: string;
1046
+ label: import("./TranslationConfig").TranslationConfig;
1047
+ configuration: {
1048
+ maxFileSize: number;
1049
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1050
+ style?: {
1051
+ width?: "full" | "auto" | undefined;
1052
+ } | undefined;
1053
+ fileName?: import("./TranslationConfig").TranslationConfig | undefined;
1054
+ };
1055
+ parent?: {
1056
+ _fieldId?: string | undefined;
1057
+ } | undefined;
1058
+ validation?: {
1059
+ message: import("./TranslationConfig").TranslationConfig;
1060
+ validator: import(".").JSONSchema;
1061
+ }[] | undefined;
1062
+ required?: boolean | undefined;
1063
+ defaultValue?: string | number | boolean | undefined;
1064
+ conditionals?: ({
1065
+ type: "SHOW";
1066
+ conditional: import(".").JSONSchema;
1067
+ } | {
1068
+ type: "ENABLE";
1069
+ conditional: import(".").JSONSchema;
1070
+ } | {
1071
+ type: "DISPLAY_ON_REVIEW";
1072
+ conditional: import(".").JSONSchema;
1073
+ })[] | undefined;
1074
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1075
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1076
+ hideLabel?: boolean | undefined;
1077
+ } | {
1078
+ type: "RADIO_GROUP";
1079
+ id: string;
1080
+ options: {
1081
+ value: string;
1082
+ label: import("./TranslationConfig").TranslationConfig;
1083
+ }[];
1084
+ label: import("./TranslationConfig").TranslationConfig;
1085
+ parent?: {
1086
+ _fieldId?: string | undefined;
1087
+ } | undefined;
1088
+ validation?: {
1089
+ message: import("./TranslationConfig").TranslationConfig;
1090
+ validator: import(".").JSONSchema;
1091
+ }[] | undefined;
1092
+ required?: boolean | undefined;
1093
+ defaultValue?: string | undefined;
1094
+ conditionals?: ({
1095
+ type: "SHOW";
1096
+ conditional: import(".").JSONSchema;
1097
+ } | {
1098
+ type: "ENABLE";
1099
+ conditional: import(".").JSONSchema;
1100
+ } | {
1101
+ type: "DISPLAY_ON_REVIEW";
1102
+ conditional: import(".").JSONSchema;
1103
+ })[] | undefined;
1104
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1105
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1106
+ hideLabel?: boolean | undefined;
1107
+ configuration?: {
1108
+ styles?: {
1109
+ size?: "NORMAL" | "LARGE" | undefined;
1110
+ } | undefined;
1111
+ } | undefined;
1112
+ } | {
1113
+ type: "BULLET_LIST";
1114
+ id: string;
1115
+ label: import("./TranslationConfig").TranslationConfig;
1116
+ configuration: {
1117
+ styles?: {
1118
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1119
+ } | undefined;
1120
+ };
1121
+ items: import("./TranslationConfig").TranslationConfig[];
1122
+ parent?: {
1123
+ _fieldId?: string | undefined;
1124
+ } | undefined;
1125
+ validation?: {
1126
+ message: import("./TranslationConfig").TranslationConfig;
1127
+ validator: import(".").JSONSchema;
1128
+ }[] | undefined;
1129
+ required?: boolean | undefined;
1130
+ defaultValue?: string | undefined;
1131
+ conditionals?: ({
1132
+ type: "SHOW";
1133
+ conditional: import(".").JSONSchema;
1134
+ } | {
1135
+ type: "ENABLE";
1136
+ conditional: import(".").JSONSchema;
1137
+ } | {
1138
+ type: "DISPLAY_ON_REVIEW";
1139
+ conditional: import(".").JSONSchema;
1140
+ })[] | undefined;
1141
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1142
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1143
+ hideLabel?: boolean | undefined;
1144
+ } | {
1145
+ type: "SELECT";
1146
+ id: string;
1147
+ options: {
1148
+ value: string;
1149
+ label: import("./TranslationConfig").TranslationConfig;
1150
+ }[];
1151
+ label: import("./TranslationConfig").TranslationConfig;
1152
+ parent?: {
1153
+ _fieldId?: string | undefined;
1154
+ } | undefined;
1155
+ validation?: {
1156
+ message: import("./TranslationConfig").TranslationConfig;
1157
+ validator: import(".").JSONSchema;
1158
+ }[] | undefined;
1159
+ required?: boolean | undefined;
1160
+ defaultValue?: string | undefined;
1161
+ conditionals?: ({
1162
+ type: "SHOW";
1163
+ conditional: import(".").JSONSchema;
1164
+ } | {
1165
+ type: "ENABLE";
1166
+ conditional: import(".").JSONSchema;
1167
+ } | {
1168
+ type: "DISPLAY_ON_REVIEW";
1169
+ conditional: import(".").JSONSchema;
1170
+ })[] | undefined;
1171
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1172
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1173
+ hideLabel?: boolean | undefined;
1174
+ } | {
1175
+ type: "CHECKBOX";
1176
+ id: string;
1177
+ label: import("./TranslationConfig").TranslationConfig;
1178
+ parent?: {
1179
+ _fieldId?: string | undefined;
1180
+ } | undefined;
1181
+ validation?: {
1182
+ message: import("./TranslationConfig").TranslationConfig;
1183
+ validator: import(".").JSONSchema;
1184
+ }[] | undefined;
1185
+ required?: boolean | undefined;
1186
+ defaultValue?: boolean | undefined;
1187
+ conditionals?: ({
1188
+ type: "SHOW";
1189
+ conditional: import(".").JSONSchema;
1190
+ } | {
1191
+ type: "ENABLE";
1192
+ conditional: import(".").JSONSchema;
1193
+ } | {
1194
+ type: "DISPLAY_ON_REVIEW";
1195
+ conditional: import(".").JSONSchema;
1196
+ })[] | undefined;
1197
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1198
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1199
+ hideLabel?: boolean | undefined;
1200
+ } | {
1201
+ type: "COUNTRY";
1202
+ id: string;
1203
+ label: import("./TranslationConfig").TranslationConfig;
1204
+ parent?: {
1205
+ _fieldId?: string | undefined;
1206
+ } | undefined;
1207
+ validation?: {
1208
+ message: import("./TranslationConfig").TranslationConfig;
1209
+ validator: import(".").JSONSchema;
1210
+ }[] | undefined;
1211
+ required?: boolean | undefined;
1212
+ defaultValue?: string | undefined;
1213
+ conditionals?: ({
1214
+ type: "SHOW";
1215
+ conditional: import(".").JSONSchema;
1216
+ } | {
1217
+ type: "ENABLE";
1218
+ conditional: import(".").JSONSchema;
1219
+ } | {
1220
+ type: "DISPLAY_ON_REVIEW";
1221
+ conditional: import(".").JSONSchema;
1222
+ })[] | undefined;
1223
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1224
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1225
+ hideLabel?: boolean | undefined;
1226
+ } | {
1227
+ type: "ADMINISTRATIVE_AREA";
1228
+ id: string;
1229
+ label: import("./TranslationConfig").TranslationConfig;
1230
+ configuration: {
1231
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
1232
+ partOf?: {
1233
+ $declaration: string;
1234
+ } | undefined;
1235
+ };
1236
+ parent?: {
1237
+ _fieldId?: string | undefined;
1238
+ } | undefined;
1239
+ validation?: {
1240
+ message: import("./TranslationConfig").TranslationConfig;
1241
+ validator: import(".").JSONSchema;
1242
+ }[] | undefined;
1243
+ required?: boolean | undefined;
1244
+ defaultValue?: string | undefined;
1245
+ conditionals?: ({
1246
+ type: "SHOW";
1247
+ conditional: import(".").JSONSchema;
1248
+ } | {
1249
+ type: "ENABLE";
1250
+ conditional: import(".").JSONSchema;
1251
+ } | {
1252
+ type: "DISPLAY_ON_REVIEW";
1253
+ conditional: import(".").JSONSchema;
1254
+ })[] | undefined;
1255
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1256
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1257
+ hideLabel?: boolean | undefined;
1258
+ } | {
1259
+ type: "LOCATION";
1260
+ id: string;
1261
+ label: import("./TranslationConfig").TranslationConfig;
1262
+ parent?: {
1263
+ _fieldId?: string | undefined;
1264
+ } | undefined;
1265
+ validation?: {
1266
+ message: import("./TranslationConfig").TranslationConfig;
1267
+ validator: import(".").JSONSchema;
1268
+ }[] | undefined;
1269
+ required?: boolean | undefined;
1270
+ defaultValue?: string | undefined;
1271
+ conditionals?: ({
1272
+ type: "SHOW";
1273
+ conditional: import(".").JSONSchema;
1274
+ } | {
1275
+ type: "ENABLE";
1276
+ conditional: import(".").JSONSchema;
1277
+ } | {
1278
+ type: "DISPLAY_ON_REVIEW";
1279
+ conditional: import(".").JSONSchema;
1280
+ })[] | undefined;
1281
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1282
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1283
+ hideLabel?: boolean | undefined;
1284
+ } | {
1285
+ type: "FILE_WITH_OPTIONS";
1286
+ id: string;
1287
+ options: {
1288
+ value: string;
1289
+ label: import("./TranslationConfig").TranslationConfig;
1290
+ }[];
1291
+ label: import("./TranslationConfig").TranslationConfig;
1292
+ configuration: {
1293
+ maxFileSize: number;
1294
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1295
+ };
1296
+ parent?: {
1297
+ _fieldId?: string | undefined;
1298
+ } | undefined;
1299
+ validation?: {
1300
+ message: import("./TranslationConfig").TranslationConfig;
1301
+ validator: import(".").JSONSchema;
1302
+ }[] | undefined;
1303
+ required?: boolean | undefined;
1304
+ defaultValue?: string | number | boolean | undefined;
1305
+ conditionals?: ({
1306
+ type: "SHOW";
1307
+ conditional: import(".").JSONSchema;
1308
+ } | {
1309
+ type: "ENABLE";
1310
+ conditional: import(".").JSONSchema;
1311
+ } | {
1312
+ type: "DISPLAY_ON_REVIEW";
1313
+ conditional: import(".").JSONSchema;
1314
+ })[] | undefined;
1315
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1316
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1317
+ hideLabel?: boolean | undefined;
1318
+ } | {
1319
+ type: "FACILITY";
1320
+ id: string;
1321
+ label: import("./TranslationConfig").TranslationConfig;
1322
+ parent?: {
1323
+ _fieldId?: string | undefined;
1324
+ } | undefined;
1325
+ validation?: {
1326
+ message: import("./TranslationConfig").TranslationConfig;
1327
+ validator: import(".").JSONSchema;
1328
+ }[] | undefined;
1329
+ required?: boolean | undefined;
1330
+ defaultValue?: string | undefined;
1331
+ conditionals?: ({
1332
+ type: "SHOW";
1333
+ conditional: import(".").JSONSchema;
1334
+ } | {
1335
+ type: "ENABLE";
1336
+ conditional: import(".").JSONSchema;
1337
+ } | {
1338
+ type: "DISPLAY_ON_REVIEW";
1339
+ conditional: import(".").JSONSchema;
1340
+ })[] | undefined;
1341
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1342
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1343
+ hideLabel?: boolean | undefined;
1344
+ } | {
1345
+ type: "OFFICE";
1346
+ id: string;
1347
+ label: import("./TranslationConfig").TranslationConfig;
1348
+ parent?: {
1349
+ _fieldId?: string | undefined;
1350
+ } | undefined;
1351
+ validation?: {
1352
+ message: import("./TranslationConfig").TranslationConfig;
1353
+ validator: import(".").JSONSchema;
1354
+ }[] | undefined;
1355
+ required?: boolean | undefined;
1356
+ defaultValue?: string | undefined;
1357
+ conditionals?: ({
1358
+ type: "SHOW";
1359
+ conditional: import(".").JSONSchema;
1360
+ } | {
1361
+ type: "ENABLE";
1362
+ conditional: import(".").JSONSchema;
1363
+ } | {
1364
+ type: "DISPLAY_ON_REVIEW";
1365
+ conditional: import(".").JSONSchema;
1366
+ })[] | undefined;
1367
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1368
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1369
+ hideLabel?: boolean | undefined;
1370
+ } | {
1371
+ type: "ADDRESS";
1372
+ id: string;
1373
+ label: import("./TranslationConfig").TranslationConfig;
1374
+ parent?: {
1375
+ _fieldId?: string | undefined;
1376
+ } | undefined;
1377
+ validation?: {
1378
+ message: import("./TranslationConfig").TranslationConfig;
1379
+ validator: import(".").JSONSchema;
1380
+ }[] | undefined;
1381
+ required?: boolean | undefined;
1382
+ defaultValue?: {
1383
+ country: string;
1384
+ district: string;
1385
+ addressType: "DOMESTIC";
1386
+ province: string;
1387
+ urbanOrRural: "URBAN";
1388
+ number?: string | undefined;
1389
+ town?: string | undefined;
1390
+ residentialArea?: string | undefined;
1391
+ street?: string | undefined;
1392
+ zipCode?: string | undefined;
1393
+ } | {
1394
+ country: string;
1395
+ district: string;
1396
+ addressType: "DOMESTIC";
1397
+ province: string;
1398
+ urbanOrRural: "RURAL";
1399
+ village?: string | undefined;
1400
+ } | {
1401
+ country: string;
1402
+ state: string;
1403
+ addressType: "INTERNATIONAL";
1404
+ district2: string;
1405
+ cityOrTown?: string | undefined;
1406
+ addressLine1?: string | undefined;
1407
+ addressLine2?: string | undefined;
1408
+ addressLine3?: string | undefined;
1409
+ postcodeOrZip?: string | undefined;
1410
+ } | undefined;
1411
+ conditionals?: ({
1412
+ type: "SHOW";
1413
+ conditional: import(".").JSONSchema;
1414
+ } | {
1415
+ type: "ENABLE";
1416
+ conditional: import(".").JSONSchema;
1417
+ } | {
1418
+ type: "DISPLAY_ON_REVIEW";
1419
+ conditional: import(".").JSONSchema;
1420
+ })[] | undefined;
1421
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1422
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1423
+ hideLabel?: boolean | undefined;
1424
+ } | {
1425
+ type: "DATA";
1426
+ id: string;
1427
+ label: import("./TranslationConfig").TranslationConfig;
1428
+ configuration: {
1429
+ data: ({
1430
+ value: string | import("./TranslationConfig").TranslationConfig;
1431
+ label: import("./TranslationConfig").TranslationConfig;
1432
+ } | {
1433
+ fieldId: string;
1434
+ })[];
1435
+ subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
1436
+ };
1437
+ parent?: {
1438
+ _fieldId?: string | undefined;
1439
+ } | undefined;
1440
+ validation?: {
1441
+ message: import("./TranslationConfig").TranslationConfig;
1442
+ validator: import(".").JSONSchema;
1443
+ }[] | undefined;
1444
+ required?: boolean | undefined;
1445
+ defaultValue?: string | number | boolean | undefined;
1446
+ conditionals?: ({
1447
+ type: "SHOW";
1448
+ conditional: import(".").JSONSchema;
1449
+ } | {
1450
+ type: "ENABLE";
1451
+ conditional: import(".").JSONSchema;
1452
+ } | {
1453
+ type: "DISPLAY_ON_REVIEW";
1454
+ conditional: import(".").JSONSchema;
1455
+ })[] | undefined;
1456
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1457
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1458
+ hideLabel?: boolean | undefined;
1459
+ })[];
1460
+ };
1461
+ draft?: boolean | undefined;
1462
+ } | {
734
1463
  type: "DECLARE";
735
1464
  conditionals: ({
736
1465
  type: "SHOW";