@opencrvs/toolkit 1.8.0-rc.fe87a15 → 1.8.0-rc.fe8c092
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 +6884 -614
- package/dist/commons/conditionals/conditionals.d.ts +4 -0
- package/dist/commons/conditionals/validate.d.ts +6 -0
- package/dist/commons/events/ActionConfig.d.ts +18678 -6326
- package/dist/commons/events/ActionDocument.d.ts +1923 -414
- package/dist/commons/events/ActionInput.d.ts +1504 -304
- package/dist/commons/events/ActionType.d.ts +6 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +75 -3
- package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
- package/dist/commons/events/Constants.d.ts +1 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +254 -168
- package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
- package/dist/commons/events/Draft.d.ts +134 -33
- package/dist/commons/events/EventConfig.d.ts +8242 -2365
- package/dist/commons/events/EventDocument.d.ts +1242 -298
- package/dist/commons/events/EventIndex.d.ts +798 -123
- package/dist/commons/events/EventMetadata.d.ts +62 -59
- package/dist/commons/events/FieldConfig.d.ts +1572 -746
- package/dist/commons/events/FieldType.d.ts +4 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +89 -50
- package/dist/commons/events/FieldValue.d.ts +41 -5
- package/dist/commons/events/FormConfig.d.ts +7640 -2444
- package/dist/commons/events/PageConfig.d.ts +2816 -1540
- package/dist/commons/events/SummaryConfig.d.ts +0 -5
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +3277 -1512
- package/dist/commons/events/defineConfig.d.ts +959 -13
- package/dist/commons/events/field.d.ts +4 -0
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/scopes.d.ts +1 -2
- package/dist/commons/events/test.utils.d.ts +138 -40
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +9666 -16
- package/dist/conditionals/index.js +18 -1
- package/dist/events/index.js +1592 -1011
- package/dist/scopes/index.d.ts +4 -1
- package/dist/scopes/index.js +67 -17
- package/package.json +1 -1
@@ -444,6 +444,92 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
444
444
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
445
445
|
hideLabel?: boolean | undefined;
|
446
446
|
defaultValue?: string | undefined;
|
447
|
+
} | {
|
448
|
+
type: "NAME";
|
449
|
+
id: string;
|
450
|
+
label: import("./TranslationConfig").TranslationConfig;
|
451
|
+
parent?: {
|
452
|
+
$$field: string;
|
453
|
+
} | undefined;
|
454
|
+
validation?: {
|
455
|
+
message: import("./TranslationConfig").TranslationConfig;
|
456
|
+
validator: import(".").JSONSchema;
|
457
|
+
}[] | undefined;
|
458
|
+
required?: boolean | undefined;
|
459
|
+
conditionals?: ({
|
460
|
+
type: "SHOW";
|
461
|
+
conditional: import(".").JSONSchema;
|
462
|
+
} | {
|
463
|
+
type: "ENABLE";
|
464
|
+
conditional: import(".").JSONSchema;
|
465
|
+
} | {
|
466
|
+
type: "DISPLAY_ON_REVIEW";
|
467
|
+
conditional: import(".").JSONSchema;
|
468
|
+
})[] | undefined;
|
469
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
470
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
471
|
+
hideLabel?: boolean | undefined;
|
472
|
+
defaultValue?: {
|
473
|
+
firstname: string;
|
474
|
+
surname: string;
|
475
|
+
} | undefined;
|
476
|
+
configuration?: {
|
477
|
+
maxLength?: number | undefined;
|
478
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
479
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
480
|
+
} | undefined;
|
481
|
+
} | {
|
482
|
+
type: "PHONE";
|
483
|
+
id: string;
|
484
|
+
label: import("./TranslationConfig").TranslationConfig;
|
485
|
+
parent?: {
|
486
|
+
$$field: string;
|
487
|
+
} | undefined;
|
488
|
+
validation?: {
|
489
|
+
message: import("./TranslationConfig").TranslationConfig;
|
490
|
+
validator: import(".").JSONSchema;
|
491
|
+
}[] | undefined;
|
492
|
+
required?: boolean | undefined;
|
493
|
+
conditionals?: ({
|
494
|
+
type: "SHOW";
|
495
|
+
conditional: import(".").JSONSchema;
|
496
|
+
} | {
|
497
|
+
type: "ENABLE";
|
498
|
+
conditional: import(".").JSONSchema;
|
499
|
+
} | {
|
500
|
+
type: "DISPLAY_ON_REVIEW";
|
501
|
+
conditional: import(".").JSONSchema;
|
502
|
+
})[] | undefined;
|
503
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
504
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
505
|
+
hideLabel?: boolean | undefined;
|
506
|
+
defaultValue?: string | undefined;
|
507
|
+
} | {
|
508
|
+
type: "ID";
|
509
|
+
id: string;
|
510
|
+
label: import("./TranslationConfig").TranslationConfig;
|
511
|
+
parent?: {
|
512
|
+
$$field: string;
|
513
|
+
} | undefined;
|
514
|
+
validation?: {
|
515
|
+
message: import("./TranslationConfig").TranslationConfig;
|
516
|
+
validator: import(".").JSONSchema;
|
517
|
+
}[] | undefined;
|
518
|
+
required?: boolean | undefined;
|
519
|
+
conditionals?: ({
|
520
|
+
type: "SHOW";
|
521
|
+
conditional: import(".").JSONSchema;
|
522
|
+
} | {
|
523
|
+
type: "ENABLE";
|
524
|
+
conditional: import(".").JSONSchema;
|
525
|
+
} | {
|
526
|
+
type: "DISPLAY_ON_REVIEW";
|
527
|
+
conditional: import(".").JSONSchema;
|
528
|
+
})[] | undefined;
|
529
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
530
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
531
|
+
hideLabel?: boolean | undefined;
|
532
|
+
defaultValue?: string | undefined;
|
447
533
|
} | {
|
448
534
|
type: "CHECKBOX";
|
449
535
|
id: string;
|
@@ -1181,6 +1267,92 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1181
1267
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1182
1268
|
hideLabel?: boolean | undefined;
|
1183
1269
|
defaultValue?: string | undefined;
|
1270
|
+
} | {
|
1271
|
+
type: "NAME";
|
1272
|
+
id: string;
|
1273
|
+
label: import("./TranslationConfig").TranslationConfig;
|
1274
|
+
parent?: {
|
1275
|
+
$$field: string;
|
1276
|
+
} | undefined;
|
1277
|
+
validation?: {
|
1278
|
+
message: import("./TranslationConfig").TranslationConfig;
|
1279
|
+
validator: import(".").JSONSchema;
|
1280
|
+
}[] | undefined;
|
1281
|
+
required?: boolean | undefined;
|
1282
|
+
conditionals?: ({
|
1283
|
+
type: "SHOW";
|
1284
|
+
conditional: import(".").JSONSchema;
|
1285
|
+
} | {
|
1286
|
+
type: "ENABLE";
|
1287
|
+
conditional: import(".").JSONSchema;
|
1288
|
+
} | {
|
1289
|
+
type: "DISPLAY_ON_REVIEW";
|
1290
|
+
conditional: import(".").JSONSchema;
|
1291
|
+
})[] | undefined;
|
1292
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
1293
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1294
|
+
hideLabel?: boolean | undefined;
|
1295
|
+
defaultValue?: {
|
1296
|
+
firstname: string;
|
1297
|
+
surname: string;
|
1298
|
+
} | undefined;
|
1299
|
+
configuration?: {
|
1300
|
+
maxLength?: number | undefined;
|
1301
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1302
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1303
|
+
} | undefined;
|
1304
|
+
} | {
|
1305
|
+
type: "PHONE";
|
1306
|
+
id: string;
|
1307
|
+
label: import("./TranslationConfig").TranslationConfig;
|
1308
|
+
parent?: {
|
1309
|
+
$$field: string;
|
1310
|
+
} | undefined;
|
1311
|
+
validation?: {
|
1312
|
+
message: import("./TranslationConfig").TranslationConfig;
|
1313
|
+
validator: import(".").JSONSchema;
|
1314
|
+
}[] | undefined;
|
1315
|
+
required?: boolean | undefined;
|
1316
|
+
conditionals?: ({
|
1317
|
+
type: "SHOW";
|
1318
|
+
conditional: import(".").JSONSchema;
|
1319
|
+
} | {
|
1320
|
+
type: "ENABLE";
|
1321
|
+
conditional: import(".").JSONSchema;
|
1322
|
+
} | {
|
1323
|
+
type: "DISPLAY_ON_REVIEW";
|
1324
|
+
conditional: import(".").JSONSchema;
|
1325
|
+
})[] | undefined;
|
1326
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
1327
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1328
|
+
hideLabel?: boolean | undefined;
|
1329
|
+
defaultValue?: string | undefined;
|
1330
|
+
} | {
|
1331
|
+
type: "ID";
|
1332
|
+
id: string;
|
1333
|
+
label: import("./TranslationConfig").TranslationConfig;
|
1334
|
+
parent?: {
|
1335
|
+
$$field: string;
|
1336
|
+
} | undefined;
|
1337
|
+
validation?: {
|
1338
|
+
message: import("./TranslationConfig").TranslationConfig;
|
1339
|
+
validator: import(".").JSONSchema;
|
1340
|
+
}[] | undefined;
|
1341
|
+
required?: boolean | undefined;
|
1342
|
+
conditionals?: ({
|
1343
|
+
type: "SHOW";
|
1344
|
+
conditional: import(".").JSONSchema;
|
1345
|
+
} | {
|
1346
|
+
type: "ENABLE";
|
1347
|
+
conditional: import(".").JSONSchema;
|
1348
|
+
} | {
|
1349
|
+
type: "DISPLAY_ON_REVIEW";
|
1350
|
+
conditional: import(".").JSONSchema;
|
1351
|
+
})[] | undefined;
|
1352
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
1353
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1354
|
+
hideLabel?: boolean | undefined;
|
1355
|
+
defaultValue?: string | undefined;
|
1184
1356
|
} | {
|
1185
1357
|
type: "CHECKBOX";
|
1186
1358
|
id: string;
|
@@ -1917,6 +2089,92 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1917
2089
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1918
2090
|
hideLabel?: boolean | undefined;
|
1919
2091
|
defaultValue?: string | undefined;
|
2092
|
+
} | {
|
2093
|
+
type: "NAME";
|
2094
|
+
id: string;
|
2095
|
+
label: import("./TranslationConfig").TranslationConfig;
|
2096
|
+
parent?: {
|
2097
|
+
$$field: string;
|
2098
|
+
} | undefined;
|
2099
|
+
validation?: {
|
2100
|
+
message: import("./TranslationConfig").TranslationConfig;
|
2101
|
+
validator: import(".").JSONSchema;
|
2102
|
+
}[] | undefined;
|
2103
|
+
required?: boolean | undefined;
|
2104
|
+
conditionals?: ({
|
2105
|
+
type: "SHOW";
|
2106
|
+
conditional: import(".").JSONSchema;
|
2107
|
+
} | {
|
2108
|
+
type: "ENABLE";
|
2109
|
+
conditional: import(".").JSONSchema;
|
2110
|
+
} | {
|
2111
|
+
type: "DISPLAY_ON_REVIEW";
|
2112
|
+
conditional: import(".").JSONSchema;
|
2113
|
+
})[] | undefined;
|
2114
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
2115
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2116
|
+
hideLabel?: boolean | undefined;
|
2117
|
+
defaultValue?: {
|
2118
|
+
firstname: string;
|
2119
|
+
surname: string;
|
2120
|
+
} | undefined;
|
2121
|
+
configuration?: {
|
2122
|
+
maxLength?: number | undefined;
|
2123
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2124
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2125
|
+
} | undefined;
|
2126
|
+
} | {
|
2127
|
+
type: "PHONE";
|
2128
|
+
id: string;
|
2129
|
+
label: import("./TranslationConfig").TranslationConfig;
|
2130
|
+
parent?: {
|
2131
|
+
$$field: string;
|
2132
|
+
} | undefined;
|
2133
|
+
validation?: {
|
2134
|
+
message: import("./TranslationConfig").TranslationConfig;
|
2135
|
+
validator: import(".").JSONSchema;
|
2136
|
+
}[] | undefined;
|
2137
|
+
required?: boolean | undefined;
|
2138
|
+
conditionals?: ({
|
2139
|
+
type: "SHOW";
|
2140
|
+
conditional: import(".").JSONSchema;
|
2141
|
+
} | {
|
2142
|
+
type: "ENABLE";
|
2143
|
+
conditional: import(".").JSONSchema;
|
2144
|
+
} | {
|
2145
|
+
type: "DISPLAY_ON_REVIEW";
|
2146
|
+
conditional: import(".").JSONSchema;
|
2147
|
+
})[] | undefined;
|
2148
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
2149
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2150
|
+
hideLabel?: boolean | undefined;
|
2151
|
+
defaultValue?: string | undefined;
|
2152
|
+
} | {
|
2153
|
+
type: "ID";
|
2154
|
+
id: string;
|
2155
|
+
label: import("./TranslationConfig").TranslationConfig;
|
2156
|
+
parent?: {
|
2157
|
+
$$field: string;
|
2158
|
+
} | undefined;
|
2159
|
+
validation?: {
|
2160
|
+
message: import("./TranslationConfig").TranslationConfig;
|
2161
|
+
validator: import(".").JSONSchema;
|
2162
|
+
}[] | undefined;
|
2163
|
+
required?: boolean | undefined;
|
2164
|
+
conditionals?: ({
|
2165
|
+
type: "SHOW";
|
2166
|
+
conditional: import(".").JSONSchema;
|
2167
|
+
} | {
|
2168
|
+
type: "ENABLE";
|
2169
|
+
conditional: import(".").JSONSchema;
|
2170
|
+
} | {
|
2171
|
+
type: "DISPLAY_ON_REVIEW";
|
2172
|
+
conditional: import(".").JSONSchema;
|
2173
|
+
})[] | undefined;
|
2174
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
2175
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2176
|
+
hideLabel?: boolean | undefined;
|
2177
|
+
defaultValue?: string | undefined;
|
1920
2178
|
} | {
|
1921
2179
|
type: "CHECKBOX";
|
1922
2180
|
id: string;
|
@@ -2654,7 +2912,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2654
2912
|
hideLabel?: boolean | undefined;
|
2655
2913
|
defaultValue?: string | undefined;
|
2656
2914
|
} | {
|
2657
|
-
type: "
|
2915
|
+
type: "NAME";
|
2658
2916
|
id: string;
|
2659
2917
|
label: import("./TranslationConfig").TranslationConfig;
|
2660
2918
|
parent?: {
|
@@ -2678,9 +2936,17 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2678
2936
|
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
2679
2937
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2680
2938
|
hideLabel?: boolean | undefined;
|
2681
|
-
defaultValue?:
|
2939
|
+
defaultValue?: {
|
2940
|
+
firstname: string;
|
2941
|
+
surname: string;
|
2942
|
+
} | undefined;
|
2943
|
+
configuration?: {
|
2944
|
+
maxLength?: number | undefined;
|
2945
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2946
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2947
|
+
} | undefined;
|
2682
2948
|
} | {
|
2683
|
-
type: "
|
2949
|
+
type: "PHONE";
|
2684
2950
|
id: string;
|
2685
2951
|
label: import("./TranslationConfig").TranslationConfig;
|
2686
2952
|
parent?: {
|
@@ -2706,11 +2972,89 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2706
2972
|
hideLabel?: boolean | undefined;
|
2707
2973
|
defaultValue?: string | undefined;
|
2708
2974
|
} | {
|
2709
|
-
type: "
|
2975
|
+
type: "ID";
|
2710
2976
|
id: string;
|
2711
2977
|
label: import("./TranslationConfig").TranslationConfig;
|
2712
|
-
|
2713
|
-
|
2978
|
+
parent?: {
|
2979
|
+
$$field: string;
|
2980
|
+
} | undefined;
|
2981
|
+
validation?: {
|
2982
|
+
message: import("./TranslationConfig").TranslationConfig;
|
2983
|
+
validator: import(".").JSONSchema;
|
2984
|
+
}[] | undefined;
|
2985
|
+
required?: boolean | undefined;
|
2986
|
+
conditionals?: ({
|
2987
|
+
type: "SHOW";
|
2988
|
+
conditional: import(".").JSONSchema;
|
2989
|
+
} | {
|
2990
|
+
type: "ENABLE";
|
2991
|
+
conditional: import(".").JSONSchema;
|
2992
|
+
} | {
|
2993
|
+
type: "DISPLAY_ON_REVIEW";
|
2994
|
+
conditional: import(".").JSONSchema;
|
2995
|
+
})[] | undefined;
|
2996
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
2997
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2998
|
+
hideLabel?: boolean | undefined;
|
2999
|
+
defaultValue?: string | undefined;
|
3000
|
+
} | {
|
3001
|
+
type: "CHECKBOX";
|
3002
|
+
id: string;
|
3003
|
+
label: import("./TranslationConfig").TranslationConfig;
|
3004
|
+
parent?: {
|
3005
|
+
$$field: string;
|
3006
|
+
} | undefined;
|
3007
|
+
validation?: {
|
3008
|
+
message: import("./TranslationConfig").TranslationConfig;
|
3009
|
+
validator: import(".").JSONSchema;
|
3010
|
+
}[] | undefined;
|
3011
|
+
required?: boolean | undefined;
|
3012
|
+
conditionals?: ({
|
3013
|
+
type: "SHOW";
|
3014
|
+
conditional: import(".").JSONSchema;
|
3015
|
+
} | {
|
3016
|
+
type: "ENABLE";
|
3017
|
+
conditional: import(".").JSONSchema;
|
3018
|
+
} | {
|
3019
|
+
type: "DISPLAY_ON_REVIEW";
|
3020
|
+
conditional: import(".").JSONSchema;
|
3021
|
+
})[] | undefined;
|
3022
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
3023
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3024
|
+
hideLabel?: boolean | undefined;
|
3025
|
+
defaultValue?: boolean | undefined;
|
3026
|
+
} | {
|
3027
|
+
type: "COUNTRY";
|
3028
|
+
id: string;
|
3029
|
+
label: import("./TranslationConfig").TranslationConfig;
|
3030
|
+
parent?: {
|
3031
|
+
$$field: string;
|
3032
|
+
} | undefined;
|
3033
|
+
validation?: {
|
3034
|
+
message: import("./TranslationConfig").TranslationConfig;
|
3035
|
+
validator: import(".").JSONSchema;
|
3036
|
+
}[] | undefined;
|
3037
|
+
required?: boolean | undefined;
|
3038
|
+
conditionals?: ({
|
3039
|
+
type: "SHOW";
|
3040
|
+
conditional: import(".").JSONSchema;
|
3041
|
+
} | {
|
3042
|
+
type: "ENABLE";
|
3043
|
+
conditional: import(".").JSONSchema;
|
3044
|
+
} | {
|
3045
|
+
type: "DISPLAY_ON_REVIEW";
|
3046
|
+
conditional: import(".").JSONSchema;
|
3047
|
+
})[] | undefined;
|
3048
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
3049
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3050
|
+
hideLabel?: boolean | undefined;
|
3051
|
+
defaultValue?: string | undefined;
|
3052
|
+
} | {
|
3053
|
+
type: "ADMINISTRATIVE_AREA";
|
3054
|
+
id: string;
|
3055
|
+
label: import("./TranslationConfig").TranslationConfig;
|
3056
|
+
configuration: {
|
3057
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2714
3058
|
partOf?: {
|
2715
3059
|
$declaration: string;
|
2716
3060
|
} | undefined;
|
@@ -3389,6 +3733,92 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3389
3733
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3390
3734
|
hideLabel?: boolean | undefined;
|
3391
3735
|
defaultValue?: string | undefined;
|
3736
|
+
} | {
|
3737
|
+
type: "NAME";
|
3738
|
+
id: string;
|
3739
|
+
label: import("./TranslationConfig").TranslationConfig;
|
3740
|
+
parent?: {
|
3741
|
+
$$field: string;
|
3742
|
+
} | undefined;
|
3743
|
+
validation?: {
|
3744
|
+
message: import("./TranslationConfig").TranslationConfig;
|
3745
|
+
validator: import(".").JSONSchema;
|
3746
|
+
}[] | undefined;
|
3747
|
+
required?: boolean | undefined;
|
3748
|
+
conditionals?: ({
|
3749
|
+
type: "SHOW";
|
3750
|
+
conditional: import(".").JSONSchema;
|
3751
|
+
} | {
|
3752
|
+
type: "ENABLE";
|
3753
|
+
conditional: import(".").JSONSchema;
|
3754
|
+
} | {
|
3755
|
+
type: "DISPLAY_ON_REVIEW";
|
3756
|
+
conditional: import(".").JSONSchema;
|
3757
|
+
})[] | undefined;
|
3758
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
3759
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3760
|
+
hideLabel?: boolean | undefined;
|
3761
|
+
defaultValue?: {
|
3762
|
+
firstname: string;
|
3763
|
+
surname: string;
|
3764
|
+
} | undefined;
|
3765
|
+
configuration?: {
|
3766
|
+
maxLength?: number | undefined;
|
3767
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3768
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3769
|
+
} | undefined;
|
3770
|
+
} | {
|
3771
|
+
type: "PHONE";
|
3772
|
+
id: string;
|
3773
|
+
label: import("./TranslationConfig").TranslationConfig;
|
3774
|
+
parent?: {
|
3775
|
+
$$field: string;
|
3776
|
+
} | undefined;
|
3777
|
+
validation?: {
|
3778
|
+
message: import("./TranslationConfig").TranslationConfig;
|
3779
|
+
validator: import(".").JSONSchema;
|
3780
|
+
}[] | undefined;
|
3781
|
+
required?: boolean | undefined;
|
3782
|
+
conditionals?: ({
|
3783
|
+
type: "SHOW";
|
3784
|
+
conditional: import(".").JSONSchema;
|
3785
|
+
} | {
|
3786
|
+
type: "ENABLE";
|
3787
|
+
conditional: import(".").JSONSchema;
|
3788
|
+
} | {
|
3789
|
+
type: "DISPLAY_ON_REVIEW";
|
3790
|
+
conditional: import(".").JSONSchema;
|
3791
|
+
})[] | undefined;
|
3792
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
3793
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3794
|
+
hideLabel?: boolean | undefined;
|
3795
|
+
defaultValue?: string | undefined;
|
3796
|
+
} | {
|
3797
|
+
type: "ID";
|
3798
|
+
id: string;
|
3799
|
+
label: import("./TranslationConfig").TranslationConfig;
|
3800
|
+
parent?: {
|
3801
|
+
$$field: string;
|
3802
|
+
} | undefined;
|
3803
|
+
validation?: {
|
3804
|
+
message: import("./TranslationConfig").TranslationConfig;
|
3805
|
+
validator: import(".").JSONSchema;
|
3806
|
+
}[] | undefined;
|
3807
|
+
required?: boolean | undefined;
|
3808
|
+
conditionals?: ({
|
3809
|
+
type: "SHOW";
|
3810
|
+
conditional: import(".").JSONSchema;
|
3811
|
+
} | {
|
3812
|
+
type: "ENABLE";
|
3813
|
+
conditional: import(".").JSONSchema;
|
3814
|
+
} | {
|
3815
|
+
type: "DISPLAY_ON_REVIEW";
|
3816
|
+
conditional: import(".").JSONSchema;
|
3817
|
+
})[] | undefined;
|
3818
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
3819
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3820
|
+
hideLabel?: boolean | undefined;
|
3821
|
+
defaultValue?: string | undefined;
|
3392
3822
|
} | {
|
3393
3823
|
type: "CHECKBOX";
|
3394
3824
|
id: string;
|
@@ -4173,6 +4603,92 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4173
4603
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4174
4604
|
hideLabel?: boolean | undefined;
|
4175
4605
|
defaultValue?: string | undefined;
|
4606
|
+
} | {
|
4607
|
+
type: "NAME";
|
4608
|
+
id: string;
|
4609
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4610
|
+
parent?: {
|
4611
|
+
$$field: string;
|
4612
|
+
} | undefined;
|
4613
|
+
validation?: {
|
4614
|
+
message: import("./TranslationConfig").TranslationConfig;
|
4615
|
+
validator: import(".").JSONSchema;
|
4616
|
+
}[] | undefined;
|
4617
|
+
required?: boolean | undefined;
|
4618
|
+
conditionals?: ({
|
4619
|
+
type: "SHOW";
|
4620
|
+
conditional: import(".").JSONSchema;
|
4621
|
+
} | {
|
4622
|
+
type: "ENABLE";
|
4623
|
+
conditional: import(".").JSONSchema;
|
4624
|
+
} | {
|
4625
|
+
type: "DISPLAY_ON_REVIEW";
|
4626
|
+
conditional: import(".").JSONSchema;
|
4627
|
+
})[] | undefined;
|
4628
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
4629
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4630
|
+
hideLabel?: boolean | undefined;
|
4631
|
+
defaultValue?: {
|
4632
|
+
firstname: string;
|
4633
|
+
surname: string;
|
4634
|
+
} | undefined;
|
4635
|
+
configuration?: {
|
4636
|
+
maxLength?: number | undefined;
|
4637
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4638
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4639
|
+
} | undefined;
|
4640
|
+
} | {
|
4641
|
+
type: "PHONE";
|
4642
|
+
id: string;
|
4643
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4644
|
+
parent?: {
|
4645
|
+
$$field: string;
|
4646
|
+
} | undefined;
|
4647
|
+
validation?: {
|
4648
|
+
message: import("./TranslationConfig").TranslationConfig;
|
4649
|
+
validator: import(".").JSONSchema;
|
4650
|
+
}[] | undefined;
|
4651
|
+
required?: boolean | undefined;
|
4652
|
+
conditionals?: ({
|
4653
|
+
type: "SHOW";
|
4654
|
+
conditional: import(".").JSONSchema;
|
4655
|
+
} | {
|
4656
|
+
type: "ENABLE";
|
4657
|
+
conditional: import(".").JSONSchema;
|
4658
|
+
} | {
|
4659
|
+
type: "DISPLAY_ON_REVIEW";
|
4660
|
+
conditional: import(".").JSONSchema;
|
4661
|
+
})[] | undefined;
|
4662
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
4663
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4664
|
+
hideLabel?: boolean | undefined;
|
4665
|
+
defaultValue?: string | undefined;
|
4666
|
+
} | {
|
4667
|
+
type: "ID";
|
4668
|
+
id: string;
|
4669
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4670
|
+
parent?: {
|
4671
|
+
$$field: string;
|
4672
|
+
} | undefined;
|
4673
|
+
validation?: {
|
4674
|
+
message: import("./TranslationConfig").TranslationConfig;
|
4675
|
+
validator: import(".").JSONSchema;
|
4676
|
+
}[] | undefined;
|
4677
|
+
required?: boolean | undefined;
|
4678
|
+
conditionals?: ({
|
4679
|
+
type: "SHOW";
|
4680
|
+
conditional: import(".").JSONSchema;
|
4681
|
+
} | {
|
4682
|
+
type: "ENABLE";
|
4683
|
+
conditional: import(".").JSONSchema;
|
4684
|
+
} | {
|
4685
|
+
type: "DISPLAY_ON_REVIEW";
|
4686
|
+
conditional: import(".").JSONSchema;
|
4687
|
+
})[] | undefined;
|
4688
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
4689
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4690
|
+
hideLabel?: boolean | undefined;
|
4691
|
+
defaultValue?: string | undefined;
|
4176
4692
|
} | {
|
4177
4693
|
type: "CHECKBOX";
|
4178
4694
|
id: string;
|
@@ -4913,7 +5429,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4913
5429
|
hideLabel?: boolean | undefined;
|
4914
5430
|
defaultValue?: string | undefined;
|
4915
5431
|
} | {
|
4916
|
-
type: "
|
5432
|
+
type: "NAME";
|
4917
5433
|
id: string;
|
4918
5434
|
label: import("./TranslationConfig").TranslationConfig;
|
4919
5435
|
parent?: {
|
@@ -4937,9 +5453,17 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4937
5453
|
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
4938
5454
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4939
5455
|
hideLabel?: boolean | undefined;
|
4940
|
-
defaultValue?:
|
5456
|
+
defaultValue?: {
|
5457
|
+
firstname: string;
|
5458
|
+
surname: string;
|
5459
|
+
} | undefined;
|
5460
|
+
configuration?: {
|
5461
|
+
maxLength?: number | undefined;
|
5462
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5463
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5464
|
+
} | undefined;
|
4941
5465
|
} | {
|
4942
|
-
type: "
|
5466
|
+
type: "PHONE";
|
4943
5467
|
id: string;
|
4944
5468
|
label: import("./TranslationConfig").TranslationConfig;
|
4945
5469
|
parent?: {
|
@@ -4965,12 +5489,90 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4965
5489
|
hideLabel?: boolean | undefined;
|
4966
5490
|
defaultValue?: string | undefined;
|
4967
5491
|
} | {
|
4968
|
-
type: "
|
5492
|
+
type: "ID";
|
4969
5493
|
id: string;
|
4970
5494
|
label: import("./TranslationConfig").TranslationConfig;
|
4971
|
-
|
4972
|
-
|
4973
|
-
|
5495
|
+
parent?: {
|
5496
|
+
$$field: string;
|
5497
|
+
} | undefined;
|
5498
|
+
validation?: {
|
5499
|
+
message: import("./TranslationConfig").TranslationConfig;
|
5500
|
+
validator: import(".").JSONSchema;
|
5501
|
+
}[] | undefined;
|
5502
|
+
required?: boolean | undefined;
|
5503
|
+
conditionals?: ({
|
5504
|
+
type: "SHOW";
|
5505
|
+
conditional: import(".").JSONSchema;
|
5506
|
+
} | {
|
5507
|
+
type: "ENABLE";
|
5508
|
+
conditional: import(".").JSONSchema;
|
5509
|
+
} | {
|
5510
|
+
type: "DISPLAY_ON_REVIEW";
|
5511
|
+
conditional: import(".").JSONSchema;
|
5512
|
+
})[] | undefined;
|
5513
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
5514
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5515
|
+
hideLabel?: boolean | undefined;
|
5516
|
+
defaultValue?: string | undefined;
|
5517
|
+
} | {
|
5518
|
+
type: "CHECKBOX";
|
5519
|
+
id: string;
|
5520
|
+
label: import("./TranslationConfig").TranslationConfig;
|
5521
|
+
parent?: {
|
5522
|
+
$$field: string;
|
5523
|
+
} | undefined;
|
5524
|
+
validation?: {
|
5525
|
+
message: import("./TranslationConfig").TranslationConfig;
|
5526
|
+
validator: import(".").JSONSchema;
|
5527
|
+
}[] | undefined;
|
5528
|
+
required?: boolean | undefined;
|
5529
|
+
conditionals?: ({
|
5530
|
+
type: "SHOW";
|
5531
|
+
conditional: import(".").JSONSchema;
|
5532
|
+
} | {
|
5533
|
+
type: "ENABLE";
|
5534
|
+
conditional: import(".").JSONSchema;
|
5535
|
+
} | {
|
5536
|
+
type: "DISPLAY_ON_REVIEW";
|
5537
|
+
conditional: import(".").JSONSchema;
|
5538
|
+
})[] | undefined;
|
5539
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
5540
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5541
|
+
hideLabel?: boolean | undefined;
|
5542
|
+
defaultValue?: boolean | undefined;
|
5543
|
+
} | {
|
5544
|
+
type: "COUNTRY";
|
5545
|
+
id: string;
|
5546
|
+
label: import("./TranslationConfig").TranslationConfig;
|
5547
|
+
parent?: {
|
5548
|
+
$$field: string;
|
5549
|
+
} | undefined;
|
5550
|
+
validation?: {
|
5551
|
+
message: import("./TranslationConfig").TranslationConfig;
|
5552
|
+
validator: import(".").JSONSchema;
|
5553
|
+
}[] | undefined;
|
5554
|
+
required?: boolean | undefined;
|
5555
|
+
conditionals?: ({
|
5556
|
+
type: "SHOW";
|
5557
|
+
conditional: import(".").JSONSchema;
|
5558
|
+
} | {
|
5559
|
+
type: "ENABLE";
|
5560
|
+
conditional: import(".").JSONSchema;
|
5561
|
+
} | {
|
5562
|
+
type: "DISPLAY_ON_REVIEW";
|
5563
|
+
conditional: import(".").JSONSchema;
|
5564
|
+
})[] | undefined;
|
5565
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
5566
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5567
|
+
hideLabel?: boolean | undefined;
|
5568
|
+
defaultValue?: string | undefined;
|
5569
|
+
} | {
|
5570
|
+
type: "ADMINISTRATIVE_AREA";
|
5571
|
+
id: string;
|
5572
|
+
label: import("./TranslationConfig").TranslationConfig;
|
5573
|
+
configuration: {
|
5574
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
5575
|
+
partOf?: {
|
4974
5576
|
$declaration: string;
|
4975
5577
|
} | undefined;
|
4976
5578
|
};
|
@@ -5652,6 +6254,92 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5652
6254
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5653
6255
|
hideLabel?: boolean | undefined;
|
5654
6256
|
defaultValue?: string | undefined;
|
6257
|
+
} | {
|
6258
|
+
type: "NAME";
|
6259
|
+
id: string;
|
6260
|
+
label: import("./TranslationConfig").TranslationConfig;
|
6261
|
+
parent?: {
|
6262
|
+
$$field: string;
|
6263
|
+
} | undefined;
|
6264
|
+
validation?: {
|
6265
|
+
message: import("./TranslationConfig").TranslationConfig;
|
6266
|
+
validator: import(".").JSONSchema;
|
6267
|
+
}[] | undefined;
|
6268
|
+
required?: boolean | undefined;
|
6269
|
+
conditionals?: ({
|
6270
|
+
type: "SHOW";
|
6271
|
+
conditional: import(".").JSONSchema;
|
6272
|
+
} | {
|
6273
|
+
type: "ENABLE";
|
6274
|
+
conditional: import(".").JSONSchema;
|
6275
|
+
} | {
|
6276
|
+
type: "DISPLAY_ON_REVIEW";
|
6277
|
+
conditional: import(".").JSONSchema;
|
6278
|
+
})[] | undefined;
|
6279
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
6280
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6281
|
+
hideLabel?: boolean | undefined;
|
6282
|
+
defaultValue?: {
|
6283
|
+
firstname: string;
|
6284
|
+
surname: string;
|
6285
|
+
} | undefined;
|
6286
|
+
configuration?: {
|
6287
|
+
maxLength?: number | undefined;
|
6288
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6289
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6290
|
+
} | undefined;
|
6291
|
+
} | {
|
6292
|
+
type: "PHONE";
|
6293
|
+
id: string;
|
6294
|
+
label: import("./TranslationConfig").TranslationConfig;
|
6295
|
+
parent?: {
|
6296
|
+
$$field: string;
|
6297
|
+
} | undefined;
|
6298
|
+
validation?: {
|
6299
|
+
message: import("./TranslationConfig").TranslationConfig;
|
6300
|
+
validator: import(".").JSONSchema;
|
6301
|
+
}[] | undefined;
|
6302
|
+
required?: boolean | undefined;
|
6303
|
+
conditionals?: ({
|
6304
|
+
type: "SHOW";
|
6305
|
+
conditional: import(".").JSONSchema;
|
6306
|
+
} | {
|
6307
|
+
type: "ENABLE";
|
6308
|
+
conditional: import(".").JSONSchema;
|
6309
|
+
} | {
|
6310
|
+
type: "DISPLAY_ON_REVIEW";
|
6311
|
+
conditional: import(".").JSONSchema;
|
6312
|
+
})[] | undefined;
|
6313
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
6314
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6315
|
+
hideLabel?: boolean | undefined;
|
6316
|
+
defaultValue?: string | undefined;
|
6317
|
+
} | {
|
6318
|
+
type: "ID";
|
6319
|
+
id: string;
|
6320
|
+
label: import("./TranslationConfig").TranslationConfig;
|
6321
|
+
parent?: {
|
6322
|
+
$$field: string;
|
6323
|
+
} | undefined;
|
6324
|
+
validation?: {
|
6325
|
+
message: import("./TranslationConfig").TranslationConfig;
|
6326
|
+
validator: import(".").JSONSchema;
|
6327
|
+
}[] | undefined;
|
6328
|
+
required?: boolean | undefined;
|
6329
|
+
conditionals?: ({
|
6330
|
+
type: "SHOW";
|
6331
|
+
conditional: import(".").JSONSchema;
|
6332
|
+
} | {
|
6333
|
+
type: "ENABLE";
|
6334
|
+
conditional: import(".").JSONSchema;
|
6335
|
+
} | {
|
6336
|
+
type: "DISPLAY_ON_REVIEW";
|
6337
|
+
conditional: import(".").JSONSchema;
|
6338
|
+
})[] | undefined;
|
6339
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
6340
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6341
|
+
hideLabel?: boolean | undefined;
|
6342
|
+
defaultValue?: string | undefined;
|
5655
6343
|
} | {
|
5656
6344
|
type: "CHECKBOX";
|
5657
6345
|
id: string;
|
@@ -6391,6 +7079,92 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6391
7079
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6392
7080
|
hideLabel?: boolean | undefined;
|
6393
7081
|
defaultValue?: string | undefined;
|
7082
|
+
} | {
|
7083
|
+
type: "NAME";
|
7084
|
+
id: string;
|
7085
|
+
label: import("./TranslationConfig").TranslationConfig;
|
7086
|
+
parent?: {
|
7087
|
+
$$field: string;
|
7088
|
+
} | undefined;
|
7089
|
+
validation?: {
|
7090
|
+
message: import("./TranslationConfig").TranslationConfig;
|
7091
|
+
validator: import(".").JSONSchema;
|
7092
|
+
}[] | undefined;
|
7093
|
+
required?: boolean | undefined;
|
7094
|
+
conditionals?: ({
|
7095
|
+
type: "SHOW";
|
7096
|
+
conditional: import(".").JSONSchema;
|
7097
|
+
} | {
|
7098
|
+
type: "ENABLE";
|
7099
|
+
conditional: import(".").JSONSchema;
|
7100
|
+
} | {
|
7101
|
+
type: "DISPLAY_ON_REVIEW";
|
7102
|
+
conditional: import(".").JSONSchema;
|
7103
|
+
})[] | undefined;
|
7104
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7105
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7106
|
+
hideLabel?: boolean | undefined;
|
7107
|
+
defaultValue?: {
|
7108
|
+
firstname: string;
|
7109
|
+
surname: string;
|
7110
|
+
} | undefined;
|
7111
|
+
configuration?: {
|
7112
|
+
maxLength?: number | undefined;
|
7113
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7114
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7115
|
+
} | undefined;
|
7116
|
+
} | {
|
7117
|
+
type: "PHONE";
|
7118
|
+
id: string;
|
7119
|
+
label: import("./TranslationConfig").TranslationConfig;
|
7120
|
+
parent?: {
|
7121
|
+
$$field: string;
|
7122
|
+
} | undefined;
|
7123
|
+
validation?: {
|
7124
|
+
message: import("./TranslationConfig").TranslationConfig;
|
7125
|
+
validator: import(".").JSONSchema;
|
7126
|
+
}[] | undefined;
|
7127
|
+
required?: boolean | undefined;
|
7128
|
+
conditionals?: ({
|
7129
|
+
type: "SHOW";
|
7130
|
+
conditional: import(".").JSONSchema;
|
7131
|
+
} | {
|
7132
|
+
type: "ENABLE";
|
7133
|
+
conditional: import(".").JSONSchema;
|
7134
|
+
} | {
|
7135
|
+
type: "DISPLAY_ON_REVIEW";
|
7136
|
+
conditional: import(".").JSONSchema;
|
7137
|
+
})[] | undefined;
|
7138
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7139
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7140
|
+
hideLabel?: boolean | undefined;
|
7141
|
+
defaultValue?: string | undefined;
|
7142
|
+
} | {
|
7143
|
+
type: "ID";
|
7144
|
+
id: string;
|
7145
|
+
label: import("./TranslationConfig").TranslationConfig;
|
7146
|
+
parent?: {
|
7147
|
+
$$field: string;
|
7148
|
+
} | undefined;
|
7149
|
+
validation?: {
|
7150
|
+
message: import("./TranslationConfig").TranslationConfig;
|
7151
|
+
validator: import(".").JSONSchema;
|
7152
|
+
}[] | undefined;
|
7153
|
+
required?: boolean | undefined;
|
7154
|
+
conditionals?: ({
|
7155
|
+
type: "SHOW";
|
7156
|
+
conditional: import(".").JSONSchema;
|
7157
|
+
} | {
|
7158
|
+
type: "ENABLE";
|
7159
|
+
conditional: import(".").JSONSchema;
|
7160
|
+
} | {
|
7161
|
+
type: "DISPLAY_ON_REVIEW";
|
7162
|
+
conditional: import(".").JSONSchema;
|
7163
|
+
})[] | undefined;
|
7164
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7165
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7166
|
+
hideLabel?: boolean | undefined;
|
7167
|
+
defaultValue?: string | undefined;
|
6394
7168
|
} | {
|
6395
7169
|
type: "CHECKBOX";
|
6396
7170
|
id: string;
|
@@ -7119,6 +7893,92 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7119
7893
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7120
7894
|
hideLabel?: boolean | undefined;
|
7121
7895
|
defaultValue?: string | undefined;
|
7896
|
+
} | {
|
7897
|
+
type: "NAME";
|
7898
|
+
id: string;
|
7899
|
+
label: import("./TranslationConfig").TranslationConfig;
|
7900
|
+
parent?: {
|
7901
|
+
$$field: string;
|
7902
|
+
} | undefined;
|
7903
|
+
validation?: {
|
7904
|
+
message: import("./TranslationConfig").TranslationConfig;
|
7905
|
+
validator: import(".").JSONSchema;
|
7906
|
+
}[] | undefined;
|
7907
|
+
required?: boolean | undefined;
|
7908
|
+
conditionals?: ({
|
7909
|
+
type: "SHOW";
|
7910
|
+
conditional: import(".").JSONSchema;
|
7911
|
+
} | {
|
7912
|
+
type: "ENABLE";
|
7913
|
+
conditional: import(".").JSONSchema;
|
7914
|
+
} | {
|
7915
|
+
type: "DISPLAY_ON_REVIEW";
|
7916
|
+
conditional: import(".").JSONSchema;
|
7917
|
+
})[] | undefined;
|
7918
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7919
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7920
|
+
hideLabel?: boolean | undefined;
|
7921
|
+
defaultValue?: {
|
7922
|
+
firstname: string;
|
7923
|
+
surname: string;
|
7924
|
+
} | undefined;
|
7925
|
+
configuration?: {
|
7926
|
+
maxLength?: number | undefined;
|
7927
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7928
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7929
|
+
} | undefined;
|
7930
|
+
} | {
|
7931
|
+
type: "PHONE";
|
7932
|
+
id: string;
|
7933
|
+
label: import("./TranslationConfig").TranslationConfig;
|
7934
|
+
parent?: {
|
7935
|
+
$$field: string;
|
7936
|
+
} | undefined;
|
7937
|
+
validation?: {
|
7938
|
+
message: import("./TranslationConfig").TranslationConfig;
|
7939
|
+
validator: import(".").JSONSchema;
|
7940
|
+
}[] | undefined;
|
7941
|
+
required?: boolean | undefined;
|
7942
|
+
conditionals?: ({
|
7943
|
+
type: "SHOW";
|
7944
|
+
conditional: import(".").JSONSchema;
|
7945
|
+
} | {
|
7946
|
+
type: "ENABLE";
|
7947
|
+
conditional: import(".").JSONSchema;
|
7948
|
+
} | {
|
7949
|
+
type: "DISPLAY_ON_REVIEW";
|
7950
|
+
conditional: import(".").JSONSchema;
|
7951
|
+
})[] | undefined;
|
7952
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7953
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7954
|
+
hideLabel?: boolean | undefined;
|
7955
|
+
defaultValue?: string | undefined;
|
7956
|
+
} | {
|
7957
|
+
type: "ID";
|
7958
|
+
id: string;
|
7959
|
+
label: import("./TranslationConfig").TranslationConfig;
|
7960
|
+
parent?: {
|
7961
|
+
$$field: string;
|
7962
|
+
} | undefined;
|
7963
|
+
validation?: {
|
7964
|
+
message: import("./TranslationConfig").TranslationConfig;
|
7965
|
+
validator: import(".").JSONSchema;
|
7966
|
+
}[] | undefined;
|
7967
|
+
required?: boolean | undefined;
|
7968
|
+
conditionals?: ({
|
7969
|
+
type: "SHOW";
|
7970
|
+
conditional: import(".").JSONSchema;
|
7971
|
+
} | {
|
7972
|
+
type: "ENABLE";
|
7973
|
+
conditional: import(".").JSONSchema;
|
7974
|
+
} | {
|
7975
|
+
type: "DISPLAY_ON_REVIEW";
|
7976
|
+
conditional: import(".").JSONSchema;
|
7977
|
+
})[] | undefined;
|
7978
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7979
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7980
|
+
hideLabel?: boolean | undefined;
|
7981
|
+
defaultValue?: string | undefined;
|
7122
7982
|
} | {
|
7123
7983
|
type: "CHECKBOX";
|
7124
7984
|
id: string;
|
@@ -7858,6 +8718,92 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7858
8718
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7859
8719
|
hideLabel?: boolean | undefined;
|
7860
8720
|
defaultValue?: string | undefined;
|
8721
|
+
} | {
|
8722
|
+
type: "NAME";
|
8723
|
+
id: string;
|
8724
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8725
|
+
parent?: {
|
8726
|
+
$$field: string;
|
8727
|
+
} | undefined;
|
8728
|
+
validation?: {
|
8729
|
+
message: import("./TranslationConfig").TranslationConfig;
|
8730
|
+
validator: import(".").JSONSchema;
|
8731
|
+
}[] | undefined;
|
8732
|
+
required?: boolean | undefined;
|
8733
|
+
conditionals?: ({
|
8734
|
+
type: "SHOW";
|
8735
|
+
conditional: import(".").JSONSchema;
|
8736
|
+
} | {
|
8737
|
+
type: "ENABLE";
|
8738
|
+
conditional: import(".").JSONSchema;
|
8739
|
+
} | {
|
8740
|
+
type: "DISPLAY_ON_REVIEW";
|
8741
|
+
conditional: import(".").JSONSchema;
|
8742
|
+
})[] | undefined;
|
8743
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
8744
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8745
|
+
hideLabel?: boolean | undefined;
|
8746
|
+
defaultValue?: {
|
8747
|
+
firstname: string;
|
8748
|
+
surname: string;
|
8749
|
+
} | undefined;
|
8750
|
+
configuration?: {
|
8751
|
+
maxLength?: number | undefined;
|
8752
|
+
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8753
|
+
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8754
|
+
} | undefined;
|
8755
|
+
} | {
|
8756
|
+
type: "PHONE";
|
8757
|
+
id: string;
|
8758
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8759
|
+
parent?: {
|
8760
|
+
$$field: string;
|
8761
|
+
} | undefined;
|
8762
|
+
validation?: {
|
8763
|
+
message: import("./TranslationConfig").TranslationConfig;
|
8764
|
+
validator: import(".").JSONSchema;
|
8765
|
+
}[] | undefined;
|
8766
|
+
required?: boolean | undefined;
|
8767
|
+
conditionals?: ({
|
8768
|
+
type: "SHOW";
|
8769
|
+
conditional: import(".").JSONSchema;
|
8770
|
+
} | {
|
8771
|
+
type: "ENABLE";
|
8772
|
+
conditional: import(".").JSONSchema;
|
8773
|
+
} | {
|
8774
|
+
type: "DISPLAY_ON_REVIEW";
|
8775
|
+
conditional: import(".").JSONSchema;
|
8776
|
+
})[] | undefined;
|
8777
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
8778
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8779
|
+
hideLabel?: boolean | undefined;
|
8780
|
+
defaultValue?: string | undefined;
|
8781
|
+
} | {
|
8782
|
+
type: "ID";
|
8783
|
+
id: string;
|
8784
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8785
|
+
parent?: {
|
8786
|
+
$$field: string;
|
8787
|
+
} | undefined;
|
8788
|
+
validation?: {
|
8789
|
+
message: import("./TranslationConfig").TranslationConfig;
|
8790
|
+
validator: import(".").JSONSchema;
|
8791
|
+
}[] | undefined;
|
8792
|
+
required?: boolean | undefined;
|
8793
|
+
conditionals?: ({
|
8794
|
+
type: "SHOW";
|
8795
|
+
conditional: import(".").JSONSchema;
|
8796
|
+
} | {
|
8797
|
+
type: "ENABLE";
|
8798
|
+
conditional: import(".").JSONSchema;
|
8799
|
+
} | {
|
8800
|
+
type: "DISPLAY_ON_REVIEW";
|
8801
|
+
conditional: import(".").JSONSchema;
|
8802
|
+
})[] | undefined;
|
8803
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
8804
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8805
|
+
hideLabel?: boolean | undefined;
|
8806
|
+
defaultValue?: string | undefined;
|
7861
8807
|
} | {
|
7862
8808
|
type: "CHECKBOX";
|
7863
8809
|
id: string;
|