@opencrvs/toolkit 1.8.1-rc.ebf61ab → 1.8.1-rc.ee55691
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/events/ActionConfig.d.ts +276 -1920
- package/dist/commons/events/EventConfig.d.ts +94 -586
- package/dist/commons/events/FieldConfig.d.ts +28 -263
- package/dist/commons/events/FormConfig.d.ts +132 -924
- package/dist/commons/events/PageConfig.d.ts +36 -260
- package/dist/commons/events/defineConfig.d.ts +18 -54
- package/dist/commons/events/utils.d.ts +32 -96
- package/dist/events/index.js +9 -31
- package/package.json +1 -1
@@ -2750,95 +2750,44 @@ export type SelectDateRangeField = z.infer<typeof SelectDateRangeField>;
|
|
2750
2750
|
export declare const NameConfig: z.ZodObject<{
|
2751
2751
|
firstname: z.ZodOptional<z.ZodObject<{
|
2752
2752
|
required: z.ZodBoolean;
|
2753
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2754
|
-
id: string;
|
2755
|
-
description: string;
|
2756
|
-
defaultMessage: string;
|
2757
|
-
}>>;
|
2758
2753
|
}, "strip", z.ZodTypeAny, {
|
2759
2754
|
required: boolean;
|
2760
|
-
label?: TranslationConfig | undefined;
|
2761
2755
|
}, {
|
2762
2756
|
required: boolean;
|
2763
|
-
label?: {
|
2764
|
-
id: string;
|
2765
|
-
description: string;
|
2766
|
-
defaultMessage: string;
|
2767
|
-
} | undefined;
|
2768
2757
|
}>>;
|
2769
2758
|
middlename: z.ZodOptional<z.ZodObject<{
|
2770
2759
|
required: z.ZodBoolean;
|
2771
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2772
|
-
id: string;
|
2773
|
-
description: string;
|
2774
|
-
defaultMessage: string;
|
2775
|
-
}>>;
|
2776
2760
|
}, "strip", z.ZodTypeAny, {
|
2777
2761
|
required: boolean;
|
2778
|
-
label?: TranslationConfig | undefined;
|
2779
2762
|
}, {
|
2780
2763
|
required: boolean;
|
2781
|
-
label?: {
|
2782
|
-
id: string;
|
2783
|
-
description: string;
|
2784
|
-
defaultMessage: string;
|
2785
|
-
} | undefined;
|
2786
2764
|
}>>;
|
2787
2765
|
surname: z.ZodOptional<z.ZodObject<{
|
2788
2766
|
required: z.ZodBoolean;
|
2789
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2790
|
-
id: string;
|
2791
|
-
description: string;
|
2792
|
-
defaultMessage: string;
|
2793
|
-
}>>;
|
2794
2767
|
}, "strip", z.ZodTypeAny, {
|
2795
2768
|
required: boolean;
|
2796
|
-
label?: TranslationConfig | undefined;
|
2797
2769
|
}, {
|
2798
2770
|
required: boolean;
|
2799
|
-
label?: {
|
2800
|
-
id: string;
|
2801
|
-
description: string;
|
2802
|
-
defaultMessage: string;
|
2803
|
-
} | undefined;
|
2804
2771
|
}>>;
|
2805
2772
|
}, "strip", z.ZodTypeAny, {
|
2806
2773
|
firstname?: {
|
2807
2774
|
required: boolean;
|
2808
|
-
label?: TranslationConfig | undefined;
|
2809
2775
|
} | undefined;
|
2810
2776
|
surname?: {
|
2811
2777
|
required: boolean;
|
2812
|
-
label?: TranslationConfig | undefined;
|
2813
2778
|
} | undefined;
|
2814
2779
|
middlename?: {
|
2815
2780
|
required: boolean;
|
2816
|
-
label?: TranslationConfig | undefined;
|
2817
2781
|
} | undefined;
|
2818
2782
|
}, {
|
2819
2783
|
firstname?: {
|
2820
2784
|
required: boolean;
|
2821
|
-
label?: {
|
2822
|
-
id: string;
|
2823
|
-
description: string;
|
2824
|
-
defaultMessage: string;
|
2825
|
-
} | undefined;
|
2826
2785
|
} | undefined;
|
2827
2786
|
surname?: {
|
2828
2787
|
required: boolean;
|
2829
|
-
label?: {
|
2830
|
-
id: string;
|
2831
|
-
description: string;
|
2832
|
-
defaultMessage: string;
|
2833
|
-
} | undefined;
|
2834
2788
|
} | undefined;
|
2835
2789
|
middlename?: {
|
2836
2790
|
required: boolean;
|
2837
|
-
label?: {
|
2838
|
-
id: string;
|
2839
|
-
description: string;
|
2840
|
-
defaultMessage: string;
|
2841
|
-
} | undefined;
|
2842
2791
|
} | undefined;
|
2843
2792
|
}>;
|
2844
2793
|
export type NameConfig = z.infer<typeof NameConfig>;
|
@@ -2908,98 +2857,46 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2908
2857
|
name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
2909
2858
|
firstname: z.ZodOptional<z.ZodObject<{
|
2910
2859
|
required: z.ZodBoolean;
|
2911
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2912
|
-
id: string;
|
2913
|
-
description: string;
|
2914
|
-
defaultMessage: string;
|
2915
|
-
}>>;
|
2916
2860
|
}, "strip", z.ZodTypeAny, {
|
2917
2861
|
required: boolean;
|
2918
|
-
label?: TranslationConfig | undefined;
|
2919
2862
|
}, {
|
2920
2863
|
required: boolean;
|
2921
|
-
label?: {
|
2922
|
-
id: string;
|
2923
|
-
description: string;
|
2924
|
-
defaultMessage: string;
|
2925
|
-
} | undefined;
|
2926
2864
|
}>>;
|
2927
2865
|
middlename: z.ZodOptional<z.ZodObject<{
|
2928
2866
|
required: z.ZodBoolean;
|
2929
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2930
|
-
id: string;
|
2931
|
-
description: string;
|
2932
|
-
defaultMessage: string;
|
2933
|
-
}>>;
|
2934
2867
|
}, "strip", z.ZodTypeAny, {
|
2935
2868
|
required: boolean;
|
2936
|
-
label?: TranslationConfig | undefined;
|
2937
2869
|
}, {
|
2938
2870
|
required: boolean;
|
2939
|
-
label?: {
|
2940
|
-
id: string;
|
2941
|
-
description: string;
|
2942
|
-
defaultMessage: string;
|
2943
|
-
} | undefined;
|
2944
2871
|
}>>;
|
2945
2872
|
surname: z.ZodOptional<z.ZodObject<{
|
2946
2873
|
required: z.ZodBoolean;
|
2947
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2948
|
-
id: string;
|
2949
|
-
description: string;
|
2950
|
-
defaultMessage: string;
|
2951
|
-
}>>;
|
2952
2874
|
}, "strip", z.ZodTypeAny, {
|
2953
2875
|
required: boolean;
|
2954
|
-
label?: TranslationConfig | undefined;
|
2955
2876
|
}, {
|
2956
2877
|
required: boolean;
|
2957
|
-
label?: {
|
2958
|
-
id: string;
|
2959
|
-
description: string;
|
2960
|
-
defaultMessage: string;
|
2961
|
-
} | undefined;
|
2962
2878
|
}>>;
|
2963
2879
|
}, "strip", z.ZodTypeAny, {
|
2964
2880
|
firstname?: {
|
2965
2881
|
required: boolean;
|
2966
|
-
label?: TranslationConfig | undefined;
|
2967
2882
|
} | undefined;
|
2968
2883
|
surname?: {
|
2969
2884
|
required: boolean;
|
2970
|
-
label?: TranslationConfig | undefined;
|
2971
2885
|
} | undefined;
|
2972
2886
|
middlename?: {
|
2973
2887
|
required: boolean;
|
2974
|
-
label?: TranslationConfig | undefined;
|
2975
2888
|
} | undefined;
|
2976
2889
|
}, {
|
2977
2890
|
firstname?: {
|
2978
2891
|
required: boolean;
|
2979
|
-
label?: {
|
2980
|
-
id: string;
|
2981
|
-
description: string;
|
2982
|
-
defaultMessage: string;
|
2983
|
-
} | undefined;
|
2984
2892
|
} | undefined;
|
2985
2893
|
surname?: {
|
2986
2894
|
required: boolean;
|
2987
|
-
label?: {
|
2988
|
-
id: string;
|
2989
|
-
description: string;
|
2990
|
-
defaultMessage: string;
|
2991
|
-
} | undefined;
|
2992
2895
|
} | undefined;
|
2993
2896
|
middlename?: {
|
2994
2897
|
required: boolean;
|
2995
|
-
label?: {
|
2996
|
-
id: string;
|
2997
|
-
description: string;
|
2998
|
-
defaultMessage: string;
|
2999
|
-
} | undefined;
|
3000
2898
|
} | undefined;
|
3001
2899
|
}>>>;
|
3002
|
-
order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
|
3003
2900
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
3004
2901
|
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3005
2902
|
id: string;
|
@@ -3011,53 +2908,35 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3011
2908
|
description: string;
|
3012
2909
|
defaultMessage: string;
|
3013
2910
|
}>>;
|
2911
|
+
searchMode: z.ZodOptional<z.ZodBoolean>;
|
3014
2912
|
}, "strip", z.ZodTypeAny, {
|
3015
2913
|
name?: {
|
3016
2914
|
firstname?: {
|
3017
2915
|
required: boolean;
|
3018
|
-
label?: TranslationConfig | undefined;
|
3019
2916
|
} | undefined;
|
3020
2917
|
surname?: {
|
3021
2918
|
required: boolean;
|
3022
|
-
label?: TranslationConfig | undefined;
|
3023
2919
|
} | undefined;
|
3024
2920
|
middlename?: {
|
3025
2921
|
required: boolean;
|
3026
|
-
label?: TranslationConfig | undefined;
|
3027
2922
|
} | undefined;
|
3028
2923
|
} | undefined;
|
3029
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
3030
2924
|
maxLength?: number | undefined;
|
3031
2925
|
prefix?: TranslationConfig | undefined;
|
3032
2926
|
postfix?: TranslationConfig | undefined;
|
2927
|
+
searchMode?: boolean | undefined;
|
3033
2928
|
}, {
|
3034
2929
|
name?: {
|
3035
2930
|
firstname?: {
|
3036
2931
|
required: boolean;
|
3037
|
-
label?: {
|
3038
|
-
id: string;
|
3039
|
-
description: string;
|
3040
|
-
defaultMessage: string;
|
3041
|
-
} | undefined;
|
3042
2932
|
} | undefined;
|
3043
2933
|
surname?: {
|
3044
2934
|
required: boolean;
|
3045
|
-
label?: {
|
3046
|
-
id: string;
|
3047
|
-
description: string;
|
3048
|
-
defaultMessage: string;
|
3049
|
-
} | undefined;
|
3050
2935
|
} | undefined;
|
3051
2936
|
middlename?: {
|
3052
2937
|
required: boolean;
|
3053
|
-
label?: {
|
3054
|
-
id: string;
|
3055
|
-
description: string;
|
3056
|
-
defaultMessage: string;
|
3057
|
-
} | undefined;
|
3058
2938
|
} | undefined;
|
3059
2939
|
} | undefined;
|
3060
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
3061
2940
|
maxLength?: number | undefined;
|
3062
2941
|
prefix?: {
|
3063
2942
|
id: string;
|
@@ -3069,6 +2948,7 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3069
2948
|
description: string;
|
3070
2949
|
defaultMessage: string;
|
3071
2950
|
} | undefined;
|
2951
|
+
searchMode?: boolean | undefined;
|
3072
2952
|
}>>>;
|
3073
2953
|
}>, "strip", z.ZodTypeAny, {
|
3074
2954
|
type: "NAME";
|
@@ -3106,21 +2986,18 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3106
2986
|
name?: {
|
3107
2987
|
firstname?: {
|
3108
2988
|
required: boolean;
|
3109
|
-
label?: TranslationConfig | undefined;
|
3110
2989
|
} | undefined;
|
3111
2990
|
surname?: {
|
3112
2991
|
required: boolean;
|
3113
|
-
label?: TranslationConfig | undefined;
|
3114
2992
|
} | undefined;
|
3115
2993
|
middlename?: {
|
3116
2994
|
required: boolean;
|
3117
|
-
label?: TranslationConfig | undefined;
|
3118
2995
|
} | undefined;
|
3119
2996
|
} | undefined;
|
3120
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
3121
2997
|
maxLength?: number | undefined;
|
3122
2998
|
prefix?: TranslationConfig | undefined;
|
3123
2999
|
postfix?: TranslationConfig | undefined;
|
3000
|
+
searchMode?: boolean | undefined;
|
3124
3001
|
} | undefined;
|
3125
3002
|
}, {
|
3126
3003
|
type: "NAME";
|
@@ -3174,30 +3051,14 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3174
3051
|
name?: {
|
3175
3052
|
firstname?: {
|
3176
3053
|
required: boolean;
|
3177
|
-
label?: {
|
3178
|
-
id: string;
|
3179
|
-
description: string;
|
3180
|
-
defaultMessage: string;
|
3181
|
-
} | undefined;
|
3182
3054
|
} | undefined;
|
3183
3055
|
surname?: {
|
3184
3056
|
required: boolean;
|
3185
|
-
label?: {
|
3186
|
-
id: string;
|
3187
|
-
description: string;
|
3188
|
-
defaultMessage: string;
|
3189
|
-
} | undefined;
|
3190
3057
|
} | undefined;
|
3191
3058
|
middlename?: {
|
3192
3059
|
required: boolean;
|
3193
|
-
label?: {
|
3194
|
-
id: string;
|
3195
|
-
description: string;
|
3196
|
-
defaultMessage: string;
|
3197
|
-
} | undefined;
|
3198
3060
|
} | undefined;
|
3199
3061
|
} | undefined;
|
3200
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
3201
3062
|
maxLength?: number | undefined;
|
3202
3063
|
prefix?: {
|
3203
3064
|
id: string;
|
@@ -3209,6 +3070,7 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3209
3070
|
description: string;
|
3210
3071
|
defaultMessage: string;
|
3211
3072
|
} | undefined;
|
3073
|
+
searchMode?: boolean | undefined;
|
3212
3074
|
} | undefined;
|
3213
3075
|
}>;
|
3214
3076
|
declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
|
@@ -4513,16 +4375,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
4513
4375
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4514
4376
|
}, {
|
4515
4377
|
type: z.ZodLiteral<"ADDRESS">;
|
4516
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
4517
|
-
lineSeparator: z.ZodOptional<z.ZodString>;
|
4518
|
-
fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["number", "country", "province", "addressType", "district", "urbanOrRural", "town", "residentialArea", "street", "zipCode", "village", "state", "district2", "cityOrTown", "addressLine1", "addressLine2", "addressLine3", "postcodeOrZip"]>, "many">>;
|
4519
|
-
}, "strip", z.ZodTypeAny, {
|
4520
|
-
lineSeparator?: string | undefined;
|
4521
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4522
|
-
}, {
|
4523
|
-
lineSeparator?: string | undefined;
|
4524
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4525
|
-
}>>;
|
4526
4378
|
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
4527
4379
|
country: z.ZodString;
|
4528
4380
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -4610,6 +4462,13 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
4610
4462
|
addressLine3?: string | undefined;
|
4611
4463
|
postcodeOrZip?: string | undefined;
|
4612
4464
|
}>]>>;
|
4465
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
4466
|
+
searchMode: z.ZodOptional<z.ZodBoolean>;
|
4467
|
+
}, "strip", z.ZodTypeAny, {
|
4468
|
+
searchMode?: boolean | undefined;
|
4469
|
+
}, {
|
4470
|
+
searchMode?: boolean | undefined;
|
4471
|
+
}>>;
|
4613
4472
|
}>, "strip", z.ZodTypeAny, {
|
4614
4473
|
type: "ADDRESS";
|
4615
4474
|
id: string;
|
@@ -4667,8 +4526,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
4667
4526
|
postcodeOrZip?: string | undefined;
|
4668
4527
|
} | undefined;
|
4669
4528
|
configuration?: {
|
4670
|
-
|
4671
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4529
|
+
searchMode?: boolean | undefined;
|
4672
4530
|
} | undefined;
|
4673
4531
|
}, {
|
4674
4532
|
type: "ADDRESS";
|
@@ -4743,8 +4601,7 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
4743
4601
|
postcodeOrZip?: string | undefined;
|
4744
4602
|
} | undefined;
|
4745
4603
|
configuration?: {
|
4746
|
-
|
4747
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4604
|
+
searchMode?: boolean | undefined;
|
4748
4605
|
} | undefined;
|
4749
4606
|
}>;
|
4750
4607
|
export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
|
@@ -5048,16 +4905,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5048
4905
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5049
4906
|
}, {
|
5050
4907
|
type: z.ZodLiteral<"ADDRESS">;
|
5051
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
5052
|
-
lineSeparator: z.ZodOptional<z.ZodString>;
|
5053
|
-
fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["number", "country", "province", "addressType", "district", "urbanOrRural", "town", "residentialArea", "street", "zipCode", "village", "state", "district2", "cityOrTown", "addressLine1", "addressLine2", "addressLine3", "postcodeOrZip"]>, "many">>;
|
5054
|
-
}, "strip", z.ZodTypeAny, {
|
5055
|
-
lineSeparator?: string | undefined;
|
5056
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
5057
|
-
}, {
|
5058
|
-
lineSeparator?: string | undefined;
|
5059
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
5060
|
-
}>>;
|
5061
4908
|
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
5062
4909
|
country: z.ZodString;
|
5063
4910
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -5145,6 +4992,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5145
4992
|
addressLine3?: string | undefined;
|
5146
4993
|
postcodeOrZip?: string | undefined;
|
5147
4994
|
}>]>>;
|
4995
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
4996
|
+
searchMode: z.ZodOptional<z.ZodBoolean>;
|
4997
|
+
}, "strip", z.ZodTypeAny, {
|
4998
|
+
searchMode?: boolean | undefined;
|
4999
|
+
}, {
|
5000
|
+
searchMode?: boolean | undefined;
|
5001
|
+
}>>;
|
5148
5002
|
}>, "strip", z.ZodTypeAny, {
|
5149
5003
|
type: "ADDRESS";
|
5150
5004
|
id: string;
|
@@ -5202,8 +5056,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5202
5056
|
postcodeOrZip?: string | undefined;
|
5203
5057
|
} | undefined;
|
5204
5058
|
configuration?: {
|
5205
|
-
|
5206
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
5059
|
+
searchMode?: boolean | undefined;
|
5207
5060
|
} | undefined;
|
5208
5061
|
}, {
|
5209
5062
|
type: "ADDRESS";
|
@@ -5278,8 +5131,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5278
5131
|
postcodeOrZip?: string | undefined;
|
5279
5132
|
} | undefined;
|
5280
5133
|
configuration?: {
|
5281
|
-
|
5282
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
5134
|
+
searchMode?: boolean | undefined;
|
5283
5135
|
} | undefined;
|
5284
5136
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5285
5137
|
id: z.ZodString;
|
@@ -7251,98 +7103,46 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7251
7103
|
name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
7252
7104
|
firstname: z.ZodOptional<z.ZodObject<{
|
7253
7105
|
required: z.ZodBoolean;
|
7254
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7255
|
-
id: string;
|
7256
|
-
description: string;
|
7257
|
-
defaultMessage: string;
|
7258
|
-
}>>;
|
7259
7106
|
}, "strip", z.ZodTypeAny, {
|
7260
7107
|
required: boolean;
|
7261
|
-
label?: TranslationConfig | undefined;
|
7262
7108
|
}, {
|
7263
7109
|
required: boolean;
|
7264
|
-
label?: {
|
7265
|
-
id: string;
|
7266
|
-
description: string;
|
7267
|
-
defaultMessage: string;
|
7268
|
-
} | undefined;
|
7269
7110
|
}>>;
|
7270
7111
|
middlename: z.ZodOptional<z.ZodObject<{
|
7271
7112
|
required: z.ZodBoolean;
|
7272
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7273
|
-
id: string;
|
7274
|
-
description: string;
|
7275
|
-
defaultMessage: string;
|
7276
|
-
}>>;
|
7277
7113
|
}, "strip", z.ZodTypeAny, {
|
7278
7114
|
required: boolean;
|
7279
|
-
label?: TranslationConfig | undefined;
|
7280
7115
|
}, {
|
7281
7116
|
required: boolean;
|
7282
|
-
label?: {
|
7283
|
-
id: string;
|
7284
|
-
description: string;
|
7285
|
-
defaultMessage: string;
|
7286
|
-
} | undefined;
|
7287
7117
|
}>>;
|
7288
7118
|
surname: z.ZodOptional<z.ZodObject<{
|
7289
7119
|
required: z.ZodBoolean;
|
7290
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7291
|
-
id: string;
|
7292
|
-
description: string;
|
7293
|
-
defaultMessage: string;
|
7294
|
-
}>>;
|
7295
7120
|
}, "strip", z.ZodTypeAny, {
|
7296
7121
|
required: boolean;
|
7297
|
-
label?: TranslationConfig | undefined;
|
7298
7122
|
}, {
|
7299
7123
|
required: boolean;
|
7300
|
-
label?: {
|
7301
|
-
id: string;
|
7302
|
-
description: string;
|
7303
|
-
defaultMessage: string;
|
7304
|
-
} | undefined;
|
7305
7124
|
}>>;
|
7306
7125
|
}, "strip", z.ZodTypeAny, {
|
7307
7126
|
firstname?: {
|
7308
7127
|
required: boolean;
|
7309
|
-
label?: TranslationConfig | undefined;
|
7310
7128
|
} | undefined;
|
7311
7129
|
surname?: {
|
7312
7130
|
required: boolean;
|
7313
|
-
label?: TranslationConfig | undefined;
|
7314
7131
|
} | undefined;
|
7315
7132
|
middlename?: {
|
7316
7133
|
required: boolean;
|
7317
|
-
label?: TranslationConfig | undefined;
|
7318
7134
|
} | undefined;
|
7319
7135
|
}, {
|
7320
7136
|
firstname?: {
|
7321
7137
|
required: boolean;
|
7322
|
-
label?: {
|
7323
|
-
id: string;
|
7324
|
-
description: string;
|
7325
|
-
defaultMessage: string;
|
7326
|
-
} | undefined;
|
7327
7138
|
} | undefined;
|
7328
7139
|
surname?: {
|
7329
7140
|
required: boolean;
|
7330
|
-
label?: {
|
7331
|
-
id: string;
|
7332
|
-
description: string;
|
7333
|
-
defaultMessage: string;
|
7334
|
-
} | undefined;
|
7335
7141
|
} | undefined;
|
7336
7142
|
middlename?: {
|
7337
7143
|
required: boolean;
|
7338
|
-
label?: {
|
7339
|
-
id: string;
|
7340
|
-
description: string;
|
7341
|
-
defaultMessage: string;
|
7342
|
-
} | undefined;
|
7343
7144
|
} | undefined;
|
7344
7145
|
}>>>;
|
7345
|
-
order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
|
7346
7146
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
7347
7147
|
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7348
7148
|
id: string;
|
@@ -7354,53 +7154,35 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7354
7154
|
description: string;
|
7355
7155
|
defaultMessage: string;
|
7356
7156
|
}>>;
|
7157
|
+
searchMode: z.ZodOptional<z.ZodBoolean>;
|
7357
7158
|
}, "strip", z.ZodTypeAny, {
|
7358
7159
|
name?: {
|
7359
7160
|
firstname?: {
|
7360
7161
|
required: boolean;
|
7361
|
-
label?: TranslationConfig | undefined;
|
7362
7162
|
} | undefined;
|
7363
7163
|
surname?: {
|
7364
7164
|
required: boolean;
|
7365
|
-
label?: TranslationConfig | undefined;
|
7366
7165
|
} | undefined;
|
7367
7166
|
middlename?: {
|
7368
7167
|
required: boolean;
|
7369
|
-
label?: TranslationConfig | undefined;
|
7370
7168
|
} | undefined;
|
7371
7169
|
} | undefined;
|
7372
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
7373
7170
|
maxLength?: number | undefined;
|
7374
7171
|
prefix?: TranslationConfig | undefined;
|
7375
7172
|
postfix?: TranslationConfig | undefined;
|
7173
|
+
searchMode?: boolean | undefined;
|
7376
7174
|
}, {
|
7377
7175
|
name?: {
|
7378
7176
|
firstname?: {
|
7379
7177
|
required: boolean;
|
7380
|
-
label?: {
|
7381
|
-
id: string;
|
7382
|
-
description: string;
|
7383
|
-
defaultMessage: string;
|
7384
|
-
} | undefined;
|
7385
7178
|
} | undefined;
|
7386
7179
|
surname?: {
|
7387
7180
|
required: boolean;
|
7388
|
-
label?: {
|
7389
|
-
id: string;
|
7390
|
-
description: string;
|
7391
|
-
defaultMessage: string;
|
7392
|
-
} | undefined;
|
7393
7181
|
} | undefined;
|
7394
7182
|
middlename?: {
|
7395
7183
|
required: boolean;
|
7396
|
-
label?: {
|
7397
|
-
id: string;
|
7398
|
-
description: string;
|
7399
|
-
defaultMessage: string;
|
7400
|
-
} | undefined;
|
7401
7184
|
} | undefined;
|
7402
7185
|
} | undefined;
|
7403
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
7404
7186
|
maxLength?: number | undefined;
|
7405
7187
|
prefix?: {
|
7406
7188
|
id: string;
|
@@ -7412,6 +7194,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7412
7194
|
description: string;
|
7413
7195
|
defaultMessage: string;
|
7414
7196
|
} | undefined;
|
7197
|
+
searchMode?: boolean | undefined;
|
7415
7198
|
}>>>;
|
7416
7199
|
}>, "strip", z.ZodTypeAny, {
|
7417
7200
|
type: "NAME";
|
@@ -7449,21 +7232,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7449
7232
|
name?: {
|
7450
7233
|
firstname?: {
|
7451
7234
|
required: boolean;
|
7452
|
-
label?: TranslationConfig | undefined;
|
7453
7235
|
} | undefined;
|
7454
7236
|
surname?: {
|
7455
7237
|
required: boolean;
|
7456
|
-
label?: TranslationConfig | undefined;
|
7457
7238
|
} | undefined;
|
7458
7239
|
middlename?: {
|
7459
7240
|
required: boolean;
|
7460
|
-
label?: TranslationConfig | undefined;
|
7461
7241
|
} | undefined;
|
7462
7242
|
} | undefined;
|
7463
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
7464
7243
|
maxLength?: number | undefined;
|
7465
7244
|
prefix?: TranslationConfig | undefined;
|
7466
7245
|
postfix?: TranslationConfig | undefined;
|
7246
|
+
searchMode?: boolean | undefined;
|
7467
7247
|
} | undefined;
|
7468
7248
|
}, {
|
7469
7249
|
type: "NAME";
|
@@ -7517,30 +7297,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7517
7297
|
name?: {
|
7518
7298
|
firstname?: {
|
7519
7299
|
required: boolean;
|
7520
|
-
label?: {
|
7521
|
-
id: string;
|
7522
|
-
description: string;
|
7523
|
-
defaultMessage: string;
|
7524
|
-
} | undefined;
|
7525
7300
|
} | undefined;
|
7526
7301
|
surname?: {
|
7527
7302
|
required: boolean;
|
7528
|
-
label?: {
|
7529
|
-
id: string;
|
7530
|
-
description: string;
|
7531
|
-
defaultMessage: string;
|
7532
|
-
} | undefined;
|
7533
7303
|
} | undefined;
|
7534
7304
|
middlename?: {
|
7535
7305
|
required: boolean;
|
7536
|
-
label?: {
|
7537
|
-
id: string;
|
7538
|
-
description: string;
|
7539
|
-
defaultMessage: string;
|
7540
|
-
} | undefined;
|
7541
7306
|
} | undefined;
|
7542
7307
|
} | undefined;
|
7543
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
7544
7308
|
maxLength?: number | undefined;
|
7545
7309
|
prefix?: {
|
7546
7310
|
id: string;
|
@@ -7552,6 +7316,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7552
7316
|
description: string;
|
7553
7317
|
defaultMessage: string;
|
7554
7318
|
} | undefined;
|
7319
|
+
searchMode?: boolean | undefined;
|
7555
7320
|
} | undefined;
|
7556
7321
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7557
7322
|
id: z.ZodString;
|