@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.
@@ -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
- lineSeparator?: string | undefined;
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
- lineSeparator?: string | undefined;
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<{
@@ -4998,8 +4855,7 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
4998
4855
  uncorrectable?: boolean | undefined;
4999
4856
  }>;
5000
4857
  export type DataField = z.infer<typeof DataField>;
5001
- export type FieldConfig = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof TimeField> | z.infer<typeof DateRangeField> | z.infer<typeof SelectDateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField>;
5002
- export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
4858
+ declare const ButtonField: z.ZodObject<z.objectUtil.extendShape<{
5003
4859
  id: z.ZodString;
5004
4860
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5005
4861
  id: string;
@@ -5047,108 +4903,37 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5047
4903
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5048
4904
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5049
4905
  }, {
5050
- 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
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
5062
- country: z.ZodString;
5063
- addressType: z.ZodLiteral<"DOMESTIC">;
5064
- province: z.ZodString;
5065
- district: z.ZodString;
5066
- }, {
5067
- urbanOrRural: z.ZodLiteral<"URBAN">;
5068
- town: z.ZodOptional<z.ZodString>;
5069
- residentialArea: z.ZodOptional<z.ZodString>;
5070
- street: z.ZodOptional<z.ZodString>;
5071
- number: z.ZodOptional<z.ZodString>;
5072
- zipCode: z.ZodOptional<z.ZodString>;
5073
- }>, "strip", z.ZodTypeAny, {
5074
- country: string;
5075
- district: string;
5076
- addressType: "DOMESTIC";
5077
- province: string;
5078
- urbanOrRural: "URBAN";
5079
- number?: string | undefined;
5080
- town?: string | undefined;
5081
- residentialArea?: string | undefined;
5082
- street?: string | undefined;
5083
- zipCode?: string | undefined;
5084
- }, {
5085
- country: string;
5086
- district: string;
5087
- addressType: "DOMESTIC";
5088
- province: string;
5089
- urbanOrRural: "URBAN";
5090
- number?: string | undefined;
5091
- town?: string | undefined;
5092
- residentialArea?: string | undefined;
5093
- street?: string | undefined;
5094
- zipCode?: string | undefined;
5095
- }>, z.ZodObject<z.objectUtil.extendShape<{
5096
- country: z.ZodString;
5097
- addressType: z.ZodLiteral<"DOMESTIC">;
5098
- province: z.ZodString;
5099
- district: z.ZodString;
5100
- }, {
5101
- urbanOrRural: z.ZodLiteral<"RURAL">;
5102
- village: z.ZodOptional<z.ZodString>;
5103
- }>, "strip", z.ZodTypeAny, {
5104
- country: string;
5105
- district: string;
5106
- addressType: "DOMESTIC";
5107
- province: string;
5108
- urbanOrRural: "RURAL";
5109
- village?: string | undefined;
5110
- }, {
5111
- country: string;
5112
- district: string;
5113
- addressType: "DOMESTIC";
5114
- province: string;
5115
- urbanOrRural: "RURAL";
5116
- village?: string | undefined;
5117
- }>]>, z.ZodObject<{
5118
- country: z.ZodString;
5119
- addressType: z.ZodLiteral<"INTERNATIONAL">;
5120
- state: z.ZodString;
5121
- district2: z.ZodString;
5122
- cityOrTown: z.ZodOptional<z.ZodString>;
5123
- addressLine1: z.ZodOptional<z.ZodString>;
5124
- addressLine2: z.ZodOptional<z.ZodString>;
5125
- addressLine3: z.ZodOptional<z.ZodString>;
5126
- postcodeOrZip: z.ZodOptional<z.ZodString>;
4906
+ type: z.ZodLiteral<"BUTTON">;
4907
+ configuration: z.ZodObject<{
4908
+ icon: z.ZodOptional<z.ZodString>;
4909
+ loading: z.ZodOptional<z.ZodBoolean>;
4910
+ text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4911
+ id: string;
4912
+ description: string;
4913
+ defaultMessage: string;
4914
+ }>;
5127
4915
  }, "strip", z.ZodTypeAny, {
5128
- country: string;
5129
- state: string;
5130
- addressType: "INTERNATIONAL";
5131
- district2: string;
5132
- cityOrTown?: string | undefined;
5133
- addressLine1?: string | undefined;
5134
- addressLine2?: string | undefined;
5135
- addressLine3?: string | undefined;
5136
- postcodeOrZip?: string | undefined;
4916
+ text: TranslationConfig;
4917
+ loading?: boolean | undefined;
4918
+ icon?: string | undefined;
5137
4919
  }, {
5138
- country: string;
5139
- state: string;
5140
- addressType: "INTERNATIONAL";
5141
- district2: string;
5142
- cityOrTown?: string | undefined;
5143
- addressLine1?: string | undefined;
5144
- addressLine2?: string | undefined;
5145
- addressLine3?: string | undefined;
5146
- postcodeOrZip?: string | undefined;
5147
- }>]>>;
4920
+ text: {
4921
+ id: string;
4922
+ description: string;
4923
+ defaultMessage: string;
4924
+ };
4925
+ loading?: boolean | undefined;
4926
+ icon?: string | undefined;
4927
+ }>;
5148
4928
  }>, "strip", z.ZodTypeAny, {
5149
- type: "ADDRESS";
4929
+ type: "BUTTON";
5150
4930
  id: string;
5151
4931
  label: TranslationConfig;
4932
+ configuration: {
4933
+ text: TranslationConfig;
4934
+ loading?: boolean | undefined;
4935
+ icon?: string | undefined;
4936
+ };
5152
4937
  parent?: {
5153
4938
  $$field: string;
5154
4939
  } | undefined;
@@ -5172,47 +4957,23 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5172
4957
  helperText?: TranslationConfig | undefined;
5173
4958
  hideLabel?: boolean | undefined;
5174
4959
  uncorrectable?: boolean | undefined;
5175
- defaultValue?: {
5176
- country: string;
5177
- district: string;
5178
- addressType: "DOMESTIC";
5179
- province: string;
5180
- urbanOrRural: "URBAN";
5181
- number?: string | undefined;
5182
- town?: string | undefined;
5183
- residentialArea?: string | undefined;
5184
- street?: string | undefined;
5185
- zipCode?: string | undefined;
5186
- } | {
5187
- country: string;
5188
- district: string;
5189
- addressType: "DOMESTIC";
5190
- province: string;
5191
- urbanOrRural: "RURAL";
5192
- village?: string | undefined;
5193
- } | {
5194
- country: string;
5195
- state: string;
5196
- addressType: "INTERNATIONAL";
5197
- district2: string;
5198
- cityOrTown?: string | undefined;
5199
- addressLine1?: string | undefined;
5200
- addressLine2?: string | undefined;
5201
- addressLine3?: string | undefined;
5202
- postcodeOrZip?: string | undefined;
5203
- } | undefined;
5204
- configuration?: {
5205
- lineSeparator?: string | undefined;
5206
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
5207
- } | undefined;
5208
4960
  }, {
5209
- type: "ADDRESS";
4961
+ type: "BUTTON";
5210
4962
  id: string;
5211
4963
  label: {
5212
4964
  id: string;
5213
4965
  description: string;
5214
4966
  defaultMessage: string;
5215
4967
  };
4968
+ configuration: {
4969
+ text: {
4970
+ id: string;
4971
+ description: string;
4972
+ defaultMessage: string;
4973
+ };
4974
+ loading?: boolean | undefined;
4975
+ icon?: string | undefined;
4976
+ };
5216
4977
  parent?: {
5217
4978
  $$field: string;
5218
4979
  } | undefined;
@@ -5248,40 +5009,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5248
5009
  } | undefined;
5249
5010
  hideLabel?: boolean | undefined;
5250
5011
  uncorrectable?: boolean | undefined;
5251
- defaultValue?: {
5252
- country: string;
5253
- district: string;
5254
- addressType: "DOMESTIC";
5255
- province: string;
5256
- urbanOrRural: "URBAN";
5257
- number?: string | undefined;
5258
- town?: string | undefined;
5259
- residentialArea?: string | undefined;
5260
- street?: string | undefined;
5261
- zipCode?: string | undefined;
5262
- } | {
5263
- country: string;
5264
- district: string;
5265
- addressType: "DOMESTIC";
5266
- province: string;
5267
- urbanOrRural: "RURAL";
5268
- village?: string | undefined;
5269
- } | {
5270
- country: string;
5271
- state: string;
5272
- addressType: "INTERNATIONAL";
5273
- district2: string;
5274
- cityOrTown?: string | undefined;
5275
- addressLine1?: string | undefined;
5276
- addressLine2?: string | undefined;
5277
- addressLine3?: string | undefined;
5278
- postcodeOrZip?: string | undefined;
5279
- } | undefined;
5280
- configuration?: {
5281
- lineSeparator?: string | undefined;
5282
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
5283
- } | undefined;
5284
- }>, z.ZodObject<z.objectUtil.extendShape<{
5012
+ }>;
5013
+ export type ButtonField = z.infer<typeof ButtonField>;
5014
+ declare const HttpField: z.ZodObject<z.objectUtil.extendShape<{
5285
5015
  id: z.ZodString;
5286
5016
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5287
5017
  id: string;
@@ -5329,44 +5059,88 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5329
5059
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5330
5060
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5331
5061
  }, {
5332
- type: z.ZodLiteral<"TEXT">;
5333
- defaultValue: z.ZodOptional<z.ZodString>;
5334
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
5335
- maxLength: z.ZodOptional<z.ZodNumber>;
5336
- type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
5337
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5338
- id: string;
5339
- description: string;
5340
- defaultMessage: string;
5341
- }>>;
5342
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5343
- id: string;
5344
- description: string;
5345
- defaultMessage: string;
5062
+ type: z.ZodLiteral<"HTTP">;
5063
+ defaultValue: z.ZodOptional<z.ZodObject<{
5064
+ loading: z.ZodBoolean;
5065
+ error: z.ZodNullable<z.ZodObject<{
5066
+ statusCode: z.ZodNullable<z.ZodNumber>;
5067
+ message: z.ZodString;
5068
+ }, "strip", z.ZodTypeAny, {
5069
+ message: string;
5070
+ statusCode: number | null;
5071
+ }, {
5072
+ message: string;
5073
+ statusCode: number | null;
5346
5074
  }>>;
5347
- }, "strip", z.ZodTypeAny, {
5348
- type?: "text" | "password" | undefined;
5349
- maxLength?: number | undefined;
5350
- prefix?: TranslationConfig | undefined;
5351
- postfix?: TranslationConfig | undefined;
5352
- }, {
5353
- type?: "text" | "password" | undefined;
5354
- maxLength?: number | undefined;
5355
- prefix?: {
5356
- id: string;
5357
- description: string;
5358
- defaultMessage: string;
5359
- } | undefined;
5360
- postfix?: {
5361
- id: string;
5362
- description: string;
5363
- defaultMessage: string;
5364
- } | undefined;
5365
- }>>>;
5366
- }>, "strip", z.ZodTypeAny, {
5367
- type: "TEXT";
5075
+ data: z.ZodAny;
5076
+ trackingValue: z.ZodOptional<z.ZodString>;
5077
+ }, "strip", z.ZodTypeAny, {
5078
+ error: {
5079
+ message: string;
5080
+ statusCode: number | null;
5081
+ } | null;
5082
+ loading: boolean;
5083
+ data?: any;
5084
+ trackingValue?: string | undefined;
5085
+ }, {
5086
+ error: {
5087
+ message: string;
5088
+ statusCode: number | null;
5089
+ } | null;
5090
+ loading: boolean;
5091
+ data?: any;
5092
+ trackingValue?: string | undefined;
5093
+ }>>;
5094
+ configuration: z.ZodObject<{
5095
+ trigger: z.ZodObject<{
5096
+ $$field: z.ZodString;
5097
+ }, "strip", z.ZodTypeAny, {
5098
+ $$field: string;
5099
+ }, {
5100
+ $$field: string;
5101
+ }>;
5102
+ url: z.ZodString;
5103
+ method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>;
5104
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5105
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5106
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5107
+ timeout: z.ZodDefault<z.ZodNumber>;
5108
+ }, "strip", z.ZodTypeAny, {
5109
+ method: "POST" | "DELETE" | "GET" | "PUT";
5110
+ trigger: {
5111
+ $$field: string;
5112
+ };
5113
+ url: string;
5114
+ timeout: number;
5115
+ params?: Record<string, string> | undefined;
5116
+ headers?: Record<string, string> | undefined;
5117
+ body?: Record<string, string> | undefined;
5118
+ }, {
5119
+ method: "POST" | "DELETE" | "GET" | "PUT";
5120
+ trigger: {
5121
+ $$field: string;
5122
+ };
5123
+ url: string;
5124
+ params?: Record<string, string> | undefined;
5125
+ headers?: Record<string, string> | undefined;
5126
+ body?: Record<string, string> | undefined;
5127
+ timeout?: number | undefined;
5128
+ }>;
5129
+ }>, "strip", z.ZodTypeAny, {
5130
+ type: "HTTP";
5368
5131
  id: string;
5369
5132
  label: TranslationConfig;
5133
+ configuration: {
5134
+ method: "POST" | "DELETE" | "GET" | "PUT";
5135
+ trigger: {
5136
+ $$field: string;
5137
+ };
5138
+ url: string;
5139
+ timeout: number;
5140
+ params?: Record<string, string> | undefined;
5141
+ headers?: Record<string, string> | undefined;
5142
+ body?: Record<string, string> | undefined;
5143
+ };
5370
5144
  parent?: {
5371
5145
  $$field: string;
5372
5146
  } | undefined;
@@ -5390,21 +5164,34 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5390
5164
  helperText?: TranslationConfig | undefined;
5391
5165
  hideLabel?: boolean | undefined;
5392
5166
  uncorrectable?: boolean | undefined;
5393
- defaultValue?: string | undefined;
5394
- configuration?: {
5395
- type?: "text" | "password" | undefined;
5396
- maxLength?: number | undefined;
5397
- prefix?: TranslationConfig | undefined;
5398
- postfix?: TranslationConfig | undefined;
5167
+ defaultValue?: {
5168
+ error: {
5169
+ message: string;
5170
+ statusCode: number | null;
5171
+ } | null;
5172
+ loading: boolean;
5173
+ data?: any;
5174
+ trackingValue?: string | undefined;
5399
5175
  } | undefined;
5400
5176
  }, {
5401
- type: "TEXT";
5177
+ type: "HTTP";
5402
5178
  id: string;
5403
5179
  label: {
5404
5180
  id: string;
5405
5181
  description: string;
5406
5182
  defaultMessage: string;
5407
5183
  };
5184
+ configuration: {
5185
+ method: "POST" | "DELETE" | "GET" | "PUT";
5186
+ trigger: {
5187
+ $$field: string;
5188
+ };
5189
+ url: string;
5190
+ params?: Record<string, string> | undefined;
5191
+ headers?: Record<string, string> | undefined;
5192
+ body?: Record<string, string> | undefined;
5193
+ timeout?: number | undefined;
5194
+ };
5408
5195
  parent?: {
5409
5196
  $$field: string;
5410
5197
  } | undefined;
@@ -5440,22 +5227,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5440
5227
  } | undefined;
5441
5228
  hideLabel?: boolean | undefined;
5442
5229
  uncorrectable?: boolean | undefined;
5443
- defaultValue?: string | undefined;
5444
- configuration?: {
5445
- type?: "text" | "password" | undefined;
5446
- maxLength?: number | undefined;
5447
- prefix?: {
5448
- id: string;
5449
- description: string;
5450
- defaultMessage: string;
5451
- } | undefined;
5452
- postfix?: {
5453
- id: string;
5454
- description: string;
5455
- defaultMessage: string;
5456
- } | undefined;
5230
+ defaultValue?: {
5231
+ error: {
5232
+ message: string;
5233
+ statusCode: number | null;
5234
+ } | null;
5235
+ loading: boolean;
5236
+ data?: any;
5237
+ trackingValue?: string | undefined;
5457
5238
  } | undefined;
5458
- }>, z.ZodObject<z.objectUtil.extendShape<{
5239
+ }>;
5240
+ export type HttpField = z.infer<typeof HttpField>;
5241
+ export type FieldConfig = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof TimeField> | z.infer<typeof DateRangeField> | z.infer<typeof SelectDateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField> | z.infer<typeof ButtonField> | z.infer<typeof HttpField>;
5242
+ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5459
5243
  id: z.ZodString;
5460
5244
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5461
5245
  id: string;
@@ -5503,42 +5287,103 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5503
5287
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5504
5288
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5505
5289
  }, {
5506
- type: z.ZodLiteral<"NUMBER">;
5507
- defaultValue: z.ZodOptional<z.ZodNumber>;
5290
+ type: z.ZodLiteral<"ADDRESS">;
5291
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
5292
+ country: z.ZodString;
5293
+ addressType: z.ZodLiteral<"DOMESTIC">;
5294
+ province: z.ZodString;
5295
+ district: z.ZodString;
5296
+ }, {
5297
+ urbanOrRural: z.ZodLiteral<"URBAN">;
5298
+ town: z.ZodOptional<z.ZodString>;
5299
+ residentialArea: z.ZodOptional<z.ZodString>;
5300
+ street: z.ZodOptional<z.ZodString>;
5301
+ number: z.ZodOptional<z.ZodString>;
5302
+ zipCode: z.ZodOptional<z.ZodString>;
5303
+ }>, "strip", z.ZodTypeAny, {
5304
+ country: string;
5305
+ district: string;
5306
+ addressType: "DOMESTIC";
5307
+ province: string;
5308
+ urbanOrRural: "URBAN";
5309
+ number?: string | undefined;
5310
+ town?: string | undefined;
5311
+ residentialArea?: string | undefined;
5312
+ street?: string | undefined;
5313
+ zipCode?: string | undefined;
5314
+ }, {
5315
+ country: string;
5316
+ district: string;
5317
+ addressType: "DOMESTIC";
5318
+ province: string;
5319
+ urbanOrRural: "URBAN";
5320
+ number?: string | undefined;
5321
+ town?: string | undefined;
5322
+ residentialArea?: string | undefined;
5323
+ street?: string | undefined;
5324
+ zipCode?: string | undefined;
5325
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5326
+ country: z.ZodString;
5327
+ addressType: z.ZodLiteral<"DOMESTIC">;
5328
+ province: z.ZodString;
5329
+ district: z.ZodString;
5330
+ }, {
5331
+ urbanOrRural: z.ZodLiteral<"RURAL">;
5332
+ village: z.ZodOptional<z.ZodString>;
5333
+ }>, "strip", z.ZodTypeAny, {
5334
+ country: string;
5335
+ district: string;
5336
+ addressType: "DOMESTIC";
5337
+ province: string;
5338
+ urbanOrRural: "RURAL";
5339
+ village?: string | undefined;
5340
+ }, {
5341
+ country: string;
5342
+ district: string;
5343
+ addressType: "DOMESTIC";
5344
+ province: string;
5345
+ urbanOrRural: "RURAL";
5346
+ village?: string | undefined;
5347
+ }>]>, z.ZodObject<{
5348
+ country: z.ZodString;
5349
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
5350
+ state: z.ZodString;
5351
+ district2: z.ZodString;
5352
+ cityOrTown: z.ZodOptional<z.ZodString>;
5353
+ addressLine1: z.ZodOptional<z.ZodString>;
5354
+ addressLine2: z.ZodOptional<z.ZodString>;
5355
+ addressLine3: z.ZodOptional<z.ZodString>;
5356
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
5357
+ }, "strip", z.ZodTypeAny, {
5358
+ country: string;
5359
+ state: string;
5360
+ addressType: "INTERNATIONAL";
5361
+ district2: string;
5362
+ cityOrTown?: string | undefined;
5363
+ addressLine1?: string | undefined;
5364
+ addressLine2?: string | undefined;
5365
+ addressLine3?: string | undefined;
5366
+ postcodeOrZip?: string | undefined;
5367
+ }, {
5368
+ country: string;
5369
+ state: string;
5370
+ addressType: "INTERNATIONAL";
5371
+ district2: string;
5372
+ cityOrTown?: string | undefined;
5373
+ addressLine1?: string | undefined;
5374
+ addressLine2?: string | undefined;
5375
+ addressLine3?: string | undefined;
5376
+ postcodeOrZip?: string | undefined;
5377
+ }>]>>;
5508
5378
  configuration: z.ZodOptional<z.ZodObject<{
5509
- min: z.ZodOptional<z.ZodNumber>;
5510
- max: z.ZodOptional<z.ZodNumber>;
5511
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5512
- id: string;
5513
- description: string;
5514
- defaultMessage: string;
5515
- }>>;
5516
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5517
- id: string;
5518
- description: string;
5519
- defaultMessage: string;
5520
- }>>;
5379
+ searchMode: z.ZodOptional<z.ZodBoolean>;
5521
5380
  }, "strip", z.ZodTypeAny, {
5522
- prefix?: TranslationConfig | undefined;
5523
- postfix?: TranslationConfig | undefined;
5524
- min?: number | undefined;
5525
- max?: number | undefined;
5381
+ searchMode?: boolean | undefined;
5526
5382
  }, {
5527
- prefix?: {
5528
- id: string;
5529
- description: string;
5530
- defaultMessage: string;
5531
- } | undefined;
5532
- postfix?: {
5533
- id: string;
5534
- description: string;
5535
- defaultMessage: string;
5536
- } | undefined;
5537
- min?: number | undefined;
5538
- max?: number | undefined;
5383
+ searchMode?: boolean | undefined;
5539
5384
  }>>;
5540
5385
  }>, "strip", z.ZodTypeAny, {
5541
- type: "NUMBER";
5386
+ type: "ADDRESS";
5542
5387
  id: string;
5543
5388
  label: TranslationConfig;
5544
5389
  parent?: {
@@ -5564,15 +5409,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5564
5409
  helperText?: TranslationConfig | undefined;
5565
5410
  hideLabel?: boolean | undefined;
5566
5411
  uncorrectable?: boolean | undefined;
5567
- defaultValue?: number | undefined;
5412
+ defaultValue?: {
5413
+ country: string;
5414
+ district: string;
5415
+ addressType: "DOMESTIC";
5416
+ province: string;
5417
+ urbanOrRural: "URBAN";
5418
+ number?: string | undefined;
5419
+ town?: string | undefined;
5420
+ residentialArea?: string | undefined;
5421
+ street?: string | undefined;
5422
+ zipCode?: string | undefined;
5423
+ } | {
5424
+ country: string;
5425
+ district: string;
5426
+ addressType: "DOMESTIC";
5427
+ province: string;
5428
+ urbanOrRural: "RURAL";
5429
+ village?: string | undefined;
5430
+ } | {
5431
+ country: string;
5432
+ state: string;
5433
+ addressType: "INTERNATIONAL";
5434
+ district2: string;
5435
+ cityOrTown?: string | undefined;
5436
+ addressLine1?: string | undefined;
5437
+ addressLine2?: string | undefined;
5438
+ addressLine3?: string | undefined;
5439
+ postcodeOrZip?: string | undefined;
5440
+ } | undefined;
5568
5441
  configuration?: {
5569
- prefix?: TranslationConfig | undefined;
5570
- postfix?: TranslationConfig | undefined;
5571
- min?: number | undefined;
5572
- max?: number | undefined;
5442
+ searchMode?: boolean | undefined;
5573
5443
  } | undefined;
5574
5444
  }, {
5575
- type: "NUMBER";
5445
+ type: "ADDRESS";
5576
5446
  id: string;
5577
5447
  label: {
5578
5448
  id: string;
@@ -5614,20 +5484,37 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5614
5484
  } | undefined;
5615
5485
  hideLabel?: boolean | undefined;
5616
5486
  uncorrectable?: boolean | undefined;
5617
- defaultValue?: number | undefined;
5487
+ defaultValue?: {
5488
+ country: string;
5489
+ district: string;
5490
+ addressType: "DOMESTIC";
5491
+ province: string;
5492
+ urbanOrRural: "URBAN";
5493
+ number?: string | undefined;
5494
+ town?: string | undefined;
5495
+ residentialArea?: string | undefined;
5496
+ street?: string | undefined;
5497
+ zipCode?: string | undefined;
5498
+ } | {
5499
+ country: string;
5500
+ district: string;
5501
+ addressType: "DOMESTIC";
5502
+ province: string;
5503
+ urbanOrRural: "RURAL";
5504
+ village?: string | undefined;
5505
+ } | {
5506
+ country: string;
5507
+ state: string;
5508
+ addressType: "INTERNATIONAL";
5509
+ district2: string;
5510
+ cityOrTown?: string | undefined;
5511
+ addressLine1?: string | undefined;
5512
+ addressLine2?: string | undefined;
5513
+ addressLine3?: string | undefined;
5514
+ postcodeOrZip?: string | undefined;
5515
+ } | undefined;
5618
5516
  configuration?: {
5619
- prefix?: {
5620
- id: string;
5621
- description: string;
5622
- defaultMessage: string;
5623
- } | undefined;
5624
- postfix?: {
5625
- id: string;
5626
- description: string;
5627
- defaultMessage: string;
5628
- } | undefined;
5629
- min?: number | undefined;
5630
- max?: number | undefined;
5517
+ searchMode?: boolean | undefined;
5631
5518
  } | undefined;
5632
5519
  }>, z.ZodObject<z.objectUtil.extendShape<{
5633
5520
  id: z.ZodString;
@@ -5677,12 +5564,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5677
5564
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5678
5565
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5679
5566
  }, {
5680
- type: z.ZodLiteral<"TEXTAREA">;
5567
+ type: z.ZodLiteral<"TEXT">;
5681
5568
  defaultValue: z.ZodOptional<z.ZodString>;
5682
5569
  configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
5683
5570
  maxLength: z.ZodOptional<z.ZodNumber>;
5684
- rows: z.ZodOptional<z.ZodNumber>;
5685
- cols: z.ZodOptional<z.ZodNumber>;
5571
+ type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
5686
5572
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5687
5573
  id: string;
5688
5574
  description: string;
@@ -5694,12 +5580,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5694
5580
  defaultMessage: string;
5695
5581
  }>>;
5696
5582
  }, "strip", z.ZodTypeAny, {
5583
+ type?: "text" | "password" | undefined;
5697
5584
  maxLength?: number | undefined;
5698
5585
  prefix?: TranslationConfig | undefined;
5699
5586
  postfix?: TranslationConfig | undefined;
5700
- rows?: number | undefined;
5701
- cols?: number | undefined;
5702
5587
  }, {
5588
+ type?: "text" | "password" | undefined;
5703
5589
  maxLength?: number | undefined;
5704
5590
  prefix?: {
5705
5591
  id: string;
@@ -5711,11 +5597,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5711
5597
  description: string;
5712
5598
  defaultMessage: string;
5713
5599
  } | undefined;
5714
- rows?: number | undefined;
5715
- cols?: number | undefined;
5716
5600
  }>>>;
5717
5601
  }>, "strip", z.ZodTypeAny, {
5718
- type: "TEXTAREA";
5602
+ type: "TEXT";
5719
5603
  id: string;
5720
5604
  label: TranslationConfig;
5721
5605
  parent?: {
@@ -5743,14 +5627,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5743
5627
  uncorrectable?: boolean | undefined;
5744
5628
  defaultValue?: string | undefined;
5745
5629
  configuration?: {
5630
+ type?: "text" | "password" | undefined;
5746
5631
  maxLength?: number | undefined;
5747
5632
  prefix?: TranslationConfig | undefined;
5748
5633
  postfix?: TranslationConfig | undefined;
5749
- rows?: number | undefined;
5750
- cols?: number | undefined;
5751
5634
  } | undefined;
5752
5635
  }, {
5753
- type: "TEXTAREA";
5636
+ type: "TEXT";
5754
5637
  id: string;
5755
5638
  label: {
5756
5639
  id: string;
@@ -5794,6 +5677,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5794
5677
  uncorrectable?: boolean | undefined;
5795
5678
  defaultValue?: string | undefined;
5796
5679
  configuration?: {
5680
+ type?: "text" | "password" | undefined;
5797
5681
  maxLength?: number | undefined;
5798
5682
  prefix?: {
5799
5683
  id: string;
@@ -5805,8 +5689,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5805
5689
  description: string;
5806
5690
  defaultMessage: string;
5807
5691
  } | undefined;
5808
- rows?: number | undefined;
5809
- cols?: number | undefined;
5810
5692
  } | undefined;
5811
5693
  }>, z.ZodObject<z.objectUtil.extendShape<{
5812
5694
  id: z.ZodString;
@@ -5856,25 +5738,42 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5856
5738
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5857
5739
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5858
5740
  }, {
5859
- type: z.ZodLiteral<"DATE">;
5860
- defaultValue: z.ZodOptional<z.ZodString>;
5741
+ type: z.ZodLiteral<"NUMBER">;
5742
+ defaultValue: z.ZodOptional<z.ZodNumber>;
5861
5743
  configuration: z.ZodOptional<z.ZodObject<{
5862
- notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5744
+ min: z.ZodOptional<z.ZodNumber>;
5745
+ max: z.ZodOptional<z.ZodNumber>;
5746
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5747
+ id: string;
5748
+ description: string;
5749
+ defaultMessage: string;
5750
+ }>>;
5751
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5863
5752
  id: string;
5864
5753
  description: string;
5865
5754
  defaultMessage: string;
5866
5755
  }>>;
5867
5756
  }, "strip", z.ZodTypeAny, {
5868
- notice?: TranslationConfig | undefined;
5757
+ prefix?: TranslationConfig | undefined;
5758
+ postfix?: TranslationConfig | undefined;
5759
+ min?: number | undefined;
5760
+ max?: number | undefined;
5869
5761
  }, {
5870
- notice?: {
5762
+ prefix?: {
5763
+ id: string;
5764
+ description: string;
5765
+ defaultMessage: string;
5766
+ } | undefined;
5767
+ postfix?: {
5871
5768
  id: string;
5872
5769
  description: string;
5873
5770
  defaultMessage: string;
5874
5771
  } | undefined;
5772
+ min?: number | undefined;
5773
+ max?: number | undefined;
5875
5774
  }>>;
5876
5775
  }>, "strip", z.ZodTypeAny, {
5877
- type: "DATE";
5776
+ type: "NUMBER";
5878
5777
  id: string;
5879
5778
  label: TranslationConfig;
5880
5779
  parent?: {
@@ -5900,12 +5799,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5900
5799
  helperText?: TranslationConfig | undefined;
5901
5800
  hideLabel?: boolean | undefined;
5902
5801
  uncorrectable?: boolean | undefined;
5903
- defaultValue?: string | undefined;
5802
+ defaultValue?: number | undefined;
5904
5803
  configuration?: {
5905
- notice?: TranslationConfig | undefined;
5804
+ prefix?: TranslationConfig | undefined;
5805
+ postfix?: TranslationConfig | undefined;
5806
+ min?: number | undefined;
5807
+ max?: number | undefined;
5906
5808
  } | undefined;
5907
5809
  }, {
5908
- type: "DATE";
5810
+ type: "NUMBER";
5909
5811
  id: string;
5910
5812
  label: {
5911
5813
  id: string;
@@ -5947,13 +5849,20 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5947
5849
  } | undefined;
5948
5850
  hideLabel?: boolean | undefined;
5949
5851
  uncorrectable?: boolean | undefined;
5950
- defaultValue?: string | undefined;
5852
+ defaultValue?: number | undefined;
5951
5853
  configuration?: {
5952
- notice?: {
5854
+ prefix?: {
5855
+ id: string;
5856
+ description: string;
5857
+ defaultMessage: string;
5858
+ } | undefined;
5859
+ postfix?: {
5953
5860
  id: string;
5954
5861
  description: string;
5955
5862
  defaultMessage: string;
5956
5863
  } | undefined;
5864
+ min?: number | undefined;
5865
+ max?: number | undefined;
5957
5866
  } | undefined;
5958
5867
  }>, z.ZodObject<z.objectUtil.extendShape<{
5959
5868
  id: z.ZodString;
@@ -6003,25 +5912,45 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6003
5912
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6004
5913
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6005
5914
  }, {
6006
- type: z.ZodLiteral<"TIME">;
5915
+ type: z.ZodLiteral<"TEXTAREA">;
6007
5916
  defaultValue: z.ZodOptional<z.ZodString>;
6008
- configuration: z.ZodOptional<z.ZodObject<{
6009
- notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5917
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
5918
+ maxLength: z.ZodOptional<z.ZodNumber>;
5919
+ rows: z.ZodOptional<z.ZodNumber>;
5920
+ cols: z.ZodOptional<z.ZodNumber>;
5921
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5922
+ id: string;
5923
+ description: string;
5924
+ defaultMessage: string;
5925
+ }>>;
5926
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6010
5927
  id: string;
6011
5928
  description: string;
6012
5929
  defaultMessage: string;
6013
5930
  }>>;
6014
5931
  }, "strip", z.ZodTypeAny, {
6015
- notice?: TranslationConfig | undefined;
5932
+ maxLength?: number | undefined;
5933
+ prefix?: TranslationConfig | undefined;
5934
+ postfix?: TranslationConfig | undefined;
5935
+ rows?: number | undefined;
5936
+ cols?: number | undefined;
6016
5937
  }, {
6017
- notice?: {
5938
+ maxLength?: number | undefined;
5939
+ prefix?: {
6018
5940
  id: string;
6019
5941
  description: string;
6020
5942
  defaultMessage: string;
6021
5943
  } | undefined;
6022
- }>>;
5944
+ postfix?: {
5945
+ id: string;
5946
+ description: string;
5947
+ defaultMessage: string;
5948
+ } | undefined;
5949
+ rows?: number | undefined;
5950
+ cols?: number | undefined;
5951
+ }>>>;
6023
5952
  }>, "strip", z.ZodTypeAny, {
6024
- type: "TIME";
5953
+ type: "TEXTAREA";
6025
5954
  id: string;
6026
5955
  label: TranslationConfig;
6027
5956
  parent?: {
@@ -6049,10 +5978,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6049
5978
  uncorrectable?: boolean | undefined;
6050
5979
  defaultValue?: string | undefined;
6051
5980
  configuration?: {
6052
- notice?: TranslationConfig | undefined;
5981
+ maxLength?: number | undefined;
5982
+ prefix?: TranslationConfig | undefined;
5983
+ postfix?: TranslationConfig | undefined;
5984
+ rows?: number | undefined;
5985
+ cols?: number | undefined;
6053
5986
  } | undefined;
6054
5987
  }, {
6055
- type: "TIME";
5988
+ type: "TEXTAREA";
6056
5989
  id: string;
6057
5990
  label: {
6058
5991
  id: string;
@@ -6096,11 +6029,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6096
6029
  uncorrectable?: boolean | undefined;
6097
6030
  defaultValue?: string | undefined;
6098
6031
  configuration?: {
6099
- notice?: {
6032
+ maxLength?: number | undefined;
6033
+ prefix?: {
6034
+ id: string;
6035
+ description: string;
6036
+ defaultMessage: string;
6037
+ } | undefined;
6038
+ postfix?: {
6100
6039
  id: string;
6101
6040
  description: string;
6102
6041
  defaultMessage: string;
6103
6042
  } | undefined;
6043
+ rows?: number | undefined;
6044
+ cols?: number | undefined;
6104
6045
  } | undefined;
6105
6046
  }>, z.ZodObject<z.objectUtil.extendShape<{
6106
6047
  id: z.ZodString;
@@ -6150,17 +6091,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6150
6091
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6151
6092
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6152
6093
  }, {
6153
- type: z.ZodLiteral<"DATE_RANGE">;
6154
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6155
- start: z.ZodString;
6156
- end: z.ZodString;
6157
- }, "strip", z.ZodTypeAny, {
6158
- start: string;
6159
- end: string;
6160
- }, {
6161
- start: string;
6162
- end: string;
6163
- }>, z.ZodString]>>;
6094
+ type: z.ZodLiteral<"DATE">;
6095
+ defaultValue: z.ZodOptional<z.ZodString>;
6164
6096
  configuration: z.ZodOptional<z.ZodObject<{
6165
6097
  notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6166
6098
  id: string;
@@ -6177,7 +6109,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6177
6109
  } | undefined;
6178
6110
  }>>;
6179
6111
  }>, "strip", z.ZodTypeAny, {
6180
- type: "DATE_RANGE";
6112
+ type: "DATE";
6181
6113
  id: string;
6182
6114
  label: TranslationConfig;
6183
6115
  parent?: {
@@ -6203,15 +6135,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6203
6135
  helperText?: TranslationConfig | undefined;
6204
6136
  hideLabel?: boolean | undefined;
6205
6137
  uncorrectable?: boolean | undefined;
6206
- defaultValue?: string | {
6207
- start: string;
6208
- end: string;
6209
- } | undefined;
6138
+ defaultValue?: string | undefined;
6210
6139
  configuration?: {
6211
6140
  notice?: TranslationConfig | undefined;
6212
6141
  } | undefined;
6213
6142
  }, {
6214
- type: "DATE_RANGE";
6143
+ type: "DATE";
6215
6144
  id: string;
6216
6145
  label: {
6217
6146
  id: string;
@@ -6253,10 +6182,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6253
6182
  } | undefined;
6254
6183
  hideLabel?: boolean | undefined;
6255
6184
  uncorrectable?: boolean | undefined;
6256
- defaultValue?: string | {
6257
- start: string;
6258
- end: string;
6259
- } | undefined;
6185
+ defaultValue?: string | undefined;
6260
6186
  configuration?: {
6261
6187
  notice?: {
6262
6188
  id: string;
@@ -6312,33 +6238,26 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6312
6238
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6313
6239
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6314
6240
  }, {
6315
- type: z.ZodLiteral<"SELECT_DATE_RANGE">;
6316
- defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
6317
- options: z.ZodArray<z.ZodObject<{
6318
- value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
6319
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6241
+ type: z.ZodLiteral<"TIME">;
6242
+ defaultValue: z.ZodOptional<z.ZodString>;
6243
+ configuration: z.ZodOptional<z.ZodObject<{
6244
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6320
6245
  id: string;
6321
6246
  description: string;
6322
6247
  defaultMessage: string;
6323
- }>;
6248
+ }>>;
6324
6249
  }, "strip", z.ZodTypeAny, {
6325
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6326
- label: TranslationConfig;
6250
+ notice?: TranslationConfig | undefined;
6327
6251
  }, {
6328
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6329
- label: {
6252
+ notice?: {
6330
6253
  id: string;
6331
6254
  description: string;
6332
6255
  defaultMessage: string;
6333
- };
6334
- }>, "many">;
6256
+ } | undefined;
6257
+ }>>;
6335
6258
  }>, "strip", z.ZodTypeAny, {
6336
- type: "SELECT_DATE_RANGE";
6259
+ type: "TIME";
6337
6260
  id: string;
6338
- options: {
6339
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6340
- label: TranslationConfig;
6341
- }[];
6342
6261
  label: TranslationConfig;
6343
6262
  parent?: {
6344
6263
  $$field: string;
@@ -6363,18 +6282,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6363
6282
  helperText?: TranslationConfig | undefined;
6364
6283
  hideLabel?: boolean | undefined;
6365
6284
  uncorrectable?: boolean | undefined;
6366
- defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
6285
+ defaultValue?: string | undefined;
6286
+ configuration?: {
6287
+ notice?: TranslationConfig | undefined;
6288
+ } | undefined;
6367
6289
  }, {
6368
- type: "SELECT_DATE_RANGE";
6290
+ type: "TIME";
6369
6291
  id: string;
6370
- options: {
6371
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6372
- label: {
6373
- id: string;
6374
- description: string;
6375
- defaultMessage: string;
6376
- };
6377
- }[];
6378
6292
  label: {
6379
6293
  id: string;
6380
6294
  description: string;
@@ -6415,7 +6329,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6415
6329
  } | undefined;
6416
6330
  hideLabel?: boolean | undefined;
6417
6331
  uncorrectable?: boolean | undefined;
6418
- defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
6332
+ defaultValue?: string | undefined;
6333
+ configuration?: {
6334
+ notice?: {
6335
+ id: string;
6336
+ description: string;
6337
+ defaultMessage: string;
6338
+ } | undefined;
6339
+ } | undefined;
6419
6340
  }>, z.ZodObject<z.objectUtil.extendShape<{
6420
6341
  id: z.ZodString;
6421
6342
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -6464,40 +6385,36 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6464
6385
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6465
6386
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6466
6387
  }, {
6467
- type: z.ZodLiteral<"PARAGRAPH">;
6468
- defaultValue: z.ZodOptional<z.ZodString>;
6469
- configuration: z.ZodDefault<z.ZodObject<{
6470
- styles: z.ZodOptional<z.ZodObject<{
6471
- fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
6472
- hint: z.ZodOptional<z.ZodBoolean>;
6473
- }, "strip", z.ZodTypeAny, {
6474
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6475
- hint?: boolean | undefined;
6476
- }, {
6477
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6478
- hint?: boolean | undefined;
6388
+ type: z.ZodLiteral<"DATE_RANGE">;
6389
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6390
+ start: z.ZodString;
6391
+ end: z.ZodString;
6392
+ }, "strip", z.ZodTypeAny, {
6393
+ start: string;
6394
+ end: string;
6395
+ }, {
6396
+ start: string;
6397
+ end: string;
6398
+ }>, z.ZodString]>>;
6399
+ configuration: z.ZodOptional<z.ZodObject<{
6400
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6401
+ id: string;
6402
+ description: string;
6403
+ defaultMessage: string;
6479
6404
  }>>;
6480
6405
  }, "strip", z.ZodTypeAny, {
6481
- styles?: {
6482
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6483
- hint?: boolean | undefined;
6484
- } | undefined;
6406
+ notice?: TranslationConfig | undefined;
6485
6407
  }, {
6486
- styles?: {
6487
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6488
- hint?: boolean | undefined;
6408
+ notice?: {
6409
+ id: string;
6410
+ description: string;
6411
+ defaultMessage: string;
6489
6412
  } | undefined;
6490
6413
  }>>;
6491
6414
  }>, "strip", z.ZodTypeAny, {
6492
- type: "PARAGRAPH";
6415
+ type: "DATE_RANGE";
6493
6416
  id: string;
6494
6417
  label: TranslationConfig;
6495
- configuration: {
6496
- styles?: {
6497
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6498
- hint?: boolean | undefined;
6499
- } | undefined;
6500
- };
6501
6418
  parent?: {
6502
6419
  $$field: string;
6503
6420
  } | undefined;
@@ -6521,9 +6438,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6521
6438
  helperText?: TranslationConfig | undefined;
6522
6439
  hideLabel?: boolean | undefined;
6523
6440
  uncorrectable?: boolean | undefined;
6524
- defaultValue?: string | undefined;
6441
+ defaultValue?: string | {
6442
+ start: string;
6443
+ end: string;
6444
+ } | undefined;
6445
+ configuration?: {
6446
+ notice?: TranslationConfig | undefined;
6447
+ } | undefined;
6525
6448
  }, {
6526
- type: "PARAGRAPH";
6449
+ type: "DATE_RANGE";
6527
6450
  id: string;
6528
6451
  label: {
6529
6452
  id: string;
@@ -6565,11 +6488,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6565
6488
  } | undefined;
6566
6489
  hideLabel?: boolean | undefined;
6567
6490
  uncorrectable?: boolean | undefined;
6568
- defaultValue?: string | undefined;
6491
+ defaultValue?: string | {
6492
+ start: string;
6493
+ end: string;
6494
+ } | undefined;
6569
6495
  configuration?: {
6570
- styles?: {
6571
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6572
- hint?: boolean | undefined;
6496
+ notice?: {
6497
+ id: string;
6498
+ description: string;
6499
+ defaultMessage: string;
6573
6500
  } | undefined;
6574
6501
  } | undefined;
6575
6502
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -6620,48 +6547,31 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6620
6547
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6621
6548
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6622
6549
  }, {
6623
- type: z.ZodLiteral<"RADIO_GROUP">;
6624
- defaultValue: z.ZodOptional<z.ZodString>;
6550
+ type: z.ZodLiteral<"SELECT_DATE_RANGE">;
6551
+ defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
6625
6552
  options: z.ZodArray<z.ZodObject<{
6626
- value: z.ZodString;
6553
+ value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
6627
6554
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6628
6555
  id: string;
6629
6556
  description: string;
6630
6557
  defaultMessage: string;
6631
6558
  }>;
6632
6559
  }, "strip", z.ZodTypeAny, {
6633
- value: string;
6560
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6634
6561
  label: TranslationConfig;
6635
6562
  }, {
6636
- value: string;
6563
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6637
6564
  label: {
6638
6565
  id: string;
6639
6566
  description: string;
6640
6567
  defaultMessage: string;
6641
6568
  };
6642
6569
  }>, "many">;
6643
- configuration: z.ZodOptional<z.ZodObject<{
6644
- styles: z.ZodOptional<z.ZodObject<{
6645
- size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
6646
- }, "strip", z.ZodTypeAny, {
6647
- size?: "NORMAL" | "LARGE" | undefined;
6648
- }, {
6649
- size?: "NORMAL" | "LARGE" | undefined;
6650
- }>>;
6651
- }, "strip", z.ZodTypeAny, {
6652
- styles?: {
6653
- size?: "NORMAL" | "LARGE" | undefined;
6654
- } | undefined;
6655
- }, {
6656
- styles?: {
6657
- size?: "NORMAL" | "LARGE" | undefined;
6658
- } | undefined;
6659
- }>>;
6660
6570
  }>, "strip", z.ZodTypeAny, {
6661
- type: "RADIO_GROUP";
6571
+ type: "SELECT_DATE_RANGE";
6662
6572
  id: string;
6663
6573
  options: {
6664
- value: string;
6574
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6665
6575
  label: TranslationConfig;
6666
6576
  }[];
6667
6577
  label: TranslationConfig;
@@ -6688,17 +6598,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6688
6598
  helperText?: TranslationConfig | undefined;
6689
6599
  hideLabel?: boolean | undefined;
6690
6600
  uncorrectable?: boolean | undefined;
6691
- defaultValue?: string | undefined;
6692
- configuration?: {
6693
- styles?: {
6694
- size?: "NORMAL" | "LARGE" | undefined;
6695
- } | undefined;
6696
- } | undefined;
6601
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
6697
6602
  }, {
6698
- type: "RADIO_GROUP";
6603
+ type: "SELECT_DATE_RANGE";
6699
6604
  id: string;
6700
6605
  options: {
6701
- value: string;
6606
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6702
6607
  label: {
6703
6608
  id: string;
6704
6609
  description: string;
@@ -6745,12 +6650,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6745
6650
  } | undefined;
6746
6651
  hideLabel?: boolean | undefined;
6747
6652
  uncorrectable?: boolean | undefined;
6748
- defaultValue?: string | undefined;
6749
- configuration?: {
6750
- styles?: {
6751
- size?: "NORMAL" | "LARGE" | undefined;
6752
- } | undefined;
6753
- } | undefined;
6653
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
6754
6654
  }>, z.ZodObject<z.objectUtil.extendShape<{
6755
6655
  id: z.ZodString;
6756
6656
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -6799,40 +6699,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6799
6699
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6800
6700
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6801
6701
  }, {
6802
- type: z.ZodLiteral<"BULLET_LIST">;
6702
+ type: z.ZodLiteral<"PARAGRAPH">;
6803
6703
  defaultValue: z.ZodOptional<z.ZodString>;
6804
- items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6805
- id: string;
6806
- description: string;
6807
- defaultMessage: string;
6808
- }>, "many">;
6809
6704
  configuration: z.ZodDefault<z.ZodObject<{
6810
6705
  styles: z.ZodOptional<z.ZodObject<{
6811
6706
  fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
6707
+ hint: z.ZodOptional<z.ZodBoolean>;
6812
6708
  }, "strip", z.ZodTypeAny, {
6813
6709
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6710
+ hint?: boolean | undefined;
6814
6711
  }, {
6815
6712
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6713
+ hint?: boolean | undefined;
6816
6714
  }>>;
6817
6715
  }, "strip", z.ZodTypeAny, {
6818
6716
  styles?: {
6819
6717
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6718
+ hint?: boolean | undefined;
6820
6719
  } | undefined;
6821
6720
  }, {
6822
6721
  styles?: {
6823
6722
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6723
+ hint?: boolean | undefined;
6824
6724
  } | undefined;
6825
6725
  }>>;
6826
6726
  }>, "strip", z.ZodTypeAny, {
6827
- type: "BULLET_LIST";
6727
+ type: "PARAGRAPH";
6828
6728
  id: string;
6829
6729
  label: TranslationConfig;
6830
6730
  configuration: {
6831
6731
  styles?: {
6832
6732
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6733
+ hint?: boolean | undefined;
6833
6734
  } | undefined;
6834
6735
  };
6835
- items: TranslationConfig[];
6836
6736
  parent?: {
6837
6737
  $$field: string;
6838
6738
  } | undefined;
@@ -6858,18 +6758,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6858
6758
  uncorrectable?: boolean | undefined;
6859
6759
  defaultValue?: string | undefined;
6860
6760
  }, {
6861
- type: "BULLET_LIST";
6761
+ type: "PARAGRAPH";
6862
6762
  id: string;
6863
6763
  label: {
6864
6764
  id: string;
6865
6765
  description: string;
6866
6766
  defaultMessage: string;
6867
6767
  };
6868
- items: {
6869
- id: string;
6870
- description: string;
6871
- defaultMessage: string;
6872
- }[];
6873
6768
  parent?: {
6874
6769
  $$field: string;
6875
6770
  } | undefined;
@@ -6909,6 +6804,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6909
6804
  configuration?: {
6910
6805
  styles?: {
6911
6806
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6807
+ hint?: boolean | undefined;
6912
6808
  } | undefined;
6913
6809
  } | undefined;
6914
6810
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -6959,11 +6855,50 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6959
6855
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6960
6856
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6961
6857
  }, {
6962
- type: z.ZodLiteral<"PAGE_HEADER">;
6858
+ type: z.ZodLiteral<"RADIO_GROUP">;
6963
6859
  defaultValue: z.ZodOptional<z.ZodString>;
6860
+ options: z.ZodArray<z.ZodObject<{
6861
+ value: z.ZodString;
6862
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6863
+ id: string;
6864
+ description: string;
6865
+ defaultMessage: string;
6866
+ }>;
6867
+ }, "strip", z.ZodTypeAny, {
6868
+ value: string;
6869
+ label: TranslationConfig;
6870
+ }, {
6871
+ value: string;
6872
+ label: {
6873
+ id: string;
6874
+ description: string;
6875
+ defaultMessage: string;
6876
+ };
6877
+ }>, "many">;
6878
+ configuration: z.ZodOptional<z.ZodObject<{
6879
+ styles: z.ZodOptional<z.ZodObject<{
6880
+ size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
6881
+ }, "strip", z.ZodTypeAny, {
6882
+ size?: "NORMAL" | "LARGE" | undefined;
6883
+ }, {
6884
+ size?: "NORMAL" | "LARGE" | undefined;
6885
+ }>>;
6886
+ }, "strip", z.ZodTypeAny, {
6887
+ styles?: {
6888
+ size?: "NORMAL" | "LARGE" | undefined;
6889
+ } | undefined;
6890
+ }, {
6891
+ styles?: {
6892
+ size?: "NORMAL" | "LARGE" | undefined;
6893
+ } | undefined;
6894
+ }>>;
6964
6895
  }>, "strip", z.ZodTypeAny, {
6965
- type: "PAGE_HEADER";
6896
+ type: "RADIO_GROUP";
6966
6897
  id: string;
6898
+ options: {
6899
+ value: string;
6900
+ label: TranslationConfig;
6901
+ }[];
6967
6902
  label: TranslationConfig;
6968
6903
  parent?: {
6969
6904
  $$field: string;
@@ -6989,9 +6924,22 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6989
6924
  hideLabel?: boolean | undefined;
6990
6925
  uncorrectable?: boolean | undefined;
6991
6926
  defaultValue?: string | undefined;
6927
+ configuration?: {
6928
+ styles?: {
6929
+ size?: "NORMAL" | "LARGE" | undefined;
6930
+ } | undefined;
6931
+ } | undefined;
6992
6932
  }, {
6993
- type: "PAGE_HEADER";
6933
+ type: "RADIO_GROUP";
6994
6934
  id: string;
6935
+ options: {
6936
+ value: string;
6937
+ label: {
6938
+ id: string;
6939
+ description: string;
6940
+ defaultMessage: string;
6941
+ };
6942
+ }[];
6995
6943
  label: {
6996
6944
  id: string;
6997
6945
  description: string;
@@ -7033,6 +6981,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7033
6981
  hideLabel?: boolean | undefined;
7034
6982
  uncorrectable?: boolean | undefined;
7035
6983
  defaultValue?: string | undefined;
6984
+ configuration?: {
6985
+ styles?: {
6986
+ size?: "NORMAL" | "LARGE" | undefined;
6987
+ } | undefined;
6988
+ } | undefined;
7036
6989
  }>, z.ZodObject<z.objectUtil.extendShape<{
7037
6990
  id: z.ZodString;
7038
6991
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -7081,34 +7034,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7081
7034
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7082
7035
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7083
7036
  }, {
7084
- type: z.ZodLiteral<"SELECT">;
7037
+ type: z.ZodLiteral<"BULLET_LIST">;
7085
7038
  defaultValue: z.ZodOptional<z.ZodString>;
7086
- options: z.ZodArray<z.ZodObject<{
7087
- value: z.ZodString;
7088
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7089
- id: string;
7090
- description: string;
7091
- defaultMessage: string;
7092
- }>;
7039
+ items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7040
+ id: string;
7041
+ description: string;
7042
+ defaultMessage: string;
7043
+ }>, "many">;
7044
+ configuration: z.ZodDefault<z.ZodObject<{
7045
+ styles: z.ZodOptional<z.ZodObject<{
7046
+ fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
7047
+ }, "strip", z.ZodTypeAny, {
7048
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
7049
+ }, {
7050
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
7051
+ }>>;
7093
7052
  }, "strip", z.ZodTypeAny, {
7094
- value: string;
7095
- label: TranslationConfig;
7053
+ styles?: {
7054
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
7055
+ } | undefined;
7096
7056
  }, {
7097
- value: string;
7098
- label: {
7099
- id: string;
7100
- description: string;
7101
- defaultMessage: string;
7102
- };
7103
- }>, "many">;
7057
+ styles?: {
7058
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
7059
+ } | undefined;
7060
+ }>>;
7104
7061
  }>, "strip", z.ZodTypeAny, {
7105
- type: "SELECT";
7062
+ type: "BULLET_LIST";
7106
7063
  id: string;
7107
- options: {
7108
- value: string;
7109
- label: TranslationConfig;
7110
- }[];
7111
7064
  label: TranslationConfig;
7065
+ configuration: {
7066
+ styles?: {
7067
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
7068
+ } | undefined;
7069
+ };
7070
+ items: TranslationConfig[];
7112
7071
  parent?: {
7113
7072
  $$field: string;
7114
7073
  } | undefined;
@@ -7134,21 +7093,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7134
7093
  uncorrectable?: boolean | undefined;
7135
7094
  defaultValue?: string | undefined;
7136
7095
  }, {
7137
- type: "SELECT";
7096
+ type: "BULLET_LIST";
7138
7097
  id: string;
7139
- options: {
7140
- value: string;
7141
- label: {
7142
- id: string;
7143
- description: string;
7144
- defaultMessage: string;
7145
- };
7146
- }[];
7147
7098
  label: {
7148
7099
  id: string;
7149
7100
  description: string;
7150
7101
  defaultMessage: string;
7151
7102
  };
7103
+ items: {
7104
+ id: string;
7105
+ description: string;
7106
+ defaultMessage: string;
7107
+ }[];
7152
7108
  parent?: {
7153
7109
  $$field: string;
7154
7110
  } | undefined;
@@ -7185,6 +7141,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7185
7141
  hideLabel?: boolean | undefined;
7186
7142
  uncorrectable?: boolean | undefined;
7187
7143
  defaultValue?: string | undefined;
7144
+ configuration?: {
7145
+ styles?: {
7146
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
7147
+ } | undefined;
7148
+ } | undefined;
7188
7149
  }>, z.ZodObject<z.objectUtil.extendShape<{
7189
7150
  id: z.ZodString;
7190
7151
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -7233,116 +7194,338 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7233
7194
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7234
7195
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7235
7196
  }, {
7236
- type: z.ZodLiteral<"NAME">;
7237
- defaultValue: z.ZodOptional<z.ZodObject<{
7238
- firstname: z.ZodOptional<z.ZodString>;
7239
- middlename: z.ZodOptional<z.ZodString>;
7240
- surname: z.ZodOptional<z.ZodString>;
7241
- }, "strip", z.ZodTypeAny, {
7242
- firstname?: string | undefined;
7243
- surname?: string | undefined;
7244
- middlename?: string | undefined;
7245
- }, {
7246
- firstname?: string | undefined;
7247
- surname?: string | undefined;
7248
- middlename?: string | undefined;
7249
- }>>;
7250
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
7251
- name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
7252
- firstname: z.ZodOptional<z.ZodObject<{
7253
- 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
- }, "strip", z.ZodTypeAny, {
7260
- required: boolean;
7261
- label?: TranslationConfig | undefined;
7262
- }, {
7263
- required: boolean;
7264
- label?: {
7265
- id: string;
7266
- description: string;
7267
- defaultMessage: string;
7268
- } | undefined;
7269
- }>>;
7270
- middlename: z.ZodOptional<z.ZodObject<{
7271
- 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
- }, "strip", z.ZodTypeAny, {
7278
- required: boolean;
7279
- label?: TranslationConfig | undefined;
7280
- }, {
7281
- required: boolean;
7282
- label?: {
7283
- id: string;
7284
- description: string;
7285
- defaultMessage: string;
7286
- } | undefined;
7287
- }>>;
7288
- surname: z.ZodOptional<z.ZodObject<{
7289
- 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
- }, "strip", z.ZodTypeAny, {
7296
- required: boolean;
7297
- label?: TranslationConfig | undefined;
7298
- }, {
7299
- required: boolean;
7300
- label?: {
7301
- id: string;
7302
- description: string;
7303
- defaultMessage: string;
7304
- } | undefined;
7305
- }>>;
7306
- }, "strip", z.ZodTypeAny, {
7307
- firstname?: {
7308
- required: boolean;
7309
- label?: TranslationConfig | undefined;
7310
- } | undefined;
7311
- surname?: {
7312
- required: boolean;
7313
- label?: TranslationConfig | undefined;
7314
- } | undefined;
7315
- middlename?: {
7316
- required: boolean;
7317
- label?: TranslationConfig | undefined;
7318
- } | undefined;
7319
- }, {
7320
- firstname?: {
7321
- required: boolean;
7322
- label?: {
7323
- id: string;
7324
- description: string;
7325
- defaultMessage: string;
7326
- } | undefined;
7327
- } | undefined;
7328
- surname?: {
7329
- required: boolean;
7330
- label?: {
7331
- id: string;
7332
- description: string;
7333
- defaultMessage: string;
7334
- } | undefined;
7335
- } | undefined;
7336
- middlename?: {
7337
- required: boolean;
7338
- label?: {
7339
- id: string;
7340
- description: string;
7341
- defaultMessage: string;
7342
- } | undefined;
7197
+ type: z.ZodLiteral<"PAGE_HEADER">;
7198
+ defaultValue: z.ZodOptional<z.ZodString>;
7199
+ }>, "strip", z.ZodTypeAny, {
7200
+ type: "PAGE_HEADER";
7201
+ id: string;
7202
+ label: TranslationConfig;
7203
+ parent?: {
7204
+ $$field: string;
7205
+ } | undefined;
7206
+ validation?: {
7207
+ message: TranslationConfig;
7208
+ validator: import(".").JSONSchema;
7209
+ }[] | undefined;
7210
+ required?: boolean | undefined;
7211
+ conditionals?: ({
7212
+ type: "SHOW";
7213
+ conditional: import(".").JSONSchema;
7214
+ } | {
7215
+ type: "ENABLE";
7216
+ conditional: import(".").JSONSchema;
7217
+ } | {
7218
+ type: "DISPLAY_ON_REVIEW";
7219
+ conditional: import(".").JSONSchema;
7220
+ })[] | undefined;
7221
+ secured?: boolean | undefined;
7222
+ placeholder?: TranslationConfig | undefined;
7223
+ helperText?: TranslationConfig | undefined;
7224
+ hideLabel?: boolean | undefined;
7225
+ uncorrectable?: boolean | undefined;
7226
+ defaultValue?: string | undefined;
7227
+ }, {
7228
+ type: "PAGE_HEADER";
7229
+ id: string;
7230
+ label: {
7231
+ id: string;
7232
+ description: string;
7233
+ defaultMessage: string;
7234
+ };
7235
+ parent?: {
7236
+ $$field: string;
7237
+ } | undefined;
7238
+ validation?: {
7239
+ message: {
7240
+ id: string;
7241
+ description: string;
7242
+ defaultMessage: string;
7243
+ };
7244
+ validator: import(".").JSONSchema;
7245
+ }[] | undefined;
7246
+ required?: boolean | undefined;
7247
+ conditionals?: ({
7248
+ type: "SHOW";
7249
+ conditional: import(".").JSONSchema;
7250
+ } | {
7251
+ type: "ENABLE";
7252
+ conditional: import(".").JSONSchema;
7253
+ } | {
7254
+ type: "DISPLAY_ON_REVIEW";
7255
+ conditional: import(".").JSONSchema;
7256
+ })[] | undefined;
7257
+ secured?: boolean | undefined;
7258
+ placeholder?: {
7259
+ id: string;
7260
+ description: string;
7261
+ defaultMessage: string;
7262
+ } | undefined;
7263
+ helperText?: {
7264
+ id: string;
7265
+ description: string;
7266
+ defaultMessage: string;
7267
+ } | undefined;
7268
+ hideLabel?: boolean | undefined;
7269
+ uncorrectable?: boolean | undefined;
7270
+ defaultValue?: string | undefined;
7271
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7272
+ id: z.ZodString;
7273
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7274
+ id: string;
7275
+ description: string;
7276
+ defaultMessage: string;
7277
+ }>;
7278
+ parent: z.ZodOptional<z.ZodObject<{
7279
+ $$field: z.ZodString;
7280
+ }, "strip", z.ZodTypeAny, {
7281
+ $$field: string;
7282
+ }, {
7283
+ $$field: string;
7284
+ }>>;
7285
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7286
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7287
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7288
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7289
+ id: string;
7290
+ description: string;
7291
+ defaultMessage: string;
7292
+ }>>;
7293
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
7294
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
7295
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7296
+ id: string;
7297
+ description: string;
7298
+ defaultMessage: string;
7299
+ }>;
7300
+ }, "strip", z.ZodTypeAny, {
7301
+ message: TranslationConfig;
7302
+ validator: import(".").JSONSchema;
7303
+ }, {
7304
+ message: {
7305
+ id: string;
7306
+ description: string;
7307
+ defaultMessage: string;
7308
+ };
7309
+ validator: import(".").JSONSchema;
7310
+ }>, "many">>>;
7311
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7312
+ id: string;
7313
+ description: string;
7314
+ defaultMessage: string;
7315
+ }>>;
7316
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7317
+ uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7318
+ }, {
7319
+ type: z.ZodLiteral<"SELECT">;
7320
+ defaultValue: z.ZodOptional<z.ZodString>;
7321
+ options: z.ZodArray<z.ZodObject<{
7322
+ value: z.ZodString;
7323
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7324
+ id: string;
7325
+ description: string;
7326
+ defaultMessage: string;
7327
+ }>;
7328
+ }, "strip", z.ZodTypeAny, {
7329
+ value: string;
7330
+ label: TranslationConfig;
7331
+ }, {
7332
+ value: string;
7333
+ label: {
7334
+ id: string;
7335
+ description: string;
7336
+ defaultMessage: string;
7337
+ };
7338
+ }>, "many">;
7339
+ }>, "strip", z.ZodTypeAny, {
7340
+ type: "SELECT";
7341
+ id: string;
7342
+ options: {
7343
+ value: string;
7344
+ label: TranslationConfig;
7345
+ }[];
7346
+ label: TranslationConfig;
7347
+ parent?: {
7348
+ $$field: string;
7349
+ } | undefined;
7350
+ validation?: {
7351
+ message: TranslationConfig;
7352
+ validator: import(".").JSONSchema;
7353
+ }[] | undefined;
7354
+ required?: boolean | undefined;
7355
+ conditionals?: ({
7356
+ type: "SHOW";
7357
+ conditional: import(".").JSONSchema;
7358
+ } | {
7359
+ type: "ENABLE";
7360
+ conditional: import(".").JSONSchema;
7361
+ } | {
7362
+ type: "DISPLAY_ON_REVIEW";
7363
+ conditional: import(".").JSONSchema;
7364
+ })[] | undefined;
7365
+ secured?: boolean | undefined;
7366
+ placeholder?: TranslationConfig | undefined;
7367
+ helperText?: TranslationConfig | undefined;
7368
+ hideLabel?: boolean | undefined;
7369
+ uncorrectable?: boolean | undefined;
7370
+ defaultValue?: string | undefined;
7371
+ }, {
7372
+ type: "SELECT";
7373
+ id: string;
7374
+ options: {
7375
+ value: string;
7376
+ label: {
7377
+ id: string;
7378
+ description: string;
7379
+ defaultMessage: string;
7380
+ };
7381
+ }[];
7382
+ label: {
7383
+ id: string;
7384
+ description: string;
7385
+ defaultMessage: string;
7386
+ };
7387
+ parent?: {
7388
+ $$field: string;
7389
+ } | undefined;
7390
+ validation?: {
7391
+ message: {
7392
+ id: string;
7393
+ description: string;
7394
+ defaultMessage: string;
7395
+ };
7396
+ validator: import(".").JSONSchema;
7397
+ }[] | undefined;
7398
+ required?: boolean | undefined;
7399
+ conditionals?: ({
7400
+ type: "SHOW";
7401
+ conditional: import(".").JSONSchema;
7402
+ } | {
7403
+ type: "ENABLE";
7404
+ conditional: import(".").JSONSchema;
7405
+ } | {
7406
+ type: "DISPLAY_ON_REVIEW";
7407
+ conditional: import(".").JSONSchema;
7408
+ })[] | undefined;
7409
+ secured?: boolean | undefined;
7410
+ placeholder?: {
7411
+ id: string;
7412
+ description: string;
7413
+ defaultMessage: string;
7414
+ } | undefined;
7415
+ helperText?: {
7416
+ id: string;
7417
+ description: string;
7418
+ defaultMessage: string;
7419
+ } | undefined;
7420
+ hideLabel?: boolean | undefined;
7421
+ uncorrectable?: boolean | undefined;
7422
+ defaultValue?: string | undefined;
7423
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7424
+ id: z.ZodString;
7425
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7426
+ id: string;
7427
+ description: string;
7428
+ defaultMessage: string;
7429
+ }>;
7430
+ parent: z.ZodOptional<z.ZodObject<{
7431
+ $$field: z.ZodString;
7432
+ }, "strip", z.ZodTypeAny, {
7433
+ $$field: string;
7434
+ }, {
7435
+ $$field: string;
7436
+ }>>;
7437
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7438
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
7439
+ secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7440
+ placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7441
+ id: string;
7442
+ description: string;
7443
+ defaultMessage: string;
7444
+ }>>;
7445
+ validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
7446
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
7447
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7448
+ id: string;
7449
+ description: string;
7450
+ defaultMessage: string;
7451
+ }>;
7452
+ }, "strip", z.ZodTypeAny, {
7453
+ message: TranslationConfig;
7454
+ validator: import(".").JSONSchema;
7455
+ }, {
7456
+ message: {
7457
+ id: string;
7458
+ description: string;
7459
+ defaultMessage: string;
7460
+ };
7461
+ validator: import(".").JSONSchema;
7462
+ }>, "many">>>;
7463
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7464
+ id: string;
7465
+ description: string;
7466
+ defaultMessage: string;
7467
+ }>>;
7468
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7469
+ uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7470
+ }, {
7471
+ type: z.ZodLiteral<"NAME">;
7472
+ defaultValue: z.ZodOptional<z.ZodObject<{
7473
+ firstname: z.ZodOptional<z.ZodString>;
7474
+ middlename: z.ZodOptional<z.ZodString>;
7475
+ surname: z.ZodOptional<z.ZodString>;
7476
+ }, "strip", z.ZodTypeAny, {
7477
+ firstname?: string | undefined;
7478
+ surname?: string | undefined;
7479
+ middlename?: string | undefined;
7480
+ }, {
7481
+ firstname?: string | undefined;
7482
+ surname?: string | undefined;
7483
+ middlename?: string | undefined;
7484
+ }>>;
7485
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
7486
+ name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
7487
+ firstname: z.ZodOptional<z.ZodObject<{
7488
+ required: z.ZodBoolean;
7489
+ }, "strip", z.ZodTypeAny, {
7490
+ required: boolean;
7491
+ }, {
7492
+ required: boolean;
7493
+ }>>;
7494
+ middlename: z.ZodOptional<z.ZodObject<{
7495
+ required: z.ZodBoolean;
7496
+ }, "strip", z.ZodTypeAny, {
7497
+ required: boolean;
7498
+ }, {
7499
+ required: boolean;
7500
+ }>>;
7501
+ surname: z.ZodOptional<z.ZodObject<{
7502
+ required: z.ZodBoolean;
7503
+ }, "strip", z.ZodTypeAny, {
7504
+ required: boolean;
7505
+ }, {
7506
+ required: boolean;
7507
+ }>>;
7508
+ }, "strip", z.ZodTypeAny, {
7509
+ firstname?: {
7510
+ required: boolean;
7511
+ } | undefined;
7512
+ surname?: {
7513
+ required: boolean;
7514
+ } | undefined;
7515
+ middlename?: {
7516
+ required: boolean;
7517
+ } | undefined;
7518
+ }, {
7519
+ firstname?: {
7520
+ required: boolean;
7521
+ } | undefined;
7522
+ surname?: {
7523
+ required: boolean;
7524
+ } | undefined;
7525
+ middlename?: {
7526
+ required: boolean;
7343
7527
  } | undefined;
7344
7528
  }>>>;
7345
- order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
7346
7529
  maxLength: z.ZodOptional<z.ZodNumber>;
7347
7530
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7348
7531
  id: string;
@@ -7354,53 +7537,35 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7354
7537
  description: string;
7355
7538
  defaultMessage: string;
7356
7539
  }>>;
7540
+ searchMode: z.ZodOptional<z.ZodBoolean>;
7357
7541
  }, "strip", z.ZodTypeAny, {
7358
7542
  name?: {
7359
7543
  firstname?: {
7360
7544
  required: boolean;
7361
- label?: TranslationConfig | undefined;
7362
7545
  } | undefined;
7363
7546
  surname?: {
7364
7547
  required: boolean;
7365
- label?: TranslationConfig | undefined;
7366
7548
  } | undefined;
7367
7549
  middlename?: {
7368
7550
  required: boolean;
7369
- label?: TranslationConfig | undefined;
7370
7551
  } | undefined;
7371
7552
  } | undefined;
7372
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
7373
7553
  maxLength?: number | undefined;
7374
7554
  prefix?: TranslationConfig | undefined;
7375
7555
  postfix?: TranslationConfig | undefined;
7556
+ searchMode?: boolean | undefined;
7376
7557
  }, {
7377
7558
  name?: {
7378
7559
  firstname?: {
7379
7560
  required: boolean;
7380
- label?: {
7381
- id: string;
7382
- description: string;
7383
- defaultMessage: string;
7384
- } | undefined;
7385
7561
  } | undefined;
7386
7562
  surname?: {
7387
7563
  required: boolean;
7388
- label?: {
7389
- id: string;
7390
- description: string;
7391
- defaultMessage: string;
7392
- } | undefined;
7393
7564
  } | undefined;
7394
7565
  middlename?: {
7395
7566
  required: boolean;
7396
- label?: {
7397
- id: string;
7398
- description: string;
7399
- defaultMessage: string;
7400
- } | undefined;
7401
7567
  } | undefined;
7402
7568
  } | undefined;
7403
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
7404
7569
  maxLength?: number | undefined;
7405
7570
  prefix?: {
7406
7571
  id: string;
@@ -7412,6 +7577,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7412
7577
  description: string;
7413
7578
  defaultMessage: string;
7414
7579
  } | undefined;
7580
+ searchMode?: boolean | undefined;
7415
7581
  }>>>;
7416
7582
  }>, "strip", z.ZodTypeAny, {
7417
7583
  type: "NAME";
@@ -7449,21 +7615,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7449
7615
  name?: {
7450
7616
  firstname?: {
7451
7617
  required: boolean;
7452
- label?: TranslationConfig | undefined;
7453
7618
  } | undefined;
7454
7619
  surname?: {
7455
7620
  required: boolean;
7456
- label?: TranslationConfig | undefined;
7457
7621
  } | undefined;
7458
7622
  middlename?: {
7459
7623
  required: boolean;
7460
- label?: TranslationConfig | undefined;
7461
7624
  } | undefined;
7462
7625
  } | undefined;
7463
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
7464
7626
  maxLength?: number | undefined;
7465
7627
  prefix?: TranslationConfig | undefined;
7466
7628
  postfix?: TranslationConfig | undefined;
7629
+ searchMode?: boolean | undefined;
7467
7630
  } | undefined;
7468
7631
  }, {
7469
7632
  type: "NAME";
@@ -7517,30 +7680,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7517
7680
  name?: {
7518
7681
  firstname?: {
7519
7682
  required: boolean;
7520
- label?: {
7521
- id: string;
7522
- description: string;
7523
- defaultMessage: string;
7524
- } | undefined;
7525
7683
  } | undefined;
7526
7684
  surname?: {
7527
7685
  required: boolean;
7528
- label?: {
7529
- id: string;
7530
- description: string;
7531
- defaultMessage: string;
7532
- } | undefined;
7533
7686
  } | undefined;
7534
7687
  middlename?: {
7535
7688
  required: boolean;
7536
- label?: {
7537
- id: string;
7538
- description: string;
7539
- defaultMessage: string;
7540
- } | undefined;
7541
7689
  } | undefined;
7542
7690
  } | undefined;
7543
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
7544
7691
  maxLength?: number | undefined;
7545
7692
  prefix?: {
7546
7693
  id: string;
@@ -7552,6 +7699,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7552
7699
  description: string;
7553
7700
  defaultMessage: string;
7554
7701
  } | undefined;
7702
+ searchMode?: boolean | undefined;
7555
7703
  } | undefined;
7556
7704
  }>, z.ZodObject<z.objectUtil.extendShape<{
7557
7705
  id: z.ZodString;
@@ -9475,208 +9623,30 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9475
9623
  label: {
9476
9624
  id: string;
9477
9625
  description: string;
9478
- defaultMessage: string;
9479
- };
9480
- } | {
9481
- fieldId: string;
9482
- })[];
9483
- subtitle?: {
9484
- id: string;
9485
- description: string;
9486
- defaultMessage: string;
9487
- } | undefined;
9488
- }>;
9489
- }>, "strip", z.ZodTypeAny, {
9490
- type: "DATA";
9491
- id: string;
9492
- label: TranslationConfig;
9493
- configuration: {
9494
- data: ({
9495
- value: string | TranslationConfig;
9496
- label: TranslationConfig;
9497
- } | {
9498
- fieldId: string;
9499
- })[];
9500
- subtitle?: TranslationConfig | undefined;
9501
- };
9502
- parent?: {
9503
- $$field: string;
9504
- } | undefined;
9505
- validation?: {
9506
- message: TranslationConfig;
9507
- validator: import(".").JSONSchema;
9508
- }[] | undefined;
9509
- required?: boolean | undefined;
9510
- conditionals?: ({
9511
- type: "SHOW";
9512
- conditional: import(".").JSONSchema;
9513
- } | {
9514
- type: "ENABLE";
9515
- conditional: import(".").JSONSchema;
9516
- } | {
9517
- type: "DISPLAY_ON_REVIEW";
9518
- conditional: import(".").JSONSchema;
9519
- })[] | undefined;
9520
- secured?: boolean | undefined;
9521
- placeholder?: TranslationConfig | undefined;
9522
- helperText?: TranslationConfig | undefined;
9523
- hideLabel?: boolean | undefined;
9524
- uncorrectable?: boolean | undefined;
9525
- }, {
9526
- type: "DATA";
9527
- id: string;
9528
- label: {
9529
- id: string;
9530
- description: string;
9531
- defaultMessage: string;
9532
- };
9533
- configuration: {
9534
- data: ({
9535
- value: string | {
9536
- id: string;
9537
- description: string;
9538
- defaultMessage: string;
9539
- };
9540
- label: {
9541
- id: string;
9542
- description: string;
9543
- defaultMessage: string;
9544
- };
9545
- } | {
9546
- fieldId: string;
9547
- })[];
9548
- subtitle?: {
9549
- id: string;
9550
- description: string;
9551
- defaultMessage: string;
9552
- } | undefined;
9553
- };
9554
- parent?: {
9555
- $$field: string;
9556
- } | undefined;
9557
- validation?: {
9558
- message: {
9559
- id: string;
9560
- description: string;
9561
- defaultMessage: string;
9562
- };
9563
- validator: import(".").JSONSchema;
9564
- }[] | undefined;
9565
- required?: boolean | undefined;
9566
- conditionals?: ({
9567
- type: "SHOW";
9568
- conditional: import(".").JSONSchema;
9569
- } | {
9570
- type: "ENABLE";
9571
- conditional: import(".").JSONSchema;
9572
- } | {
9573
- type: "DISPLAY_ON_REVIEW";
9574
- conditional: import(".").JSONSchema;
9575
- })[] | undefined;
9576
- secured?: boolean | undefined;
9577
- placeholder?: {
9578
- id: string;
9579
- description: string;
9580
- defaultMessage: string;
9581
- } | undefined;
9582
- helperText?: {
9583
- id: string;
9584
- description: string;
9585
- defaultMessage: string;
9586
- } | undefined;
9587
- hideLabel?: boolean | undefined;
9588
- uncorrectable?: boolean | undefined;
9589
- }>]>;
9590
- export type SelectField = z.infer<typeof Select>;
9591
- export type NameField = z.infer<typeof NameField>;
9592
- export type PhoneField = z.infer<typeof PhoneField>;
9593
- export type IdField = z.infer<typeof IdField>;
9594
- export type LocationField = z.infer<typeof Location>;
9595
- export type RadioField = z.infer<typeof RadioGroup>;
9596
- export type AddressField = z.infer<typeof Address>;
9597
- export type NumberField = z.infer<typeof NumberField>;
9598
- export type FieldProps<T extends FieldType> = Extract<FieldConfig, {
9599
- type: T;
9600
- }>;
9601
- export type SelectOption = z.infer<typeof SelectOption>;
9602
- export type AdministrativeAreaConfiguration = z.infer<typeof AdministrativeAreaConfiguration>;
9603
- /**
9604
- * Union of file-related fields. Using common type should help with compiler to know where to add new cases.
9605
- */
9606
- export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
9607
- id: z.ZodString;
9608
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9609
- id: string;
9610
- description: string;
9611
- defaultMessage: string;
9612
- }>;
9613
- parent: z.ZodOptional<z.ZodObject<{
9614
- $$field: z.ZodString;
9615
- }, "strip", z.ZodTypeAny, {
9616
- $$field: string;
9617
- }, {
9618
- $$field: string;
9619
- }>>;
9620
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9621
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
9622
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9623
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9624
- id: string;
9625
- description: string;
9626
- defaultMessage: string;
9627
- }>>;
9628
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
9629
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
9630
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9631
- id: string;
9632
- description: string;
9633
- defaultMessage: string;
9634
- }>;
9635
- }, "strip", z.ZodTypeAny, {
9636
- message: TranslationConfig;
9637
- validator: import(".").JSONSchema;
9638
- }, {
9639
- message: {
9626
+ defaultMessage: string;
9627
+ };
9628
+ } | {
9629
+ fieldId: string;
9630
+ })[];
9631
+ subtitle?: {
9640
9632
  id: string;
9641
9633
  description: string;
9642
9634
  defaultMessage: string;
9643
- };
9644
- validator: import(".").JSONSchema;
9645
- }>, "many">>>;
9646
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9647
- id: string;
9648
- description: string;
9649
- defaultMessage: string;
9650
- }>>;
9651
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9652
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9653
- }, {
9654
- type: z.ZodLiteral<"SIGNATURE">;
9655
- signaturePromptLabel: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9656
- id: string;
9657
- description: string;
9658
- defaultMessage: string;
9635
+ } | undefined;
9659
9636
  }>;
9660
- defaultValue: z.ZodOptional<z.ZodString>;
9661
- configuration: z.ZodDefault<z.ZodObject<{
9662
- maxFileSize: z.ZodDefault<z.ZodNumber>;
9663
- acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
9664
- }, "strip", z.ZodTypeAny, {
9665
- maxFileSize: number;
9666
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9667
- }, {
9668
- maxFileSize?: number | undefined;
9669
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9670
- }>>;
9671
9637
  }>, "strip", z.ZodTypeAny, {
9672
- type: "SIGNATURE";
9638
+ type: "DATA";
9673
9639
  id: string;
9674
9640
  label: TranslationConfig;
9675
9641
  configuration: {
9676
- maxFileSize: number;
9677
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9642
+ data: ({
9643
+ value: string | TranslationConfig;
9644
+ label: TranslationConfig;
9645
+ } | {
9646
+ fieldId: string;
9647
+ })[];
9648
+ subtitle?: TranslationConfig | undefined;
9678
9649
  };
9679
- signaturePromptLabel: TranslationConfig;
9680
9650
  parent?: {
9681
9651
  $$field: string;
9682
9652
  } | undefined;
@@ -9700,19 +9670,34 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
9700
9670
  helperText?: TranslationConfig | undefined;
9701
9671
  hideLabel?: boolean | undefined;
9702
9672
  uncorrectable?: boolean | undefined;
9703
- defaultValue?: string | undefined;
9704
9673
  }, {
9705
- type: "SIGNATURE";
9674
+ type: "DATA";
9706
9675
  id: string;
9707
9676
  label: {
9708
9677
  id: string;
9709
9678
  description: string;
9710
9679
  defaultMessage: string;
9711
9680
  };
9712
- signaturePromptLabel: {
9713
- id: string;
9714
- description: string;
9715
- defaultMessage: string;
9681
+ configuration: {
9682
+ data: ({
9683
+ value: string | {
9684
+ id: string;
9685
+ description: string;
9686
+ defaultMessage: string;
9687
+ };
9688
+ label: {
9689
+ id: string;
9690
+ description: string;
9691
+ defaultMessage: string;
9692
+ };
9693
+ } | {
9694
+ fieldId: string;
9695
+ })[];
9696
+ subtitle?: {
9697
+ id: string;
9698
+ description: string;
9699
+ defaultMessage: string;
9700
+ } | undefined;
9716
9701
  };
9717
9702
  parent?: {
9718
9703
  $$field: string;
@@ -9749,11 +9734,6 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
9749
9734
  } | undefined;
9750
9735
  hideLabel?: boolean | undefined;
9751
9736
  uncorrectable?: boolean | undefined;
9752
- defaultValue?: string | undefined;
9753
- configuration?: {
9754
- maxFileSize?: number | undefined;
9755
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9756
- } | undefined;
9757
9737
  }>, z.ZodObject<z.objectUtil.extendShape<{
9758
9738
  id: z.ZodString;
9759
9739
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -9802,65 +9782,36 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
9802
9782
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9803
9783
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9804
9784
  }, {
9805
- type: z.ZodLiteral<"FILE">;
9806
- defaultValue: z.ZodOptional<z.ZodObject<{
9807
- path: z.ZodEffects<z.ZodString, string, string>;
9808
- originalFilename: z.ZodString;
9809
- type: z.ZodString;
9810
- }, "strip", z.ZodTypeAny, {
9811
- type: string;
9812
- path: string;
9813
- originalFilename: string;
9814
- }, {
9815
- type: string;
9816
- path: string;
9817
- originalFilename: string;
9818
- }>>;
9819
- configuration: z.ZodDefault<z.ZodObject<{
9820
- maxFileSize: z.ZodDefault<z.ZodNumber>;
9821
- acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
9822
- style: z.ZodOptional<z.ZodObject<{
9823
- width: z.ZodOptional<z.ZodEnum<["full", "auto"]>>;
9824
- }, "strip", z.ZodTypeAny, {
9825
- width?: "full" | "auto" | undefined;
9826
- }, {
9827
- width?: "full" | "auto" | undefined;
9828
- }>>;
9829
- fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9785
+ type: z.ZodLiteral<"BUTTON">;
9786
+ configuration: z.ZodObject<{
9787
+ icon: z.ZodOptional<z.ZodString>;
9788
+ loading: z.ZodOptional<z.ZodBoolean>;
9789
+ text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9830
9790
  id: string;
9831
9791
  description: string;
9832
9792
  defaultMessage: string;
9833
- }>>;
9793
+ }>;
9834
9794
  }, "strip", z.ZodTypeAny, {
9835
- maxFileSize: number;
9836
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9837
- style?: {
9838
- width?: "full" | "auto" | undefined;
9839
- } | undefined;
9840
- fileName?: TranslationConfig | undefined;
9795
+ text: TranslationConfig;
9796
+ loading?: boolean | undefined;
9797
+ icon?: string | undefined;
9841
9798
  }, {
9842
- maxFileSize?: number | undefined;
9843
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9844
- style?: {
9845
- width?: "full" | "auto" | undefined;
9846
- } | undefined;
9847
- fileName?: {
9799
+ text: {
9848
9800
  id: string;
9849
9801
  description: string;
9850
9802
  defaultMessage: string;
9851
- } | undefined;
9852
- }>>;
9803
+ };
9804
+ loading?: boolean | undefined;
9805
+ icon?: string | undefined;
9806
+ }>;
9853
9807
  }>, "strip", z.ZodTypeAny, {
9854
- type: "FILE";
9808
+ type: "BUTTON";
9855
9809
  id: string;
9856
9810
  label: TranslationConfig;
9857
9811
  configuration: {
9858
- maxFileSize: number;
9859
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9860
- style?: {
9861
- width?: "full" | "auto" | undefined;
9862
- } | undefined;
9863
- fileName?: TranslationConfig | undefined;
9812
+ text: TranslationConfig;
9813
+ loading?: boolean | undefined;
9814
+ icon?: string | undefined;
9864
9815
  };
9865
9816
  parent?: {
9866
9817
  $$field: string;
@@ -9885,19 +9836,23 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
9885
9836
  helperText?: TranslationConfig | undefined;
9886
9837
  hideLabel?: boolean | undefined;
9887
9838
  uncorrectable?: boolean | undefined;
9888
- defaultValue?: {
9889
- type: string;
9890
- path: string;
9891
- originalFilename: string;
9892
- } | undefined;
9893
9839
  }, {
9894
- type: "FILE";
9840
+ type: "BUTTON";
9895
9841
  id: string;
9896
9842
  label: {
9897
9843
  id: string;
9898
9844
  description: string;
9899
9845
  defaultMessage: string;
9900
9846
  };
9847
+ configuration: {
9848
+ text: {
9849
+ id: string;
9850
+ description: string;
9851
+ defaultMessage: string;
9852
+ };
9853
+ loading?: boolean | undefined;
9854
+ icon?: string | undefined;
9855
+ };
9901
9856
  parent?: {
9902
9857
  $$field: string;
9903
9858
  } | undefined;
@@ -9933,23 +9888,6 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
9933
9888
  } | undefined;
9934
9889
  hideLabel?: boolean | undefined;
9935
9890
  uncorrectable?: boolean | undefined;
9936
- defaultValue?: {
9937
- type: string;
9938
- path: string;
9939
- originalFilename: string;
9940
- } | undefined;
9941
- configuration?: {
9942
- maxFileSize?: number | undefined;
9943
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9944
- style?: {
9945
- width?: "full" | "auto" | undefined;
9946
- } | undefined;
9947
- fileName?: {
9948
- id: string;
9949
- description: string;
9950
- defaultMessage: string;
9951
- } | undefined;
9952
- } | undefined;
9953
9891
  }>, z.ZodObject<z.objectUtil.extendShape<{
9954
9892
  id: z.ZodString;
9955
9893
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -9998,62 +9936,87 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
9998
9936
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9999
9937
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
10000
9938
  }, {
10001
- type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
10002
- options: z.ZodArray<z.ZodObject<{
10003
- value: z.ZodString;
10004
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
10005
- id: string;
10006
- description: string;
10007
- defaultMessage: string;
10008
- }>;
10009
- }, "strip", z.ZodTypeAny, {
10010
- value: string;
10011
- label: TranslationConfig;
10012
- }, {
10013
- value: string;
10014
- label: {
10015
- id: string;
10016
- description: string;
10017
- defaultMessage: string;
10018
- };
10019
- }>, "many">;
10020
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
10021
- path: z.ZodEffects<z.ZodString, string, string>;
10022
- originalFilename: z.ZodString;
10023
- type: z.ZodString;
10024
- option: z.ZodString;
10025
- }, "strip", z.ZodTypeAny, {
10026
- type: string;
10027
- option: string;
10028
- path: string;
10029
- originalFilename: string;
10030
- }, {
10031
- type: string;
10032
- option: string;
10033
- path: string;
10034
- originalFilename: string;
10035
- }>, "many">>;
10036
- configuration: z.ZodDefault<z.ZodObject<{
10037
- maxFileSize: z.ZodDefault<z.ZodNumber>;
10038
- acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
10039
- }, "strip", z.ZodTypeAny, {
10040
- maxFileSize: number;
10041
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
10042
- }, {
10043
- maxFileSize?: number | undefined;
10044
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9939
+ type: z.ZodLiteral<"HTTP">;
9940
+ defaultValue: z.ZodOptional<z.ZodObject<{
9941
+ loading: z.ZodBoolean;
9942
+ error: z.ZodNullable<z.ZodObject<{
9943
+ statusCode: z.ZodNullable<z.ZodNumber>;
9944
+ message: z.ZodString;
9945
+ }, "strip", z.ZodTypeAny, {
9946
+ message: string;
9947
+ statusCode: number | null;
9948
+ }, {
9949
+ message: string;
9950
+ statusCode: number | null;
9951
+ }>>;
9952
+ data: z.ZodAny;
9953
+ trackingValue: z.ZodOptional<z.ZodString>;
9954
+ }, "strip", z.ZodTypeAny, {
9955
+ error: {
9956
+ message: string;
9957
+ statusCode: number | null;
9958
+ } | null;
9959
+ loading: boolean;
9960
+ data?: any;
9961
+ trackingValue?: string | undefined;
9962
+ }, {
9963
+ error: {
9964
+ message: string;
9965
+ statusCode: number | null;
9966
+ } | null;
9967
+ loading: boolean;
9968
+ data?: any;
9969
+ trackingValue?: string | undefined;
10045
9970
  }>>;
9971
+ configuration: z.ZodObject<{
9972
+ trigger: z.ZodObject<{
9973
+ $$field: z.ZodString;
9974
+ }, "strip", z.ZodTypeAny, {
9975
+ $$field: string;
9976
+ }, {
9977
+ $$field: string;
9978
+ }>;
9979
+ url: z.ZodString;
9980
+ method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>;
9981
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9982
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9983
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9984
+ timeout: z.ZodDefault<z.ZodNumber>;
9985
+ }, "strip", z.ZodTypeAny, {
9986
+ method: "POST" | "DELETE" | "GET" | "PUT";
9987
+ trigger: {
9988
+ $$field: string;
9989
+ };
9990
+ url: string;
9991
+ timeout: number;
9992
+ params?: Record<string, string> | undefined;
9993
+ headers?: Record<string, string> | undefined;
9994
+ body?: Record<string, string> | undefined;
9995
+ }, {
9996
+ method: "POST" | "DELETE" | "GET" | "PUT";
9997
+ trigger: {
9998
+ $$field: string;
9999
+ };
10000
+ url: string;
10001
+ params?: Record<string, string> | undefined;
10002
+ headers?: Record<string, string> | undefined;
10003
+ body?: Record<string, string> | undefined;
10004
+ timeout?: number | undefined;
10005
+ }>;
10046
10006
  }>, "strip", z.ZodTypeAny, {
10047
- type: "FILE_WITH_OPTIONS";
10007
+ type: "HTTP";
10048
10008
  id: string;
10049
- options: {
10050
- value: string;
10051
- label: TranslationConfig;
10052
- }[];
10053
10009
  label: TranslationConfig;
10054
10010
  configuration: {
10055
- maxFileSize: number;
10056
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
10011
+ method: "POST" | "DELETE" | "GET" | "PUT";
10012
+ trigger: {
10013
+ $$field: string;
10014
+ };
10015
+ url: string;
10016
+ timeout: number;
10017
+ params?: Record<string, string> | undefined;
10018
+ headers?: Record<string, string> | undefined;
10019
+ body?: Record<string, string> | undefined;
10057
10020
  };
10058
10021
  parent?: {
10059
10022
  $$field: string;
@@ -10079,27 +10042,33 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
10079
10042
  hideLabel?: boolean | undefined;
10080
10043
  uncorrectable?: boolean | undefined;
10081
10044
  defaultValue?: {
10082
- type: string;
10083
- option: string;
10084
- path: string;
10085
- originalFilename: string;
10086
- }[] | undefined;
10045
+ error: {
10046
+ message: string;
10047
+ statusCode: number | null;
10048
+ } | null;
10049
+ loading: boolean;
10050
+ data?: any;
10051
+ trackingValue?: string | undefined;
10052
+ } | undefined;
10087
10053
  }, {
10088
- type: "FILE_WITH_OPTIONS";
10054
+ type: "HTTP";
10089
10055
  id: string;
10090
- options: {
10091
- value: string;
10092
- label: {
10093
- id: string;
10094
- description: string;
10095
- defaultMessage: string;
10096
- };
10097
- }[];
10098
10056
  label: {
10099
10057
  id: string;
10100
10058
  description: string;
10101
10059
  defaultMessage: string;
10102
10060
  };
10061
+ configuration: {
10062
+ method: "POST" | "DELETE" | "GET" | "PUT";
10063
+ trigger: {
10064
+ $$field: string;
10065
+ };
10066
+ url: string;
10067
+ params?: Record<string, string> | undefined;
10068
+ headers?: Record<string, string> | undefined;
10069
+ body?: Record<string, string> | undefined;
10070
+ timeout?: number | undefined;
10071
+ };
10103
10072
  parent?: {
10104
10073
  $$field: string;
10105
10074
  } | undefined;
@@ -10136,16 +10105,27 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
10136
10105
  hideLabel?: boolean | undefined;
10137
10106
  uncorrectable?: boolean | undefined;
10138
10107
  defaultValue?: {
10139
- type: string;
10140
- option: string;
10141
- path: string;
10142
- originalFilename: string;
10143
- }[] | undefined;
10144
- configuration?: {
10145
- maxFileSize?: number | undefined;
10146
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
10108
+ error: {
10109
+ message: string;
10110
+ statusCode: number | null;
10111
+ } | null;
10112
+ loading: boolean;
10113
+ data?: any;
10114
+ trackingValue?: string | undefined;
10147
10115
  } | undefined;
10148
10116
  }>]>;
10149
- export type AnyFileField = z.infer<typeof AnyFileField>;
10117
+ export type SelectField = z.infer<typeof Select>;
10118
+ export type NameField = z.infer<typeof NameField>;
10119
+ export type PhoneField = z.infer<typeof PhoneField>;
10120
+ export type IdField = z.infer<typeof IdField>;
10121
+ export type LocationField = z.infer<typeof Location>;
10122
+ export type RadioField = z.infer<typeof RadioGroup>;
10123
+ export type AddressField = z.infer<typeof Address>;
10124
+ export type NumberField = z.infer<typeof NumberField>;
10125
+ export type FieldProps<T extends FieldType> = Extract<FieldConfig, {
10126
+ type: T;
10127
+ }>;
10128
+ export type SelectOption = z.infer<typeof SelectOption>;
10129
+ export type AdministrativeAreaConfiguration = z.infer<typeof AdministrativeAreaConfiguration>;
10150
10130
  export {};
10151
10131
  //# sourceMappingURL=FieldConfig.d.ts.map