@opencrvs/toolkit 1.8.1-rc.38ac682 → 1.8.1-rc.3a45fd9
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/build.sh +5 -0
- package/dist/commons/api/router.d.ts +409 -392
- package/dist/commons/conditionals/validate.d.ts +11 -2
- package/dist/commons/events/ActionConfig.d.ts +3441 -5805
- package/dist/commons/events/ActionDocument.d.ts +1252 -716
- package/dist/commons/events/ActionInput.d.ts +626 -600
- package/dist/commons/events/AdvancedSearchConfig.d.ts +83 -65
- package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
- package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
- package/dist/commons/events/Draft.d.ts +48 -48
- package/dist/commons/events/EventConfig.d.ts +1401 -2663
- package/dist/commons/events/EventDocument.d.ts +451 -432
- package/dist/commons/events/EventIndex.d.ts +184 -62
- package/dist/commons/events/EventMetadata.d.ts +9 -9
- package/dist/commons/events/FieldConfig.d.ts +254 -343
- package/dist/commons/events/FieldType.d.ts +1 -2
- package/dist/commons/events/FieldTypeMapping.d.ts +18 -25
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/FormConfig.d.ts +1296 -2388
- package/dist/commons/events/PageConfig.d.ts +264 -508
- package/dist/commons/events/WorkqueueConfig.d.ts +288 -164
- package/dist/commons/events/defineConfig.d.ts +129 -309
- package/dist/commons/events/event.d.ts +68 -6
- package/dist/commons/events/field.d.ts +14 -0
- package/dist/commons/events/test.utils.d.ts +12 -12
- package/dist/commons/events/utils.d.ts +248 -568
- package/dist/commons/notification/UserNotifications.d.ts +543 -0
- package/dist/commons/notification/index.d.ts +2 -0
- package/dist/conditionals/index.js +3 -2
- package/dist/events/index.js +258 -114
- package/dist/notification/index.d.ts +2 -0
- package/dist/notification/index.d.ts.map +1 -0
- package/dist/notification/index.js +5354 -0
- package/package.json +1 -1
- package/tsconfig.json +3 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
- package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
- package/dist/commons/conditionals/validate.test.d.ts +0 -2
- package/dist/commons/events/utils.test.d.ts +0 -2
@@ -567,14 +567,25 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
567
567
|
hideLabel?: boolean | undefined;
|
568
568
|
uncorrectable?: boolean | undefined;
|
569
569
|
defaultValue?: {
|
570
|
-
firstname
|
571
|
-
surname
|
570
|
+
firstname?: string | undefined;
|
571
|
+
surname?: string | undefined;
|
572
|
+
middlename?: string | undefined;
|
572
573
|
} | undefined;
|
573
574
|
configuration?: {
|
575
|
+
name?: {
|
576
|
+
firstname?: {
|
577
|
+
required: boolean;
|
578
|
+
} | undefined;
|
579
|
+
surname?: {
|
580
|
+
required: boolean;
|
581
|
+
} | undefined;
|
582
|
+
middlename?: {
|
583
|
+
required: boolean;
|
584
|
+
} | undefined;
|
585
|
+
} | undefined;
|
574
586
|
maxLength?: number | undefined;
|
575
587
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
576
588
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
577
|
-
includeMiddlename?: boolean | undefined;
|
578
589
|
searchMode?: boolean | undefined;
|
579
590
|
} | undefined;
|
580
591
|
} | {
|
@@ -946,37 +957,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
946
957
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
947
958
|
hideLabel?: boolean | undefined;
|
948
959
|
uncorrectable?: boolean | undefined;
|
949
|
-
} | {
|
950
|
-
type: "PRINT_BUTTON";
|
951
|
-
id: string;
|
952
|
-
label: import("./TranslationConfig").TranslationConfig;
|
953
|
-
configuration: {
|
954
|
-
template: string;
|
955
|
-
buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
956
|
-
};
|
957
|
-
parent?: {
|
958
|
-
$$field: string;
|
959
|
-
} | undefined;
|
960
|
-
validation?: {
|
961
|
-
message: import("./TranslationConfig").TranslationConfig;
|
962
|
-
validator: import(".").JSONSchema;
|
963
|
-
}[] | undefined;
|
964
|
-
required?: boolean | undefined;
|
965
|
-
conditionals?: ({
|
966
|
-
type: "SHOW";
|
967
|
-
conditional: import(".").JSONSchema;
|
968
|
-
} | {
|
969
|
-
type: "ENABLE";
|
970
|
-
conditional: import(".").JSONSchema;
|
971
|
-
} | {
|
972
|
-
type: "DISPLAY_ON_REVIEW";
|
973
|
-
conditional: import(".").JSONSchema;
|
974
|
-
})[] | undefined;
|
975
|
-
secured?: boolean | undefined;
|
976
|
-
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
977
|
-
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
978
|
-
hideLabel?: boolean | undefined;
|
979
|
-
uncorrectable?: boolean | undefined;
|
980
960
|
})[];
|
981
961
|
conditional?: import(".").JSONSchema | undefined;
|
982
962
|
}[];
|
@@ -1548,14 +1528,25 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1548
1528
|
hideLabel?: boolean | undefined;
|
1549
1529
|
uncorrectable?: boolean | undefined;
|
1550
1530
|
defaultValue?: {
|
1551
|
-
firstname
|
1552
|
-
surname
|
1531
|
+
firstname?: string | undefined;
|
1532
|
+
surname?: string | undefined;
|
1533
|
+
middlename?: string | undefined;
|
1553
1534
|
} | undefined;
|
1554
1535
|
configuration?: {
|
1536
|
+
name?: {
|
1537
|
+
firstname?: {
|
1538
|
+
required: boolean;
|
1539
|
+
} | undefined;
|
1540
|
+
surname?: {
|
1541
|
+
required: boolean;
|
1542
|
+
} | undefined;
|
1543
|
+
middlename?: {
|
1544
|
+
required: boolean;
|
1545
|
+
} | undefined;
|
1546
|
+
} | undefined;
|
1555
1547
|
maxLength?: number | undefined;
|
1556
1548
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1557
1549
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1558
|
-
includeMiddlename?: boolean | undefined;
|
1559
1550
|
searchMode?: boolean | undefined;
|
1560
1551
|
} | undefined;
|
1561
1552
|
} | {
|
@@ -1927,37 +1918,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1927
1918
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1928
1919
|
hideLabel?: boolean | undefined;
|
1929
1920
|
uncorrectable?: boolean | undefined;
|
1930
|
-
} | {
|
1931
|
-
type: "PRINT_BUTTON";
|
1932
|
-
id: string;
|
1933
|
-
label: import("./TranslationConfig").TranslationConfig;
|
1934
|
-
configuration: {
|
1935
|
-
template: string;
|
1936
|
-
buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
1937
|
-
};
|
1938
|
-
parent?: {
|
1939
|
-
$$field: string;
|
1940
|
-
} | undefined;
|
1941
|
-
validation?: {
|
1942
|
-
message: import("./TranslationConfig").TranslationConfig;
|
1943
|
-
validator: import(".").JSONSchema;
|
1944
|
-
}[] | undefined;
|
1945
|
-
required?: boolean | undefined;
|
1946
|
-
conditionals?: ({
|
1947
|
-
type: "SHOW";
|
1948
|
-
conditional: import(".").JSONSchema;
|
1949
|
-
} | {
|
1950
|
-
type: "ENABLE";
|
1951
|
-
conditional: import(".").JSONSchema;
|
1952
|
-
} | {
|
1953
|
-
type: "DISPLAY_ON_REVIEW";
|
1954
|
-
conditional: import(".").JSONSchema;
|
1955
|
-
})[] | undefined;
|
1956
|
-
secured?: boolean | undefined;
|
1957
|
-
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
1958
|
-
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1959
|
-
hideLabel?: boolean | undefined;
|
1960
|
-
uncorrectable?: boolean | undefined;
|
1961
1921
|
})[];
|
1962
1922
|
};
|
1963
1923
|
draft?: boolean | undefined;
|
@@ -2528,14 +2488,25 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2528
2488
|
hideLabel?: boolean | undefined;
|
2529
2489
|
uncorrectable?: boolean | undefined;
|
2530
2490
|
defaultValue?: {
|
2531
|
-
firstname
|
2532
|
-
surname
|
2491
|
+
firstname?: string | undefined;
|
2492
|
+
surname?: string | undefined;
|
2493
|
+
middlename?: string | undefined;
|
2533
2494
|
} | undefined;
|
2534
2495
|
configuration?: {
|
2496
|
+
name?: {
|
2497
|
+
firstname?: {
|
2498
|
+
required: boolean;
|
2499
|
+
} | undefined;
|
2500
|
+
surname?: {
|
2501
|
+
required: boolean;
|
2502
|
+
} | undefined;
|
2503
|
+
middlename?: {
|
2504
|
+
required: boolean;
|
2505
|
+
} | undefined;
|
2506
|
+
} | undefined;
|
2535
2507
|
maxLength?: number | undefined;
|
2536
2508
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2537
2509
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2538
|
-
includeMiddlename?: boolean | undefined;
|
2539
2510
|
searchMode?: boolean | undefined;
|
2540
2511
|
} | undefined;
|
2541
2512
|
} | {
|
@@ -2907,37 +2878,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2907
2878
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2908
2879
|
hideLabel?: boolean | undefined;
|
2909
2880
|
uncorrectable?: boolean | undefined;
|
2910
|
-
} | {
|
2911
|
-
type: "PRINT_BUTTON";
|
2912
|
-
id: string;
|
2913
|
-
label: import("./TranslationConfig").TranslationConfig;
|
2914
|
-
configuration: {
|
2915
|
-
template: string;
|
2916
|
-
buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
2917
|
-
};
|
2918
|
-
parent?: {
|
2919
|
-
$$field: string;
|
2920
|
-
} | undefined;
|
2921
|
-
validation?: {
|
2922
|
-
message: import("./TranslationConfig").TranslationConfig;
|
2923
|
-
validator: import(".").JSONSchema;
|
2924
|
-
}[] | undefined;
|
2925
|
-
required?: boolean | undefined;
|
2926
|
-
conditionals?: ({
|
2927
|
-
type: "SHOW";
|
2928
|
-
conditional: import(".").JSONSchema;
|
2929
|
-
} | {
|
2930
|
-
type: "ENABLE";
|
2931
|
-
conditional: import(".").JSONSchema;
|
2932
|
-
} | {
|
2933
|
-
type: "DISPLAY_ON_REVIEW";
|
2934
|
-
conditional: import(".").JSONSchema;
|
2935
|
-
})[] | undefined;
|
2936
|
-
secured?: boolean | undefined;
|
2937
|
-
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
2938
|
-
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2939
|
-
hideLabel?: boolean | undefined;
|
2940
|
-
uncorrectable?: boolean | undefined;
|
2941
2881
|
})[];
|
2942
2882
|
};
|
2943
2883
|
draft?: boolean | undefined;
|
@@ -3508,14 +3448,25 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3508
3448
|
hideLabel?: boolean | undefined;
|
3509
3449
|
uncorrectable?: boolean | undefined;
|
3510
3450
|
defaultValue?: {
|
3511
|
-
firstname
|
3512
|
-
surname
|
3451
|
+
firstname?: string | undefined;
|
3452
|
+
surname?: string | undefined;
|
3453
|
+
middlename?: string | undefined;
|
3513
3454
|
} | undefined;
|
3514
3455
|
configuration?: {
|
3456
|
+
name?: {
|
3457
|
+
firstname?: {
|
3458
|
+
required: boolean;
|
3459
|
+
} | undefined;
|
3460
|
+
surname?: {
|
3461
|
+
required: boolean;
|
3462
|
+
} | undefined;
|
3463
|
+
middlename?: {
|
3464
|
+
required: boolean;
|
3465
|
+
} | undefined;
|
3466
|
+
} | undefined;
|
3515
3467
|
maxLength?: number | undefined;
|
3516
3468
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3517
3469
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3518
|
-
includeMiddlename?: boolean | undefined;
|
3519
3470
|
searchMode?: boolean | undefined;
|
3520
3471
|
} | undefined;
|
3521
3472
|
} | {
|
@@ -3887,37 +3838,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3887
3838
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3888
3839
|
hideLabel?: boolean | undefined;
|
3889
3840
|
uncorrectable?: boolean | undefined;
|
3890
|
-
} | {
|
3891
|
-
type: "PRINT_BUTTON";
|
3892
|
-
id: string;
|
3893
|
-
label: import("./TranslationConfig").TranslationConfig;
|
3894
|
-
configuration: {
|
3895
|
-
template: string;
|
3896
|
-
buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
3897
|
-
};
|
3898
|
-
parent?: {
|
3899
|
-
$$field: string;
|
3900
|
-
} | undefined;
|
3901
|
-
validation?: {
|
3902
|
-
message: import("./TranslationConfig").TranslationConfig;
|
3903
|
-
validator: import(".").JSONSchema;
|
3904
|
-
}[] | undefined;
|
3905
|
-
required?: boolean | undefined;
|
3906
|
-
conditionals?: ({
|
3907
|
-
type: "SHOW";
|
3908
|
-
conditional: import(".").JSONSchema;
|
3909
|
-
} | {
|
3910
|
-
type: "ENABLE";
|
3911
|
-
conditional: import(".").JSONSchema;
|
3912
|
-
} | {
|
3913
|
-
type: "DISPLAY_ON_REVIEW";
|
3914
|
-
conditional: import(".").JSONSchema;
|
3915
|
-
})[] | undefined;
|
3916
|
-
secured?: boolean | undefined;
|
3917
|
-
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
3918
|
-
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3919
|
-
hideLabel?: boolean | undefined;
|
3920
|
-
uncorrectable?: boolean | undefined;
|
3921
3841
|
})[];
|
3922
3842
|
};
|
3923
3843
|
draft?: boolean | undefined;
|
@@ -4488,14 +4408,25 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4488
4408
|
hideLabel?: boolean | undefined;
|
4489
4409
|
uncorrectable?: boolean | undefined;
|
4490
4410
|
defaultValue?: {
|
4491
|
-
firstname
|
4492
|
-
surname
|
4411
|
+
firstname?: string | undefined;
|
4412
|
+
surname?: string | undefined;
|
4413
|
+
middlename?: string | undefined;
|
4493
4414
|
} | undefined;
|
4494
4415
|
configuration?: {
|
4416
|
+
name?: {
|
4417
|
+
firstname?: {
|
4418
|
+
required: boolean;
|
4419
|
+
} | undefined;
|
4420
|
+
surname?: {
|
4421
|
+
required: boolean;
|
4422
|
+
} | undefined;
|
4423
|
+
middlename?: {
|
4424
|
+
required: boolean;
|
4425
|
+
} | undefined;
|
4426
|
+
} | undefined;
|
4495
4427
|
maxLength?: number | undefined;
|
4496
4428
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4497
4429
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4498
|
-
includeMiddlename?: boolean | undefined;
|
4499
4430
|
searchMode?: boolean | undefined;
|
4500
4431
|
} | undefined;
|
4501
4432
|
} | {
|
@@ -4867,37 +4798,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4867
4798
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4868
4799
|
hideLabel?: boolean | undefined;
|
4869
4800
|
uncorrectable?: boolean | undefined;
|
4870
|
-
} | {
|
4871
|
-
type: "PRINT_BUTTON";
|
4872
|
-
id: string;
|
4873
|
-
label: import("./TranslationConfig").TranslationConfig;
|
4874
|
-
configuration: {
|
4875
|
-
template: string;
|
4876
|
-
buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
4877
|
-
};
|
4878
|
-
parent?: {
|
4879
|
-
$$field: string;
|
4880
|
-
} | undefined;
|
4881
|
-
validation?: {
|
4882
|
-
message: import("./TranslationConfig").TranslationConfig;
|
4883
|
-
validator: import(".").JSONSchema;
|
4884
|
-
}[] | undefined;
|
4885
|
-
required?: boolean | undefined;
|
4886
|
-
conditionals?: ({
|
4887
|
-
type: "SHOW";
|
4888
|
-
conditional: import(".").JSONSchema;
|
4889
|
-
} | {
|
4890
|
-
type: "ENABLE";
|
4891
|
-
conditional: import(".").JSONSchema;
|
4892
|
-
} | {
|
4893
|
-
type: "DISPLAY_ON_REVIEW";
|
4894
|
-
conditional: import(".").JSONSchema;
|
4895
|
-
})[] | undefined;
|
4896
|
-
secured?: boolean | undefined;
|
4897
|
-
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
4898
|
-
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4899
|
-
hideLabel?: boolean | undefined;
|
4900
|
-
uncorrectable?: boolean | undefined;
|
4901
4801
|
})[];
|
4902
4802
|
};
|
4903
4803
|
draft?: boolean | undefined;
|
@@ -5516,14 +5416,25 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5516
5416
|
hideLabel?: boolean | undefined;
|
5517
5417
|
uncorrectable?: boolean | undefined;
|
5518
5418
|
defaultValue?: {
|
5519
|
-
firstname
|
5520
|
-
surname
|
5419
|
+
firstname?: string | undefined;
|
5420
|
+
surname?: string | undefined;
|
5421
|
+
middlename?: string | undefined;
|
5521
5422
|
} | undefined;
|
5522
5423
|
configuration?: {
|
5424
|
+
name?: {
|
5425
|
+
firstname?: {
|
5426
|
+
required: boolean;
|
5427
|
+
} | undefined;
|
5428
|
+
surname?: {
|
5429
|
+
required: boolean;
|
5430
|
+
} | undefined;
|
5431
|
+
middlename?: {
|
5432
|
+
required: boolean;
|
5433
|
+
} | undefined;
|
5434
|
+
} | undefined;
|
5523
5435
|
maxLength?: number | undefined;
|
5524
5436
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5525
5437
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5526
|
-
includeMiddlename?: boolean | undefined;
|
5527
5438
|
searchMode?: boolean | undefined;
|
5528
5439
|
} | undefined;
|
5529
5440
|
} | {
|
@@ -5895,37 +5806,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5895
5806
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5896
5807
|
hideLabel?: boolean | undefined;
|
5897
5808
|
uncorrectable?: boolean | undefined;
|
5898
|
-
} | {
|
5899
|
-
type: "PRINT_BUTTON";
|
5900
|
-
id: string;
|
5901
|
-
label: import("./TranslationConfig").TranslationConfig;
|
5902
|
-
configuration: {
|
5903
|
-
template: string;
|
5904
|
-
buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
5905
|
-
};
|
5906
|
-
parent?: {
|
5907
|
-
$$field: string;
|
5908
|
-
} | undefined;
|
5909
|
-
validation?: {
|
5910
|
-
message: import("./TranslationConfig").TranslationConfig;
|
5911
|
-
validator: import(".").JSONSchema;
|
5912
|
-
}[] | undefined;
|
5913
|
-
required?: boolean | undefined;
|
5914
|
-
conditionals?: ({
|
5915
|
-
type: "SHOW";
|
5916
|
-
conditional: import(".").JSONSchema;
|
5917
|
-
} | {
|
5918
|
-
type: "ENABLE";
|
5919
|
-
conditional: import(".").JSONSchema;
|
5920
|
-
} | {
|
5921
|
-
type: "DISPLAY_ON_REVIEW";
|
5922
|
-
conditional: import(".").JSONSchema;
|
5923
|
-
})[] | undefined;
|
5924
|
-
secured?: boolean | undefined;
|
5925
|
-
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
5926
|
-
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5927
|
-
hideLabel?: boolean | undefined;
|
5928
|
-
uncorrectable?: boolean | undefined;
|
5929
5809
|
})[];
|
5930
5810
|
conditional?: import(".").JSONSchema | undefined;
|
5931
5811
|
} | {
|
@@ -6499,14 +6379,25 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6499
6379
|
hideLabel?: boolean | undefined;
|
6500
6380
|
uncorrectable?: boolean | undefined;
|
6501
6381
|
defaultValue?: {
|
6502
|
-
firstname
|
6503
|
-
surname
|
6382
|
+
firstname?: string | undefined;
|
6383
|
+
surname?: string | undefined;
|
6384
|
+
middlename?: string | undefined;
|
6504
6385
|
} | undefined;
|
6505
6386
|
configuration?: {
|
6387
|
+
name?: {
|
6388
|
+
firstname?: {
|
6389
|
+
required: boolean;
|
6390
|
+
} | undefined;
|
6391
|
+
surname?: {
|
6392
|
+
required: boolean;
|
6393
|
+
} | undefined;
|
6394
|
+
middlename?: {
|
6395
|
+
required: boolean;
|
6396
|
+
} | undefined;
|
6397
|
+
} | undefined;
|
6506
6398
|
maxLength?: number | undefined;
|
6507
6399
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6508
6400
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6509
|
-
includeMiddlename?: boolean | undefined;
|
6510
6401
|
searchMode?: boolean | undefined;
|
6511
6402
|
} | undefined;
|
6512
6403
|
} | {
|
@@ -6878,37 +6769,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6878
6769
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6879
6770
|
hideLabel?: boolean | undefined;
|
6880
6771
|
uncorrectable?: boolean | undefined;
|
6881
|
-
} | {
|
6882
|
-
type: "PRINT_BUTTON";
|
6883
|
-
id: string;
|
6884
|
-
label: import("./TranslationConfig").TranslationConfig;
|
6885
|
-
configuration: {
|
6886
|
-
template: string;
|
6887
|
-
buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
6888
|
-
};
|
6889
|
-
parent?: {
|
6890
|
-
$$field: string;
|
6891
|
-
} | undefined;
|
6892
|
-
validation?: {
|
6893
|
-
message: import("./TranslationConfig").TranslationConfig;
|
6894
|
-
validator: import(".").JSONSchema;
|
6895
|
-
}[] | undefined;
|
6896
|
-
required?: boolean | undefined;
|
6897
|
-
conditionals?: ({
|
6898
|
-
type: "SHOW";
|
6899
|
-
conditional: import(".").JSONSchema;
|
6900
|
-
} | {
|
6901
|
-
type: "ENABLE";
|
6902
|
-
conditional: import(".").JSONSchema;
|
6903
|
-
} | {
|
6904
|
-
type: "DISPLAY_ON_REVIEW";
|
6905
|
-
conditional: import(".").JSONSchema;
|
6906
|
-
})[] | undefined;
|
6907
|
-
secured?: boolean | undefined;
|
6908
|
-
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
6909
|
-
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6910
|
-
hideLabel?: boolean | undefined;
|
6911
|
-
uncorrectable?: boolean | undefined;
|
6912
6772
|
})[];
|
6913
6773
|
conditional?: import(".").JSONSchema | undefined;
|
6914
6774
|
})[];
|
@@ -7485,14 +7345,25 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7485
7345
|
hideLabel?: boolean | undefined;
|
7486
7346
|
uncorrectable?: boolean | undefined;
|
7487
7347
|
defaultValue?: {
|
7488
|
-
firstname
|
7489
|
-
surname
|
7348
|
+
firstname?: string | undefined;
|
7349
|
+
surname?: string | undefined;
|
7350
|
+
middlename?: string | undefined;
|
7490
7351
|
} | undefined;
|
7491
7352
|
configuration?: {
|
7353
|
+
name?: {
|
7354
|
+
firstname?: {
|
7355
|
+
required: boolean;
|
7356
|
+
} | undefined;
|
7357
|
+
surname?: {
|
7358
|
+
required: boolean;
|
7359
|
+
} | undefined;
|
7360
|
+
middlename?: {
|
7361
|
+
required: boolean;
|
7362
|
+
} | undefined;
|
7363
|
+
} | undefined;
|
7492
7364
|
maxLength?: number | undefined;
|
7493
7365
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7494
7366
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7495
|
-
includeMiddlename?: boolean | undefined;
|
7496
7367
|
searchMode?: boolean | undefined;
|
7497
7368
|
} | undefined;
|
7498
7369
|
} | {
|
@@ -7864,37 +7735,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7864
7735
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7865
7736
|
hideLabel?: boolean | undefined;
|
7866
7737
|
uncorrectable?: boolean | undefined;
|
7867
|
-
} | {
|
7868
|
-
type: "PRINT_BUTTON";
|
7869
|
-
id: string;
|
7870
|
-
label: import("./TranslationConfig").TranslationConfig;
|
7871
|
-
configuration: {
|
7872
|
-
template: string;
|
7873
|
-
buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
7874
|
-
};
|
7875
|
-
parent?: {
|
7876
|
-
$$field: string;
|
7877
|
-
} | undefined;
|
7878
|
-
validation?: {
|
7879
|
-
message: import("./TranslationConfig").TranslationConfig;
|
7880
|
-
validator: import(".").JSONSchema;
|
7881
|
-
}[] | undefined;
|
7882
|
-
required?: boolean | undefined;
|
7883
|
-
conditionals?: ({
|
7884
|
-
type: "SHOW";
|
7885
|
-
conditional: import(".").JSONSchema;
|
7886
|
-
} | {
|
7887
|
-
type: "ENABLE";
|
7888
|
-
conditional: import(".").JSONSchema;
|
7889
|
-
} | {
|
7890
|
-
type: "DISPLAY_ON_REVIEW";
|
7891
|
-
conditional: import(".").JSONSchema;
|
7892
|
-
})[] | undefined;
|
7893
|
-
secured?: boolean | undefined;
|
7894
|
-
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7895
|
-
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7896
|
-
hideLabel?: boolean | undefined;
|
7897
|
-
uncorrectable?: boolean | undefined;
|
7898
7738
|
})[];
|
7899
7739
|
conditional?: import(".").JSONSchema | undefined;
|
7900
7740
|
} | {
|
@@ -8468,14 +8308,25 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8468
8308
|
hideLabel?: boolean | undefined;
|
8469
8309
|
uncorrectable?: boolean | undefined;
|
8470
8310
|
defaultValue?: {
|
8471
|
-
firstname
|
8472
|
-
surname
|
8311
|
+
firstname?: string | undefined;
|
8312
|
+
surname?: string | undefined;
|
8313
|
+
middlename?: string | undefined;
|
8473
8314
|
} | undefined;
|
8474
8315
|
configuration?: {
|
8316
|
+
name?: {
|
8317
|
+
firstname?: {
|
8318
|
+
required: boolean;
|
8319
|
+
} | undefined;
|
8320
|
+
surname?: {
|
8321
|
+
required: boolean;
|
8322
|
+
} | undefined;
|
8323
|
+
middlename?: {
|
8324
|
+
required: boolean;
|
8325
|
+
} | undefined;
|
8326
|
+
} | undefined;
|
8475
8327
|
maxLength?: number | undefined;
|
8476
8328
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8477
8329
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8478
|
-
includeMiddlename?: boolean | undefined;
|
8479
8330
|
searchMode?: boolean | undefined;
|
8480
8331
|
} | undefined;
|
8481
8332
|
} | {
|
@@ -8847,37 +8698,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8847
8698
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8848
8699
|
hideLabel?: boolean | undefined;
|
8849
8700
|
uncorrectable?: boolean | undefined;
|
8850
|
-
} | {
|
8851
|
-
type: "PRINT_BUTTON";
|
8852
|
-
id: string;
|
8853
|
-
label: import("./TranslationConfig").TranslationConfig;
|
8854
|
-
configuration: {
|
8855
|
-
template: string;
|
8856
|
-
buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
8857
|
-
};
|
8858
|
-
parent?: {
|
8859
|
-
$$field: string;
|
8860
|
-
} | undefined;
|
8861
|
-
validation?: {
|
8862
|
-
message: import("./TranslationConfig").TranslationConfig;
|
8863
|
-
validator: import(".").JSONSchema;
|
8864
|
-
}[] | undefined;
|
8865
|
-
required?: boolean | undefined;
|
8866
|
-
conditionals?: ({
|
8867
|
-
type: "SHOW";
|
8868
|
-
conditional: import(".").JSONSchema;
|
8869
|
-
} | {
|
8870
|
-
type: "ENABLE";
|
8871
|
-
conditional: import(".").JSONSchema;
|
8872
|
-
} | {
|
8873
|
-
type: "DISPLAY_ON_REVIEW";
|
8874
|
-
conditional: import(".").JSONSchema;
|
8875
|
-
})[] | undefined;
|
8876
|
-
secured?: boolean | undefined;
|
8877
|
-
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
8878
|
-
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8879
|
-
hideLabel?: boolean | undefined;
|
8880
|
-
uncorrectable?: boolean | undefined;
|
8881
8701
|
})[];
|
8882
8702
|
conditional?: import(".").JSONSchema | undefined;
|
8883
8703
|
})[];
|
@@ -8936,7 +8756,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8936
8756
|
title: import("./TranslationConfig").TranslationConfig;
|
8937
8757
|
fields: ({
|
8938
8758
|
config: {
|
8939
|
-
type: "exact" | "fuzzy" | "range";
|
8759
|
+
type: "exact" | "fuzzy" | "range" | "within";
|
8940
8760
|
};
|
8941
8761
|
fieldId: string;
|
8942
8762
|
fieldType: "field";
|
@@ -8963,9 +8783,9 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8963
8783
|
excludeInSearchQuery?: boolean | undefined;
|
8964
8784
|
} | {
|
8965
8785
|
config: {
|
8966
|
-
type: "exact" | "fuzzy" | "range";
|
8786
|
+
type: "exact" | "fuzzy" | "range" | "within";
|
8967
8787
|
};
|
8968
|
-
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
8788
|
+
fieldId: "event.status" | "event.updatedAt" | "event.trackingId" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
8969
8789
|
fieldType: "event";
|
8970
8790
|
options?: {
|
8971
8791
|
value: string;
|