@opencrvs/toolkit 1.8.1-rc.032a7f2 → 1.8.1-rc.06c1a33
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 +1350 -4
- package/dist/commons/events/ActionConfig.d.ts +15480 -7338
- package/dist/commons/events/ActionDocument.d.ts +3036 -1
- package/dist/commons/events/ActionInput.d.ts +2460 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +93 -3
- package/dist/commons/events/CompositeFieldValue.d.ts +60 -0
- package/dist/commons/events/Draft.d.ts +200 -8
- package/dist/commons/events/EventConfig.d.ts +8815 -5048
- package/dist/commons/events/EventDocument.d.ts +1704 -0
- package/dist/commons/events/EventIndex.d.ts +47 -1
- package/dist/commons/events/FieldConfig.d.ts +1108 -1128
- package/dist/commons/events/FieldType.d.ts +3 -6
- package/dist/commons/events/FieldTypeMapping.d.ts +85 -3
- package/dist/commons/events/FieldValue.d.ts +62 -3
- package/dist/commons/events/FormConfig.d.ts +7497 -3687
- package/dist/commons/events/PageConfig.d.ts +1382 -460
- package/dist/commons/events/WorkqueueConfig.d.ts +8 -8
- package/dist/commons/events/defineConfig.d.ts +737 -62
- package/dist/commons/events/test.utils.d.ts +43 -2
- package/dist/commons/events/utils.d.ts +1474 -143
- package/dist/events/index.js +882 -896
- package/package.json +1 -1
@@ -575,21 +575,18 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
575
575
|
name?: {
|
576
576
|
firstname?: {
|
577
577
|
required: boolean;
|
578
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
579
578
|
} | undefined;
|
580
579
|
surname?: {
|
581
580
|
required: boolean;
|
582
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
583
581
|
} | undefined;
|
584
582
|
middlename?: {
|
585
583
|
required: boolean;
|
586
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
587
584
|
} | undefined;
|
588
585
|
} | undefined;
|
589
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
590
586
|
maxLength?: number | undefined;
|
591
587
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
592
588
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
589
|
+
searchMode?: boolean | undefined;
|
593
590
|
} | undefined;
|
594
591
|
} | {
|
595
592
|
type: "PHONE";
|
@@ -922,8 +919,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
922
919
|
postcodeOrZip?: string | undefined;
|
923
920
|
} | undefined;
|
924
921
|
configuration?: {
|
925
|
-
|
926
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
922
|
+
searchMode?: boolean | undefined;
|
927
923
|
} | undefined;
|
928
924
|
} | {
|
929
925
|
type: "DATA";
|
@@ -961,6 +957,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
961
957
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
962
958
|
hideLabel?: boolean | undefined;
|
963
959
|
uncorrectable?: boolean | undefined;
|
960
|
+
} | {
|
961
|
+
type: "BUTTON";
|
962
|
+
id: string;
|
963
|
+
label: import("./TranslationConfig").TranslationConfig;
|
964
|
+
configuration: {
|
965
|
+
text: import("./TranslationConfig").TranslationConfig;
|
966
|
+
loading?: boolean | undefined;
|
967
|
+
icon?: string | undefined;
|
968
|
+
};
|
969
|
+
parent?: {
|
970
|
+
$$field: string;
|
971
|
+
} | undefined;
|
972
|
+
validation?: {
|
973
|
+
message: import("./TranslationConfig").TranslationConfig;
|
974
|
+
validator: import(".").JSONSchema;
|
975
|
+
}[] | undefined;
|
976
|
+
required?: boolean | undefined;
|
977
|
+
conditionals?: ({
|
978
|
+
type: "SHOW";
|
979
|
+
conditional: import(".").JSONSchema;
|
980
|
+
} | {
|
981
|
+
type: "ENABLE";
|
982
|
+
conditional: import(".").JSONSchema;
|
983
|
+
} | {
|
984
|
+
type: "DISPLAY_ON_REVIEW";
|
985
|
+
conditional: import(".").JSONSchema;
|
986
|
+
})[] | undefined;
|
987
|
+
secured?: boolean | undefined;
|
988
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
989
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
990
|
+
hideLabel?: boolean | undefined;
|
991
|
+
uncorrectable?: boolean | undefined;
|
992
|
+
} | {
|
993
|
+
type: "HTTP";
|
994
|
+
id: string;
|
995
|
+
label: import("./TranslationConfig").TranslationConfig;
|
996
|
+
configuration: {
|
997
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
998
|
+
trigger: {
|
999
|
+
$$field: string;
|
1000
|
+
};
|
1001
|
+
url: string;
|
1002
|
+
timeout: number;
|
1003
|
+
params?: Record<string, string> | undefined;
|
1004
|
+
headers?: Record<string, string> | undefined;
|
1005
|
+
body?: Record<string, string> | undefined;
|
1006
|
+
};
|
1007
|
+
parent?: {
|
1008
|
+
$$field: string;
|
1009
|
+
} | undefined;
|
1010
|
+
validation?: {
|
1011
|
+
message: import("./TranslationConfig").TranslationConfig;
|
1012
|
+
validator: import(".").JSONSchema;
|
1013
|
+
}[] | undefined;
|
1014
|
+
required?: boolean | undefined;
|
1015
|
+
conditionals?: ({
|
1016
|
+
type: "SHOW";
|
1017
|
+
conditional: import(".").JSONSchema;
|
1018
|
+
} | {
|
1019
|
+
type: "ENABLE";
|
1020
|
+
conditional: import(".").JSONSchema;
|
1021
|
+
} | {
|
1022
|
+
type: "DISPLAY_ON_REVIEW";
|
1023
|
+
conditional: import(".").JSONSchema;
|
1024
|
+
})[] | undefined;
|
1025
|
+
secured?: boolean | undefined;
|
1026
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
1027
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1028
|
+
hideLabel?: boolean | undefined;
|
1029
|
+
uncorrectable?: boolean | undefined;
|
1030
|
+
defaultValue?: {
|
1031
|
+
error: {
|
1032
|
+
message: string;
|
1033
|
+
statusCode: number | null;
|
1034
|
+
} | null;
|
1035
|
+
loading: boolean;
|
1036
|
+
data?: any;
|
1037
|
+
trackingValue?: string | undefined;
|
1038
|
+
} | undefined;
|
964
1039
|
})[];
|
965
1040
|
conditional?: import(".").JSONSchema | undefined;
|
966
1041
|
}[];
|
@@ -1540,21 +1615,18 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1540
1615
|
name?: {
|
1541
1616
|
firstname?: {
|
1542
1617
|
required: boolean;
|
1543
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1544
1618
|
} | undefined;
|
1545
1619
|
surname?: {
|
1546
1620
|
required: boolean;
|
1547
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1548
1621
|
} | undefined;
|
1549
1622
|
middlename?: {
|
1550
1623
|
required: boolean;
|
1551
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1552
1624
|
} | undefined;
|
1553
1625
|
} | undefined;
|
1554
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
1555
1626
|
maxLength?: number | undefined;
|
1556
1627
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1557
1628
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1629
|
+
searchMode?: boolean | undefined;
|
1558
1630
|
} | undefined;
|
1559
1631
|
} | {
|
1560
1632
|
type: "PHONE";
|
@@ -1887,8 +1959,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1887
1959
|
postcodeOrZip?: string | undefined;
|
1888
1960
|
} | undefined;
|
1889
1961
|
configuration?: {
|
1890
|
-
|
1891
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
1962
|
+
searchMode?: boolean | undefined;
|
1892
1963
|
} | undefined;
|
1893
1964
|
} | {
|
1894
1965
|
type: "DATA";
|
@@ -1926,6 +1997,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1926
1997
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1927
1998
|
hideLabel?: boolean | undefined;
|
1928
1999
|
uncorrectable?: boolean | undefined;
|
2000
|
+
} | {
|
2001
|
+
type: "BUTTON";
|
2002
|
+
id: string;
|
2003
|
+
label: import("./TranslationConfig").TranslationConfig;
|
2004
|
+
configuration: {
|
2005
|
+
text: import("./TranslationConfig").TranslationConfig;
|
2006
|
+
loading?: boolean | undefined;
|
2007
|
+
icon?: string | undefined;
|
2008
|
+
};
|
2009
|
+
parent?: {
|
2010
|
+
$$field: string;
|
2011
|
+
} | undefined;
|
2012
|
+
validation?: {
|
2013
|
+
message: import("./TranslationConfig").TranslationConfig;
|
2014
|
+
validator: import(".").JSONSchema;
|
2015
|
+
}[] | undefined;
|
2016
|
+
required?: boolean | undefined;
|
2017
|
+
conditionals?: ({
|
2018
|
+
type: "SHOW";
|
2019
|
+
conditional: import(".").JSONSchema;
|
2020
|
+
} | {
|
2021
|
+
type: "ENABLE";
|
2022
|
+
conditional: import(".").JSONSchema;
|
2023
|
+
} | {
|
2024
|
+
type: "DISPLAY_ON_REVIEW";
|
2025
|
+
conditional: import(".").JSONSchema;
|
2026
|
+
})[] | undefined;
|
2027
|
+
secured?: boolean | undefined;
|
2028
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
2029
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2030
|
+
hideLabel?: boolean | undefined;
|
2031
|
+
uncorrectable?: boolean | undefined;
|
2032
|
+
} | {
|
2033
|
+
type: "HTTP";
|
2034
|
+
id: string;
|
2035
|
+
label: import("./TranslationConfig").TranslationConfig;
|
2036
|
+
configuration: {
|
2037
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
2038
|
+
trigger: {
|
2039
|
+
$$field: string;
|
2040
|
+
};
|
2041
|
+
url: string;
|
2042
|
+
timeout: number;
|
2043
|
+
params?: Record<string, string> | undefined;
|
2044
|
+
headers?: Record<string, string> | undefined;
|
2045
|
+
body?: Record<string, string> | undefined;
|
2046
|
+
};
|
2047
|
+
parent?: {
|
2048
|
+
$$field: string;
|
2049
|
+
} | undefined;
|
2050
|
+
validation?: {
|
2051
|
+
message: import("./TranslationConfig").TranslationConfig;
|
2052
|
+
validator: import(".").JSONSchema;
|
2053
|
+
}[] | undefined;
|
2054
|
+
required?: boolean | undefined;
|
2055
|
+
conditionals?: ({
|
2056
|
+
type: "SHOW";
|
2057
|
+
conditional: import(".").JSONSchema;
|
2058
|
+
} | {
|
2059
|
+
type: "ENABLE";
|
2060
|
+
conditional: import(".").JSONSchema;
|
2061
|
+
} | {
|
2062
|
+
type: "DISPLAY_ON_REVIEW";
|
2063
|
+
conditional: import(".").JSONSchema;
|
2064
|
+
})[] | undefined;
|
2065
|
+
secured?: boolean | undefined;
|
2066
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
2067
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2068
|
+
hideLabel?: boolean | undefined;
|
2069
|
+
uncorrectable?: boolean | undefined;
|
2070
|
+
defaultValue?: {
|
2071
|
+
error: {
|
2072
|
+
message: string;
|
2073
|
+
statusCode: number | null;
|
2074
|
+
} | null;
|
2075
|
+
loading: boolean;
|
2076
|
+
data?: any;
|
2077
|
+
trackingValue?: string | undefined;
|
2078
|
+
} | undefined;
|
1929
2079
|
})[];
|
1930
2080
|
};
|
1931
2081
|
draft?: boolean | undefined;
|
@@ -2504,21 +2654,18 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2504
2654
|
name?: {
|
2505
2655
|
firstname?: {
|
2506
2656
|
required: boolean;
|
2507
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2508
2657
|
} | undefined;
|
2509
2658
|
surname?: {
|
2510
2659
|
required: boolean;
|
2511
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2512
2660
|
} | undefined;
|
2513
2661
|
middlename?: {
|
2514
2662
|
required: boolean;
|
2515
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2516
2663
|
} | undefined;
|
2517
2664
|
} | undefined;
|
2518
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
2519
2665
|
maxLength?: number | undefined;
|
2520
2666
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2521
2667
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2668
|
+
searchMode?: boolean | undefined;
|
2522
2669
|
} | undefined;
|
2523
2670
|
} | {
|
2524
2671
|
type: "PHONE";
|
@@ -2851,8 +2998,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2851
2998
|
postcodeOrZip?: string | undefined;
|
2852
2999
|
} | undefined;
|
2853
3000
|
configuration?: {
|
2854
|
-
|
2855
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
3001
|
+
searchMode?: boolean | undefined;
|
2856
3002
|
} | undefined;
|
2857
3003
|
} | {
|
2858
3004
|
type: "DATA";
|
@@ -2890,6 +3036,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2890
3036
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2891
3037
|
hideLabel?: boolean | undefined;
|
2892
3038
|
uncorrectable?: boolean | undefined;
|
3039
|
+
} | {
|
3040
|
+
type: "BUTTON";
|
3041
|
+
id: string;
|
3042
|
+
label: import("./TranslationConfig").TranslationConfig;
|
3043
|
+
configuration: {
|
3044
|
+
text: import("./TranslationConfig").TranslationConfig;
|
3045
|
+
loading?: boolean | undefined;
|
3046
|
+
icon?: string | undefined;
|
3047
|
+
};
|
3048
|
+
parent?: {
|
3049
|
+
$$field: string;
|
3050
|
+
} | undefined;
|
3051
|
+
validation?: {
|
3052
|
+
message: import("./TranslationConfig").TranslationConfig;
|
3053
|
+
validator: import(".").JSONSchema;
|
3054
|
+
}[] | undefined;
|
3055
|
+
required?: boolean | undefined;
|
3056
|
+
conditionals?: ({
|
3057
|
+
type: "SHOW";
|
3058
|
+
conditional: import(".").JSONSchema;
|
3059
|
+
} | {
|
3060
|
+
type: "ENABLE";
|
3061
|
+
conditional: import(".").JSONSchema;
|
3062
|
+
} | {
|
3063
|
+
type: "DISPLAY_ON_REVIEW";
|
3064
|
+
conditional: import(".").JSONSchema;
|
3065
|
+
})[] | undefined;
|
3066
|
+
secured?: boolean | undefined;
|
3067
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
3068
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3069
|
+
hideLabel?: boolean | undefined;
|
3070
|
+
uncorrectable?: boolean | undefined;
|
3071
|
+
} | {
|
3072
|
+
type: "HTTP";
|
3073
|
+
id: string;
|
3074
|
+
label: import("./TranslationConfig").TranslationConfig;
|
3075
|
+
configuration: {
|
3076
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
3077
|
+
trigger: {
|
3078
|
+
$$field: string;
|
3079
|
+
};
|
3080
|
+
url: string;
|
3081
|
+
timeout: number;
|
3082
|
+
params?: Record<string, string> | undefined;
|
3083
|
+
headers?: Record<string, string> | undefined;
|
3084
|
+
body?: Record<string, string> | undefined;
|
3085
|
+
};
|
3086
|
+
parent?: {
|
3087
|
+
$$field: string;
|
3088
|
+
} | undefined;
|
3089
|
+
validation?: {
|
3090
|
+
message: import("./TranslationConfig").TranslationConfig;
|
3091
|
+
validator: import(".").JSONSchema;
|
3092
|
+
}[] | undefined;
|
3093
|
+
required?: boolean | undefined;
|
3094
|
+
conditionals?: ({
|
3095
|
+
type: "SHOW";
|
3096
|
+
conditional: import(".").JSONSchema;
|
3097
|
+
} | {
|
3098
|
+
type: "ENABLE";
|
3099
|
+
conditional: import(".").JSONSchema;
|
3100
|
+
} | {
|
3101
|
+
type: "DISPLAY_ON_REVIEW";
|
3102
|
+
conditional: import(".").JSONSchema;
|
3103
|
+
})[] | undefined;
|
3104
|
+
secured?: boolean | undefined;
|
3105
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
3106
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3107
|
+
hideLabel?: boolean | undefined;
|
3108
|
+
uncorrectable?: boolean | undefined;
|
3109
|
+
defaultValue?: {
|
3110
|
+
error: {
|
3111
|
+
message: string;
|
3112
|
+
statusCode: number | null;
|
3113
|
+
} | null;
|
3114
|
+
loading: boolean;
|
3115
|
+
data?: any;
|
3116
|
+
trackingValue?: string | undefined;
|
3117
|
+
} | undefined;
|
2893
3118
|
})[];
|
2894
3119
|
};
|
2895
3120
|
draft?: boolean | undefined;
|
@@ -3468,21 +3693,18 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3468
3693
|
name?: {
|
3469
3694
|
firstname?: {
|
3470
3695
|
required: boolean;
|
3471
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3472
3696
|
} | undefined;
|
3473
3697
|
surname?: {
|
3474
3698
|
required: boolean;
|
3475
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3476
3699
|
} | undefined;
|
3477
3700
|
middlename?: {
|
3478
3701
|
required: boolean;
|
3479
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3480
3702
|
} | undefined;
|
3481
3703
|
} | undefined;
|
3482
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
3483
3704
|
maxLength?: number | undefined;
|
3484
3705
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3485
3706
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3707
|
+
searchMode?: boolean | undefined;
|
3486
3708
|
} | undefined;
|
3487
3709
|
} | {
|
3488
3710
|
type: "PHONE";
|
@@ -3815,8 +4037,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3815
4037
|
postcodeOrZip?: string | undefined;
|
3816
4038
|
} | undefined;
|
3817
4039
|
configuration?: {
|
3818
|
-
|
3819
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4040
|
+
searchMode?: boolean | undefined;
|
3820
4041
|
} | undefined;
|
3821
4042
|
} | {
|
3822
4043
|
type: "DATA";
|
@@ -3854,6 +4075,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3854
4075
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3855
4076
|
hideLabel?: boolean | undefined;
|
3856
4077
|
uncorrectable?: boolean | undefined;
|
4078
|
+
} | {
|
4079
|
+
type: "BUTTON";
|
4080
|
+
id: string;
|
4081
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4082
|
+
configuration: {
|
4083
|
+
text: import("./TranslationConfig").TranslationConfig;
|
4084
|
+
loading?: boolean | undefined;
|
4085
|
+
icon?: string | undefined;
|
4086
|
+
};
|
4087
|
+
parent?: {
|
4088
|
+
$$field: string;
|
4089
|
+
} | undefined;
|
4090
|
+
validation?: {
|
4091
|
+
message: import("./TranslationConfig").TranslationConfig;
|
4092
|
+
validator: import(".").JSONSchema;
|
4093
|
+
}[] | undefined;
|
4094
|
+
required?: boolean | undefined;
|
4095
|
+
conditionals?: ({
|
4096
|
+
type: "SHOW";
|
4097
|
+
conditional: import(".").JSONSchema;
|
4098
|
+
} | {
|
4099
|
+
type: "ENABLE";
|
4100
|
+
conditional: import(".").JSONSchema;
|
4101
|
+
} | {
|
4102
|
+
type: "DISPLAY_ON_REVIEW";
|
4103
|
+
conditional: import(".").JSONSchema;
|
4104
|
+
})[] | undefined;
|
4105
|
+
secured?: boolean | undefined;
|
4106
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
4107
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4108
|
+
hideLabel?: boolean | undefined;
|
4109
|
+
uncorrectable?: boolean | undefined;
|
4110
|
+
} | {
|
4111
|
+
type: "HTTP";
|
4112
|
+
id: string;
|
4113
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4114
|
+
configuration: {
|
4115
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
4116
|
+
trigger: {
|
4117
|
+
$$field: string;
|
4118
|
+
};
|
4119
|
+
url: string;
|
4120
|
+
timeout: number;
|
4121
|
+
params?: Record<string, string> | undefined;
|
4122
|
+
headers?: Record<string, string> | undefined;
|
4123
|
+
body?: Record<string, string> | undefined;
|
4124
|
+
};
|
4125
|
+
parent?: {
|
4126
|
+
$$field: string;
|
4127
|
+
} | undefined;
|
4128
|
+
validation?: {
|
4129
|
+
message: import("./TranslationConfig").TranslationConfig;
|
4130
|
+
validator: import(".").JSONSchema;
|
4131
|
+
}[] | undefined;
|
4132
|
+
required?: boolean | undefined;
|
4133
|
+
conditionals?: ({
|
4134
|
+
type: "SHOW";
|
4135
|
+
conditional: import(".").JSONSchema;
|
4136
|
+
} | {
|
4137
|
+
type: "ENABLE";
|
4138
|
+
conditional: import(".").JSONSchema;
|
4139
|
+
} | {
|
4140
|
+
type: "DISPLAY_ON_REVIEW";
|
4141
|
+
conditional: import(".").JSONSchema;
|
4142
|
+
})[] | undefined;
|
4143
|
+
secured?: boolean | undefined;
|
4144
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
4145
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4146
|
+
hideLabel?: boolean | undefined;
|
4147
|
+
uncorrectable?: boolean | undefined;
|
4148
|
+
defaultValue?: {
|
4149
|
+
error: {
|
4150
|
+
message: string;
|
4151
|
+
statusCode: number | null;
|
4152
|
+
} | null;
|
4153
|
+
loading: boolean;
|
4154
|
+
data?: any;
|
4155
|
+
trackingValue?: string | undefined;
|
4156
|
+
} | undefined;
|
3857
4157
|
})[];
|
3858
4158
|
};
|
3859
4159
|
draft?: boolean | undefined;
|
@@ -4432,21 +4732,18 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4432
4732
|
name?: {
|
4433
4733
|
firstname?: {
|
4434
4734
|
required: boolean;
|
4435
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4436
4735
|
} | undefined;
|
4437
4736
|
surname?: {
|
4438
4737
|
required: boolean;
|
4439
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4440
4738
|
} | undefined;
|
4441
4739
|
middlename?: {
|
4442
4740
|
required: boolean;
|
4443
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4444
4741
|
} | undefined;
|
4445
4742
|
} | undefined;
|
4446
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
4447
4743
|
maxLength?: number | undefined;
|
4448
4744
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4449
4745
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4746
|
+
searchMode?: boolean | undefined;
|
4450
4747
|
} | undefined;
|
4451
4748
|
} | {
|
4452
4749
|
type: "PHONE";
|
@@ -4779,21 +5076,90 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4779
5076
|
postcodeOrZip?: string | undefined;
|
4780
5077
|
} | undefined;
|
4781
5078
|
configuration?: {
|
4782
|
-
|
4783
|
-
|
5079
|
+
searchMode?: boolean | undefined;
|
5080
|
+
} | undefined;
|
5081
|
+
} | {
|
5082
|
+
type: "DATA";
|
5083
|
+
id: string;
|
5084
|
+
label: import("./TranslationConfig").TranslationConfig;
|
5085
|
+
configuration: {
|
5086
|
+
data: ({
|
5087
|
+
value: string | import("./TranslationConfig").TranslationConfig;
|
5088
|
+
label: import("./TranslationConfig").TranslationConfig;
|
5089
|
+
} | {
|
5090
|
+
fieldId: string;
|
5091
|
+
})[];
|
5092
|
+
subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
|
5093
|
+
};
|
5094
|
+
parent?: {
|
5095
|
+
$$field: string;
|
5096
|
+
} | undefined;
|
5097
|
+
validation?: {
|
5098
|
+
message: import("./TranslationConfig").TranslationConfig;
|
5099
|
+
validator: import(".").JSONSchema;
|
5100
|
+
}[] | undefined;
|
5101
|
+
required?: boolean | undefined;
|
5102
|
+
conditionals?: ({
|
5103
|
+
type: "SHOW";
|
5104
|
+
conditional: import(".").JSONSchema;
|
5105
|
+
} | {
|
5106
|
+
type: "ENABLE";
|
5107
|
+
conditional: import(".").JSONSchema;
|
5108
|
+
} | {
|
5109
|
+
type: "DISPLAY_ON_REVIEW";
|
5110
|
+
conditional: import(".").JSONSchema;
|
5111
|
+
})[] | undefined;
|
5112
|
+
secured?: boolean | undefined;
|
5113
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
5114
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5115
|
+
hideLabel?: boolean | undefined;
|
5116
|
+
uncorrectable?: boolean | undefined;
|
5117
|
+
} | {
|
5118
|
+
type: "BUTTON";
|
5119
|
+
id: string;
|
5120
|
+
label: import("./TranslationConfig").TranslationConfig;
|
5121
|
+
configuration: {
|
5122
|
+
text: import("./TranslationConfig").TranslationConfig;
|
5123
|
+
loading?: boolean | undefined;
|
5124
|
+
icon?: string | undefined;
|
5125
|
+
};
|
5126
|
+
parent?: {
|
5127
|
+
$$field: string;
|
4784
5128
|
} | undefined;
|
5129
|
+
validation?: {
|
5130
|
+
message: import("./TranslationConfig").TranslationConfig;
|
5131
|
+
validator: import(".").JSONSchema;
|
5132
|
+
}[] | undefined;
|
5133
|
+
required?: boolean | undefined;
|
5134
|
+
conditionals?: ({
|
5135
|
+
type: "SHOW";
|
5136
|
+
conditional: import(".").JSONSchema;
|
5137
|
+
} | {
|
5138
|
+
type: "ENABLE";
|
5139
|
+
conditional: import(".").JSONSchema;
|
5140
|
+
} | {
|
5141
|
+
type: "DISPLAY_ON_REVIEW";
|
5142
|
+
conditional: import(".").JSONSchema;
|
5143
|
+
})[] | undefined;
|
5144
|
+
secured?: boolean | undefined;
|
5145
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
5146
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5147
|
+
hideLabel?: boolean | undefined;
|
5148
|
+
uncorrectable?: boolean | undefined;
|
4785
5149
|
} | {
|
4786
|
-
type: "
|
5150
|
+
type: "HTTP";
|
4787
5151
|
id: string;
|
4788
5152
|
label: import("./TranslationConfig").TranslationConfig;
|
4789
5153
|
configuration: {
|
4790
|
-
|
4791
|
-
|
4792
|
-
|
4793
|
-
}
|
4794
|
-
|
4795
|
-
|
4796
|
-
|
5154
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
5155
|
+
trigger: {
|
5156
|
+
$$field: string;
|
5157
|
+
};
|
5158
|
+
url: string;
|
5159
|
+
timeout: number;
|
5160
|
+
params?: Record<string, string> | undefined;
|
5161
|
+
headers?: Record<string, string> | undefined;
|
5162
|
+
body?: Record<string, string> | undefined;
|
4797
5163
|
};
|
4798
5164
|
parent?: {
|
4799
5165
|
$$field: string;
|
@@ -4818,6 +5184,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4818
5184
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4819
5185
|
hideLabel?: boolean | undefined;
|
4820
5186
|
uncorrectable?: boolean | undefined;
|
5187
|
+
defaultValue?: {
|
5188
|
+
error: {
|
5189
|
+
message: string;
|
5190
|
+
statusCode: number | null;
|
5191
|
+
} | null;
|
5192
|
+
loading: boolean;
|
5193
|
+
data?: any;
|
5194
|
+
trackingValue?: string | undefined;
|
5195
|
+
} | undefined;
|
4821
5196
|
})[];
|
4822
5197
|
};
|
4823
5198
|
draft?: boolean | undefined;
|
@@ -5444,21 +5819,18 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5444
5819
|
name?: {
|
5445
5820
|
firstname?: {
|
5446
5821
|
required: boolean;
|
5447
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5448
5822
|
} | undefined;
|
5449
5823
|
surname?: {
|
5450
5824
|
required: boolean;
|
5451
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5452
5825
|
} | undefined;
|
5453
5826
|
middlename?: {
|
5454
5827
|
required: boolean;
|
5455
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5456
5828
|
} | undefined;
|
5457
5829
|
} | undefined;
|
5458
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
5459
5830
|
maxLength?: number | undefined;
|
5460
5831
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5461
5832
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5833
|
+
searchMode?: boolean | undefined;
|
5462
5834
|
} | undefined;
|
5463
5835
|
} | {
|
5464
5836
|
type: "PHONE";
|
@@ -5791,8 +6163,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5791
6163
|
postcodeOrZip?: string | undefined;
|
5792
6164
|
} | undefined;
|
5793
6165
|
configuration?: {
|
5794
|
-
|
5795
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
6166
|
+
searchMode?: boolean | undefined;
|
5796
6167
|
} | undefined;
|
5797
6168
|
} | {
|
5798
6169
|
type: "DATA";
|
@@ -5830,6 +6201,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5830
6201
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5831
6202
|
hideLabel?: boolean | undefined;
|
5832
6203
|
uncorrectable?: boolean | undefined;
|
6204
|
+
} | {
|
6205
|
+
type: "BUTTON";
|
6206
|
+
id: string;
|
6207
|
+
label: import("./TranslationConfig").TranslationConfig;
|
6208
|
+
configuration: {
|
6209
|
+
text: import("./TranslationConfig").TranslationConfig;
|
6210
|
+
loading?: boolean | undefined;
|
6211
|
+
icon?: string | undefined;
|
6212
|
+
};
|
6213
|
+
parent?: {
|
6214
|
+
$$field: string;
|
6215
|
+
} | undefined;
|
6216
|
+
validation?: {
|
6217
|
+
message: import("./TranslationConfig").TranslationConfig;
|
6218
|
+
validator: import(".").JSONSchema;
|
6219
|
+
}[] | undefined;
|
6220
|
+
required?: boolean | undefined;
|
6221
|
+
conditionals?: ({
|
6222
|
+
type: "SHOW";
|
6223
|
+
conditional: import(".").JSONSchema;
|
6224
|
+
} | {
|
6225
|
+
type: "ENABLE";
|
6226
|
+
conditional: import(".").JSONSchema;
|
6227
|
+
} | {
|
6228
|
+
type: "DISPLAY_ON_REVIEW";
|
6229
|
+
conditional: import(".").JSONSchema;
|
6230
|
+
})[] | undefined;
|
6231
|
+
secured?: boolean | undefined;
|
6232
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
6233
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6234
|
+
hideLabel?: boolean | undefined;
|
6235
|
+
uncorrectable?: boolean | undefined;
|
6236
|
+
} | {
|
6237
|
+
type: "HTTP";
|
6238
|
+
id: string;
|
6239
|
+
label: import("./TranslationConfig").TranslationConfig;
|
6240
|
+
configuration: {
|
6241
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
6242
|
+
trigger: {
|
6243
|
+
$$field: string;
|
6244
|
+
};
|
6245
|
+
url: string;
|
6246
|
+
timeout: number;
|
6247
|
+
params?: Record<string, string> | undefined;
|
6248
|
+
headers?: Record<string, string> | undefined;
|
6249
|
+
body?: Record<string, string> | undefined;
|
6250
|
+
};
|
6251
|
+
parent?: {
|
6252
|
+
$$field: string;
|
6253
|
+
} | undefined;
|
6254
|
+
validation?: {
|
6255
|
+
message: import("./TranslationConfig").TranslationConfig;
|
6256
|
+
validator: import(".").JSONSchema;
|
6257
|
+
}[] | undefined;
|
6258
|
+
required?: boolean | undefined;
|
6259
|
+
conditionals?: ({
|
6260
|
+
type: "SHOW";
|
6261
|
+
conditional: import(".").JSONSchema;
|
6262
|
+
} | {
|
6263
|
+
type: "ENABLE";
|
6264
|
+
conditional: import(".").JSONSchema;
|
6265
|
+
} | {
|
6266
|
+
type: "DISPLAY_ON_REVIEW";
|
6267
|
+
conditional: import(".").JSONSchema;
|
6268
|
+
})[] | undefined;
|
6269
|
+
secured?: boolean | undefined;
|
6270
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
6271
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6272
|
+
hideLabel?: boolean | undefined;
|
6273
|
+
uncorrectable?: boolean | undefined;
|
6274
|
+
defaultValue?: {
|
6275
|
+
error: {
|
6276
|
+
message: string;
|
6277
|
+
statusCode: number | null;
|
6278
|
+
} | null;
|
6279
|
+
loading: boolean;
|
6280
|
+
data?: any;
|
6281
|
+
trackingValue?: string | undefined;
|
6282
|
+
} | undefined;
|
5833
6283
|
})[];
|
5834
6284
|
conditional?: import(".").JSONSchema | undefined;
|
5835
6285
|
} | {
|
@@ -6411,21 +6861,18 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6411
6861
|
name?: {
|
6412
6862
|
firstname?: {
|
6413
6863
|
required: boolean;
|
6414
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6415
6864
|
} | undefined;
|
6416
6865
|
surname?: {
|
6417
6866
|
required: boolean;
|
6418
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6419
6867
|
} | undefined;
|
6420
6868
|
middlename?: {
|
6421
6869
|
required: boolean;
|
6422
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6423
6870
|
} | undefined;
|
6424
6871
|
} | undefined;
|
6425
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
6426
6872
|
maxLength?: number | undefined;
|
6427
6873
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6428
6874
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6875
|
+
searchMode?: boolean | undefined;
|
6429
6876
|
} | undefined;
|
6430
6877
|
} | {
|
6431
6878
|
type: "PHONE";
|
@@ -6758,8 +7205,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6758
7205
|
postcodeOrZip?: string | undefined;
|
6759
7206
|
} | undefined;
|
6760
7207
|
configuration?: {
|
6761
|
-
|
6762
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
7208
|
+
searchMode?: boolean | undefined;
|
6763
7209
|
} | undefined;
|
6764
7210
|
} | {
|
6765
7211
|
type: "DATA";
|
@@ -6797,6 +7243,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6797
7243
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6798
7244
|
hideLabel?: boolean | undefined;
|
6799
7245
|
uncorrectable?: boolean | undefined;
|
7246
|
+
} | {
|
7247
|
+
type: "BUTTON";
|
7248
|
+
id: string;
|
7249
|
+
label: import("./TranslationConfig").TranslationConfig;
|
7250
|
+
configuration: {
|
7251
|
+
text: import("./TranslationConfig").TranslationConfig;
|
7252
|
+
loading?: boolean | undefined;
|
7253
|
+
icon?: string | undefined;
|
7254
|
+
};
|
7255
|
+
parent?: {
|
7256
|
+
$$field: string;
|
7257
|
+
} | undefined;
|
7258
|
+
validation?: {
|
7259
|
+
message: import("./TranslationConfig").TranslationConfig;
|
7260
|
+
validator: import(".").JSONSchema;
|
7261
|
+
}[] | undefined;
|
7262
|
+
required?: boolean | undefined;
|
7263
|
+
conditionals?: ({
|
7264
|
+
type: "SHOW";
|
7265
|
+
conditional: import(".").JSONSchema;
|
7266
|
+
} | {
|
7267
|
+
type: "ENABLE";
|
7268
|
+
conditional: import(".").JSONSchema;
|
7269
|
+
} | {
|
7270
|
+
type: "DISPLAY_ON_REVIEW";
|
7271
|
+
conditional: import(".").JSONSchema;
|
7272
|
+
})[] | undefined;
|
7273
|
+
secured?: boolean | undefined;
|
7274
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7275
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7276
|
+
hideLabel?: boolean | undefined;
|
7277
|
+
uncorrectable?: boolean | undefined;
|
7278
|
+
} | {
|
7279
|
+
type: "HTTP";
|
7280
|
+
id: string;
|
7281
|
+
label: import("./TranslationConfig").TranslationConfig;
|
7282
|
+
configuration: {
|
7283
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
7284
|
+
trigger: {
|
7285
|
+
$$field: string;
|
7286
|
+
};
|
7287
|
+
url: string;
|
7288
|
+
timeout: number;
|
7289
|
+
params?: Record<string, string> | undefined;
|
7290
|
+
headers?: Record<string, string> | undefined;
|
7291
|
+
body?: Record<string, string> | undefined;
|
7292
|
+
};
|
7293
|
+
parent?: {
|
7294
|
+
$$field: string;
|
7295
|
+
} | undefined;
|
7296
|
+
validation?: {
|
7297
|
+
message: import("./TranslationConfig").TranslationConfig;
|
7298
|
+
validator: import(".").JSONSchema;
|
7299
|
+
}[] | undefined;
|
7300
|
+
required?: boolean | undefined;
|
7301
|
+
conditionals?: ({
|
7302
|
+
type: "SHOW";
|
7303
|
+
conditional: import(".").JSONSchema;
|
7304
|
+
} | {
|
7305
|
+
type: "ENABLE";
|
7306
|
+
conditional: import(".").JSONSchema;
|
7307
|
+
} | {
|
7308
|
+
type: "DISPLAY_ON_REVIEW";
|
7309
|
+
conditional: import(".").JSONSchema;
|
7310
|
+
})[] | undefined;
|
7311
|
+
secured?: boolean | undefined;
|
7312
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7313
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7314
|
+
hideLabel?: boolean | undefined;
|
7315
|
+
uncorrectable?: boolean | undefined;
|
7316
|
+
defaultValue?: {
|
7317
|
+
error: {
|
7318
|
+
message: string;
|
7319
|
+
statusCode: number | null;
|
7320
|
+
} | null;
|
7321
|
+
loading: boolean;
|
7322
|
+
data?: any;
|
7323
|
+
trackingValue?: string | undefined;
|
7324
|
+
} | undefined;
|
6800
7325
|
})[];
|
6801
7326
|
conditional?: import(".").JSONSchema | undefined;
|
6802
7327
|
})[];
|
@@ -7381,21 +7906,18 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7381
7906
|
name?: {
|
7382
7907
|
firstname?: {
|
7383
7908
|
required: boolean;
|
7384
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7385
7909
|
} | undefined;
|
7386
7910
|
surname?: {
|
7387
7911
|
required: boolean;
|
7388
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7389
7912
|
} | undefined;
|
7390
7913
|
middlename?: {
|
7391
7914
|
required: boolean;
|
7392
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7393
7915
|
} | undefined;
|
7394
7916
|
} | undefined;
|
7395
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
7396
7917
|
maxLength?: number | undefined;
|
7397
7918
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7398
7919
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7920
|
+
searchMode?: boolean | undefined;
|
7399
7921
|
} | undefined;
|
7400
7922
|
} | {
|
7401
7923
|
type: "PHONE";
|
@@ -7728,8 +8250,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7728
8250
|
postcodeOrZip?: string | undefined;
|
7729
8251
|
} | undefined;
|
7730
8252
|
configuration?: {
|
7731
|
-
|
7732
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
8253
|
+
searchMode?: boolean | undefined;
|
7733
8254
|
} | undefined;
|
7734
8255
|
} | {
|
7735
8256
|
type: "DATA";
|
@@ -7767,6 +8288,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7767
8288
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7768
8289
|
hideLabel?: boolean | undefined;
|
7769
8290
|
uncorrectable?: boolean | undefined;
|
8291
|
+
} | {
|
8292
|
+
type: "BUTTON";
|
8293
|
+
id: string;
|
8294
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8295
|
+
configuration: {
|
8296
|
+
text: import("./TranslationConfig").TranslationConfig;
|
8297
|
+
loading?: boolean | undefined;
|
8298
|
+
icon?: string | undefined;
|
8299
|
+
};
|
8300
|
+
parent?: {
|
8301
|
+
$$field: string;
|
8302
|
+
} | undefined;
|
8303
|
+
validation?: {
|
8304
|
+
message: import("./TranslationConfig").TranslationConfig;
|
8305
|
+
validator: import(".").JSONSchema;
|
8306
|
+
}[] | undefined;
|
8307
|
+
required?: boolean | undefined;
|
8308
|
+
conditionals?: ({
|
8309
|
+
type: "SHOW";
|
8310
|
+
conditional: import(".").JSONSchema;
|
8311
|
+
} | {
|
8312
|
+
type: "ENABLE";
|
8313
|
+
conditional: import(".").JSONSchema;
|
8314
|
+
} | {
|
8315
|
+
type: "DISPLAY_ON_REVIEW";
|
8316
|
+
conditional: import(".").JSONSchema;
|
8317
|
+
})[] | undefined;
|
8318
|
+
secured?: boolean | undefined;
|
8319
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
8320
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8321
|
+
hideLabel?: boolean | undefined;
|
8322
|
+
uncorrectable?: boolean | undefined;
|
8323
|
+
} | {
|
8324
|
+
type: "HTTP";
|
8325
|
+
id: string;
|
8326
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8327
|
+
configuration: {
|
8328
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
8329
|
+
trigger: {
|
8330
|
+
$$field: string;
|
8331
|
+
};
|
8332
|
+
url: string;
|
8333
|
+
timeout: number;
|
8334
|
+
params?: Record<string, string> | undefined;
|
8335
|
+
headers?: Record<string, string> | undefined;
|
8336
|
+
body?: Record<string, string> | undefined;
|
8337
|
+
};
|
8338
|
+
parent?: {
|
8339
|
+
$$field: string;
|
8340
|
+
} | undefined;
|
8341
|
+
validation?: {
|
8342
|
+
message: import("./TranslationConfig").TranslationConfig;
|
8343
|
+
validator: import(".").JSONSchema;
|
8344
|
+
}[] | undefined;
|
8345
|
+
required?: boolean | undefined;
|
8346
|
+
conditionals?: ({
|
8347
|
+
type: "SHOW";
|
8348
|
+
conditional: import(".").JSONSchema;
|
8349
|
+
} | {
|
8350
|
+
type: "ENABLE";
|
8351
|
+
conditional: import(".").JSONSchema;
|
8352
|
+
} | {
|
8353
|
+
type: "DISPLAY_ON_REVIEW";
|
8354
|
+
conditional: import(".").JSONSchema;
|
8355
|
+
})[] | undefined;
|
8356
|
+
secured?: boolean | undefined;
|
8357
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
8358
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8359
|
+
hideLabel?: boolean | undefined;
|
8360
|
+
uncorrectable?: boolean | undefined;
|
8361
|
+
defaultValue?: {
|
8362
|
+
error: {
|
8363
|
+
message: string;
|
8364
|
+
statusCode: number | null;
|
8365
|
+
} | null;
|
8366
|
+
loading: boolean;
|
8367
|
+
data?: any;
|
8368
|
+
trackingValue?: string | undefined;
|
8369
|
+
} | undefined;
|
7770
8370
|
})[];
|
7771
8371
|
conditional?: import(".").JSONSchema | undefined;
|
7772
8372
|
} | {
|
@@ -8348,21 +8948,18 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8348
8948
|
name?: {
|
8349
8949
|
firstname?: {
|
8350
8950
|
required: boolean;
|
8351
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8352
8951
|
} | undefined;
|
8353
8952
|
surname?: {
|
8354
8953
|
required: boolean;
|
8355
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8356
8954
|
} | undefined;
|
8357
8955
|
middlename?: {
|
8358
8956
|
required: boolean;
|
8359
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8360
8957
|
} | undefined;
|
8361
8958
|
} | undefined;
|
8362
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
8363
8959
|
maxLength?: number | undefined;
|
8364
8960
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8365
8961
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8962
|
+
searchMode?: boolean | undefined;
|
8366
8963
|
} | undefined;
|
8367
8964
|
} | {
|
8368
8965
|
type: "PHONE";
|
@@ -8695,8 +9292,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8695
9292
|
postcodeOrZip?: string | undefined;
|
8696
9293
|
} | undefined;
|
8697
9294
|
configuration?: {
|
8698
|
-
|
8699
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
9295
|
+
searchMode?: boolean | undefined;
|
8700
9296
|
} | undefined;
|
8701
9297
|
} | {
|
8702
9298
|
type: "DATA";
|
@@ -8734,6 +9330,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8734
9330
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8735
9331
|
hideLabel?: boolean | undefined;
|
8736
9332
|
uncorrectable?: boolean | undefined;
|
9333
|
+
} | {
|
9334
|
+
type: "BUTTON";
|
9335
|
+
id: string;
|
9336
|
+
label: import("./TranslationConfig").TranslationConfig;
|
9337
|
+
configuration: {
|
9338
|
+
text: import("./TranslationConfig").TranslationConfig;
|
9339
|
+
loading?: boolean | undefined;
|
9340
|
+
icon?: string | undefined;
|
9341
|
+
};
|
9342
|
+
parent?: {
|
9343
|
+
$$field: string;
|
9344
|
+
} | undefined;
|
9345
|
+
validation?: {
|
9346
|
+
message: import("./TranslationConfig").TranslationConfig;
|
9347
|
+
validator: import(".").JSONSchema;
|
9348
|
+
}[] | undefined;
|
9349
|
+
required?: boolean | undefined;
|
9350
|
+
conditionals?: ({
|
9351
|
+
type: "SHOW";
|
9352
|
+
conditional: import(".").JSONSchema;
|
9353
|
+
} | {
|
9354
|
+
type: "ENABLE";
|
9355
|
+
conditional: import(".").JSONSchema;
|
9356
|
+
} | {
|
9357
|
+
type: "DISPLAY_ON_REVIEW";
|
9358
|
+
conditional: import(".").JSONSchema;
|
9359
|
+
})[] | undefined;
|
9360
|
+
secured?: boolean | undefined;
|
9361
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
9362
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
9363
|
+
hideLabel?: boolean | undefined;
|
9364
|
+
uncorrectable?: boolean | undefined;
|
9365
|
+
} | {
|
9366
|
+
type: "HTTP";
|
9367
|
+
id: string;
|
9368
|
+
label: import("./TranslationConfig").TranslationConfig;
|
9369
|
+
configuration: {
|
9370
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
9371
|
+
trigger: {
|
9372
|
+
$$field: string;
|
9373
|
+
};
|
9374
|
+
url: string;
|
9375
|
+
timeout: number;
|
9376
|
+
params?: Record<string, string> | undefined;
|
9377
|
+
headers?: Record<string, string> | undefined;
|
9378
|
+
body?: Record<string, string> | undefined;
|
9379
|
+
};
|
9380
|
+
parent?: {
|
9381
|
+
$$field: string;
|
9382
|
+
} | undefined;
|
9383
|
+
validation?: {
|
9384
|
+
message: import("./TranslationConfig").TranslationConfig;
|
9385
|
+
validator: import(".").JSONSchema;
|
9386
|
+
}[] | undefined;
|
9387
|
+
required?: boolean | undefined;
|
9388
|
+
conditionals?: ({
|
9389
|
+
type: "SHOW";
|
9390
|
+
conditional: import(".").JSONSchema;
|
9391
|
+
} | {
|
9392
|
+
type: "ENABLE";
|
9393
|
+
conditional: import(".").JSONSchema;
|
9394
|
+
} | {
|
9395
|
+
type: "DISPLAY_ON_REVIEW";
|
9396
|
+
conditional: import(".").JSONSchema;
|
9397
|
+
})[] | undefined;
|
9398
|
+
secured?: boolean | undefined;
|
9399
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
9400
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
9401
|
+
hideLabel?: boolean | undefined;
|
9402
|
+
uncorrectable?: boolean | undefined;
|
9403
|
+
defaultValue?: {
|
9404
|
+
error: {
|
9405
|
+
message: string;
|
9406
|
+
statusCode: number | null;
|
9407
|
+
} | null;
|
9408
|
+
loading: boolean;
|
9409
|
+
data?: any;
|
9410
|
+
trackingValue?: string | undefined;
|
9411
|
+
} | undefined;
|
8737
9412
|
})[];
|
8738
9413
|
conditional?: import(".").JSONSchema | undefined;
|
8739
9414
|
})[];
|