@opencrvs/toolkit 1.9.16-rc.f9732be → 1.9.17-rc.4bfbb38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commons/api/router.d.ts +5 -0
- package/dist/commons/events/ActionConfig.d.ts +28 -0
- package/dist/commons/events/EventConfig.d.ts +25 -0
- package/dist/commons/events/FormConfig.d.ts +30 -0
- package/dist/commons/events/PageConfig.d.ts +6 -0
- package/dist/commons/events/defineConfig.d.ts +5 -0
- package/dist/commons/events/utils.d.ts +9 -0
- package/dist/events/index.js +4 -0
- package/dist/notification/index.js +4 -0
- package/package.json +1 -1
|
@@ -75,6 +75,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
75
75
|
fields: import("../commons").FieldConfig[];
|
|
76
76
|
requireCompletionToContinue: boolean;
|
|
77
77
|
conditional?: import("../commons").JSONSchema | undefined;
|
|
78
|
+
showClearButton?: boolean | undefined;
|
|
78
79
|
}[];
|
|
79
80
|
};
|
|
80
81
|
actions: ({
|
|
@@ -141,6 +142,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
141
142
|
fields: import("../commons").FieldConfig[];
|
|
142
143
|
requireCompletionToContinue: boolean;
|
|
143
144
|
conditional?: import("../commons").JSONSchema | undefined;
|
|
145
|
+
showClearButton?: boolean | undefined;
|
|
144
146
|
} | {
|
|
145
147
|
type: "VERIFICATION";
|
|
146
148
|
id: string;
|
|
@@ -160,6 +162,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
160
162
|
fields: import("../commons").FieldConfig[];
|
|
161
163
|
requireCompletionToContinue: boolean;
|
|
162
164
|
conditional?: import("../commons").JSONSchema | undefined;
|
|
165
|
+
showClearButton?: boolean | undefined;
|
|
163
166
|
})[];
|
|
164
167
|
};
|
|
165
168
|
} | {
|
|
@@ -174,6 +177,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
174
177
|
fields: import("../commons").FieldConfig[];
|
|
175
178
|
requireCompletionToContinue: boolean;
|
|
176
179
|
conditional?: import("../commons").JSONSchema | undefined;
|
|
180
|
+
showClearButton?: boolean | undefined;
|
|
177
181
|
} | {
|
|
178
182
|
type: "VERIFICATION";
|
|
179
183
|
id: string;
|
|
@@ -193,6 +197,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
193
197
|
fields: import("../commons").FieldConfig[];
|
|
194
198
|
requireCompletionToContinue: boolean;
|
|
195
199
|
conditional?: import("../commons").JSONSchema | undefined;
|
|
200
|
+
showClearButton?: boolean | undefined;
|
|
196
201
|
})[];
|
|
197
202
|
};
|
|
198
203
|
} | {
|
|
@@ -499,6 +499,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
499
499
|
defaultMessage: string;
|
|
500
500
|
}>;
|
|
501
501
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
502
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
502
503
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
503
504
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
504
505
|
}, {
|
|
@@ -510,6 +511,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
510
511
|
fields: FieldConfig[];
|
|
511
512
|
requireCompletionToContinue: boolean;
|
|
512
513
|
conditional?: import(".").JSONSchema | undefined;
|
|
514
|
+
showClearButton?: boolean | undefined;
|
|
513
515
|
}, {
|
|
514
516
|
id: string;
|
|
515
517
|
title: {
|
|
@@ -521,6 +523,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
521
523
|
type?: "FORM" | undefined;
|
|
522
524
|
conditional?: import(".").JSONSchema | undefined;
|
|
523
525
|
requireCompletionToContinue?: boolean | undefined;
|
|
526
|
+
showClearButton?: boolean | undefined;
|
|
524
527
|
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
525
528
|
id: z.ZodString;
|
|
526
529
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -529,6 +532,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
529
532
|
defaultMessage: string;
|
|
530
533
|
}>;
|
|
531
534
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
535
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
532
536
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
533
537
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
534
538
|
}, {
|
|
@@ -666,6 +670,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
666
670
|
fields: FieldConfig[];
|
|
667
671
|
requireCompletionToContinue: boolean;
|
|
668
672
|
conditional?: import(".").JSONSchema | undefined;
|
|
673
|
+
showClearButton?: boolean | undefined;
|
|
669
674
|
}, {
|
|
670
675
|
type: "VERIFICATION";
|
|
671
676
|
id: string;
|
|
@@ -705,6 +710,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
705
710
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
706
711
|
conditional?: import(".").JSONSchema | undefined;
|
|
707
712
|
requireCompletionToContinue?: boolean | undefined;
|
|
713
|
+
showClearButton?: boolean | undefined;
|
|
708
714
|
}>)[]>, "many">;
|
|
709
715
|
}, "strip", z.ZodTypeAny, {
|
|
710
716
|
label: TranslationConfig;
|
|
@@ -715,6 +721,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
715
721
|
fields: FieldConfig[];
|
|
716
722
|
requireCompletionToContinue: boolean;
|
|
717
723
|
conditional?: import(".").JSONSchema | undefined;
|
|
724
|
+
showClearButton?: boolean | undefined;
|
|
718
725
|
} | {
|
|
719
726
|
type: "VERIFICATION";
|
|
720
727
|
id: string;
|
|
@@ -734,6 +741,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
734
741
|
fields: FieldConfig[];
|
|
735
742
|
requireCompletionToContinue: boolean;
|
|
736
743
|
conditional?: import(".").JSONSchema | undefined;
|
|
744
|
+
showClearButton?: boolean | undefined;
|
|
737
745
|
})[];
|
|
738
746
|
}, {
|
|
739
747
|
label: {
|
|
@@ -752,6 +760,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
752
760
|
type?: "FORM" | undefined;
|
|
753
761
|
conditional?: import(".").JSONSchema | undefined;
|
|
754
762
|
requireCompletionToContinue?: boolean | undefined;
|
|
763
|
+
showClearButton?: boolean | undefined;
|
|
755
764
|
} | {
|
|
756
765
|
type: "VERIFICATION";
|
|
757
766
|
id: string;
|
|
@@ -791,6 +800,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
791
800
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
792
801
|
conditional?: import(".").JSONSchema | undefined;
|
|
793
802
|
requireCompletionToContinue?: boolean | undefined;
|
|
803
|
+
showClearButton?: boolean | undefined;
|
|
794
804
|
})[];
|
|
795
805
|
}>;
|
|
796
806
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -805,6 +815,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
805
815
|
fields: FieldConfig[];
|
|
806
816
|
requireCompletionToContinue: boolean;
|
|
807
817
|
conditional?: import(".").JSONSchema | undefined;
|
|
818
|
+
showClearButton?: boolean | undefined;
|
|
808
819
|
} | {
|
|
809
820
|
type: "VERIFICATION";
|
|
810
821
|
id: string;
|
|
@@ -824,6 +835,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
824
835
|
fields: FieldConfig[];
|
|
825
836
|
requireCompletionToContinue: boolean;
|
|
826
837
|
conditional?: import(".").JSONSchema | undefined;
|
|
838
|
+
showClearButton?: boolean | undefined;
|
|
827
839
|
})[];
|
|
828
840
|
};
|
|
829
841
|
}, {
|
|
@@ -850,6 +862,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
850
862
|
type?: "FORM" | undefined;
|
|
851
863
|
conditional?: import(".").JSONSchema | undefined;
|
|
852
864
|
requireCompletionToContinue?: boolean | undefined;
|
|
865
|
+
showClearButton?: boolean | undefined;
|
|
853
866
|
} | {
|
|
854
867
|
type: "VERIFICATION";
|
|
855
868
|
id: string;
|
|
@@ -889,6 +902,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
889
902
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
890
903
|
conditional?: import(".").JSONSchema | undefined;
|
|
891
904
|
requireCompletionToContinue?: boolean | undefined;
|
|
905
|
+
showClearButton?: boolean | undefined;
|
|
892
906
|
})[];
|
|
893
907
|
};
|
|
894
908
|
}>;
|
|
@@ -914,6 +928,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
914
928
|
defaultMessage: string;
|
|
915
929
|
}>;
|
|
916
930
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
931
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
917
932
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
918
933
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
919
934
|
}, {
|
|
@@ -925,6 +940,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
925
940
|
fields: FieldConfig[];
|
|
926
941
|
requireCompletionToContinue: boolean;
|
|
927
942
|
conditional?: import(".").JSONSchema | undefined;
|
|
943
|
+
showClearButton?: boolean | undefined;
|
|
928
944
|
}, {
|
|
929
945
|
id: string;
|
|
930
946
|
title: {
|
|
@@ -936,6 +952,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
936
952
|
type?: "FORM" | undefined;
|
|
937
953
|
conditional?: import(".").JSONSchema | undefined;
|
|
938
954
|
requireCompletionToContinue?: boolean | undefined;
|
|
955
|
+
showClearButton?: boolean | undefined;
|
|
939
956
|
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
940
957
|
id: z.ZodString;
|
|
941
958
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -944,6 +961,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
944
961
|
defaultMessage: string;
|
|
945
962
|
}>;
|
|
946
963
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
964
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
947
965
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
948
966
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
949
967
|
}, {
|
|
@@ -1081,6 +1099,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1081
1099
|
fields: FieldConfig[];
|
|
1082
1100
|
requireCompletionToContinue: boolean;
|
|
1083
1101
|
conditional?: import(".").JSONSchema | undefined;
|
|
1102
|
+
showClearButton?: boolean | undefined;
|
|
1084
1103
|
}, {
|
|
1085
1104
|
type: "VERIFICATION";
|
|
1086
1105
|
id: string;
|
|
@@ -1120,6 +1139,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1120
1139
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1121
1140
|
conditional?: import(".").JSONSchema | undefined;
|
|
1122
1141
|
requireCompletionToContinue?: boolean | undefined;
|
|
1142
|
+
showClearButton?: boolean | undefined;
|
|
1123
1143
|
}>)[]>, "many">;
|
|
1124
1144
|
}, "strip", z.ZodTypeAny, {
|
|
1125
1145
|
label: TranslationConfig;
|
|
@@ -1130,6 +1150,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1130
1150
|
fields: FieldConfig[];
|
|
1131
1151
|
requireCompletionToContinue: boolean;
|
|
1132
1152
|
conditional?: import(".").JSONSchema | undefined;
|
|
1153
|
+
showClearButton?: boolean | undefined;
|
|
1133
1154
|
} | {
|
|
1134
1155
|
type: "VERIFICATION";
|
|
1135
1156
|
id: string;
|
|
@@ -1149,6 +1170,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1149
1170
|
fields: FieldConfig[];
|
|
1150
1171
|
requireCompletionToContinue: boolean;
|
|
1151
1172
|
conditional?: import(".").JSONSchema | undefined;
|
|
1173
|
+
showClearButton?: boolean | undefined;
|
|
1152
1174
|
})[];
|
|
1153
1175
|
}, {
|
|
1154
1176
|
label: {
|
|
@@ -1167,6 +1189,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1167
1189
|
type?: "FORM" | undefined;
|
|
1168
1190
|
conditional?: import(".").JSONSchema | undefined;
|
|
1169
1191
|
requireCompletionToContinue?: boolean | undefined;
|
|
1192
|
+
showClearButton?: boolean | undefined;
|
|
1170
1193
|
} | {
|
|
1171
1194
|
type: "VERIFICATION";
|
|
1172
1195
|
id: string;
|
|
@@ -1206,6 +1229,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1206
1229
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1207
1230
|
conditional?: import(".").JSONSchema | undefined;
|
|
1208
1231
|
requireCompletionToContinue?: boolean | undefined;
|
|
1232
|
+
showClearButton?: boolean | undefined;
|
|
1209
1233
|
})[];
|
|
1210
1234
|
}>;
|
|
1211
1235
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1220,6 +1244,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1220
1244
|
fields: FieldConfig[];
|
|
1221
1245
|
requireCompletionToContinue: boolean;
|
|
1222
1246
|
conditional?: import(".").JSONSchema | undefined;
|
|
1247
|
+
showClearButton?: boolean | undefined;
|
|
1223
1248
|
} | {
|
|
1224
1249
|
type: "VERIFICATION";
|
|
1225
1250
|
id: string;
|
|
@@ -1239,6 +1264,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1239
1264
|
fields: FieldConfig[];
|
|
1240
1265
|
requireCompletionToContinue: boolean;
|
|
1241
1266
|
conditional?: import(".").JSONSchema | undefined;
|
|
1267
|
+
showClearButton?: boolean | undefined;
|
|
1242
1268
|
})[];
|
|
1243
1269
|
};
|
|
1244
1270
|
}, {
|
|
@@ -1265,6 +1291,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1265
1291
|
type?: "FORM" | undefined;
|
|
1266
1292
|
conditional?: import(".").JSONSchema | undefined;
|
|
1267
1293
|
requireCompletionToContinue?: boolean | undefined;
|
|
1294
|
+
showClearButton?: boolean | undefined;
|
|
1268
1295
|
} | {
|
|
1269
1296
|
type: "VERIFICATION";
|
|
1270
1297
|
id: string;
|
|
@@ -1304,6 +1331,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1304
1331
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1305
1332
|
conditional?: import(".").JSONSchema | undefined;
|
|
1306
1333
|
requireCompletionToContinue?: boolean | undefined;
|
|
1334
|
+
showClearButton?: boolean | undefined;
|
|
1307
1335
|
})[];
|
|
1308
1336
|
};
|
|
1309
1337
|
}>;
|
|
@@ -229,6 +229,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
229
229
|
defaultMessage: string;
|
|
230
230
|
}>;
|
|
231
231
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
232
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
232
233
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
233
234
|
conditional: z.ZodOptional<z.ZodType<import("../conditionals/conditionals").JSONSchema, z.ZodTypeDef, import("../conditionals/conditionals").JSONSchema>>;
|
|
234
235
|
}, {
|
|
@@ -240,6 +241,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
240
241
|
fields: import("./FieldConfig").FieldConfig[];
|
|
241
242
|
requireCompletionToContinue: boolean;
|
|
242
243
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
244
|
+
showClearButton?: boolean | undefined;
|
|
243
245
|
}, {
|
|
244
246
|
id: string;
|
|
245
247
|
title: {
|
|
@@ -251,6 +253,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
251
253
|
type?: "FORM" | undefined;
|
|
252
254
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
253
255
|
requireCompletionToContinue?: boolean | undefined;
|
|
256
|
+
showClearButton?: boolean | undefined;
|
|
254
257
|
}>, "many">;
|
|
255
258
|
}, "strip", z.ZodTypeAny, {
|
|
256
259
|
label: TranslationConfig;
|
|
@@ -261,6 +264,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
261
264
|
fields: import("./FieldConfig").FieldConfig[];
|
|
262
265
|
requireCompletionToContinue: boolean;
|
|
263
266
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
267
|
+
showClearButton?: boolean | undefined;
|
|
264
268
|
}[];
|
|
265
269
|
}, {
|
|
266
270
|
label: {
|
|
@@ -279,6 +283,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
279
283
|
type?: "FORM" | undefined;
|
|
280
284
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
281
285
|
requireCompletionToContinue?: boolean | undefined;
|
|
286
|
+
showClearButton?: boolean | undefined;
|
|
282
287
|
}[];
|
|
283
288
|
}>;
|
|
284
289
|
advancedSearch: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1065,6 +1070,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1065
1070
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1066
1071
|
requireCompletionToContinue: boolean;
|
|
1067
1072
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1073
|
+
showClearButton?: boolean | undefined;
|
|
1068
1074
|
}[];
|
|
1069
1075
|
};
|
|
1070
1076
|
actions: ({
|
|
@@ -1131,6 +1137,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1131
1137
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1132
1138
|
requireCompletionToContinue: boolean;
|
|
1133
1139
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1140
|
+
showClearButton?: boolean | undefined;
|
|
1134
1141
|
} | {
|
|
1135
1142
|
type: "VERIFICATION";
|
|
1136
1143
|
id: string;
|
|
@@ -1150,6 +1157,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1150
1157
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1151
1158
|
requireCompletionToContinue: boolean;
|
|
1152
1159
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1160
|
+
showClearButton?: boolean | undefined;
|
|
1153
1161
|
})[];
|
|
1154
1162
|
};
|
|
1155
1163
|
} | {
|
|
@@ -1164,6 +1172,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1164
1172
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1165
1173
|
requireCompletionToContinue: boolean;
|
|
1166
1174
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1175
|
+
showClearButton?: boolean | undefined;
|
|
1167
1176
|
} | {
|
|
1168
1177
|
type: "VERIFICATION";
|
|
1169
1178
|
id: string;
|
|
@@ -1183,6 +1192,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1183
1192
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1184
1193
|
requireCompletionToContinue: boolean;
|
|
1185
1194
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1195
|
+
showClearButton?: boolean | undefined;
|
|
1186
1196
|
})[];
|
|
1187
1197
|
};
|
|
1188
1198
|
} | {
|
|
@@ -1319,6 +1329,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1319
1329
|
type?: "FORM" | undefined;
|
|
1320
1330
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1321
1331
|
requireCompletionToContinue?: boolean | undefined;
|
|
1332
|
+
showClearButton?: boolean | undefined;
|
|
1322
1333
|
}[];
|
|
1323
1334
|
};
|
|
1324
1335
|
actions: ({
|
|
@@ -1453,6 +1464,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1453
1464
|
type?: "FORM" | undefined;
|
|
1454
1465
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1455
1466
|
requireCompletionToContinue?: boolean | undefined;
|
|
1467
|
+
showClearButton?: boolean | undefined;
|
|
1456
1468
|
} | {
|
|
1457
1469
|
type: "VERIFICATION";
|
|
1458
1470
|
id: string;
|
|
@@ -1492,6 +1504,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1492
1504
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1493
1505
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1494
1506
|
requireCompletionToContinue?: boolean | undefined;
|
|
1507
|
+
showClearButton?: boolean | undefined;
|
|
1495
1508
|
})[];
|
|
1496
1509
|
};
|
|
1497
1510
|
} | {
|
|
@@ -1518,6 +1531,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1518
1531
|
type?: "FORM" | undefined;
|
|
1519
1532
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1520
1533
|
requireCompletionToContinue?: boolean | undefined;
|
|
1534
|
+
showClearButton?: boolean | undefined;
|
|
1521
1535
|
} | {
|
|
1522
1536
|
type: "VERIFICATION";
|
|
1523
1537
|
id: string;
|
|
@@ -1557,6 +1571,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1557
1571
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1558
1572
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1559
1573
|
requireCompletionToContinue?: boolean | undefined;
|
|
1574
|
+
showClearButton?: boolean | undefined;
|
|
1560
1575
|
})[];
|
|
1561
1576
|
};
|
|
1562
1577
|
} | {
|
|
@@ -1753,6 +1768,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1753
1768
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1754
1769
|
requireCompletionToContinue: boolean;
|
|
1755
1770
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1771
|
+
showClearButton?: boolean | undefined;
|
|
1756
1772
|
}[];
|
|
1757
1773
|
};
|
|
1758
1774
|
actions: ({
|
|
@@ -1819,6 +1835,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1819
1835
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1820
1836
|
requireCompletionToContinue: boolean;
|
|
1821
1837
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1838
|
+
showClearButton?: boolean | undefined;
|
|
1822
1839
|
} | {
|
|
1823
1840
|
type: "VERIFICATION";
|
|
1824
1841
|
id: string;
|
|
@@ -1838,6 +1855,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1838
1855
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1839
1856
|
requireCompletionToContinue: boolean;
|
|
1840
1857
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1858
|
+
showClearButton?: boolean | undefined;
|
|
1841
1859
|
})[];
|
|
1842
1860
|
};
|
|
1843
1861
|
} | {
|
|
@@ -1852,6 +1870,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1852
1870
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1853
1871
|
requireCompletionToContinue: boolean;
|
|
1854
1872
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1873
|
+
showClearButton?: boolean | undefined;
|
|
1855
1874
|
} | {
|
|
1856
1875
|
type: "VERIFICATION";
|
|
1857
1876
|
id: string;
|
|
@@ -1871,6 +1890,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1871
1890
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1872
1891
|
requireCompletionToContinue: boolean;
|
|
1873
1892
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1893
|
+
showClearButton?: boolean | undefined;
|
|
1874
1894
|
})[];
|
|
1875
1895
|
};
|
|
1876
1896
|
} | {
|
|
@@ -2007,6 +2027,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2007
2027
|
type?: "FORM" | undefined;
|
|
2008
2028
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
2009
2029
|
requireCompletionToContinue?: boolean | undefined;
|
|
2030
|
+
showClearButton?: boolean | undefined;
|
|
2010
2031
|
}[];
|
|
2011
2032
|
};
|
|
2012
2033
|
actions: ({
|
|
@@ -2141,6 +2162,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2141
2162
|
type?: "FORM" | undefined;
|
|
2142
2163
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
2143
2164
|
requireCompletionToContinue?: boolean | undefined;
|
|
2165
|
+
showClearButton?: boolean | undefined;
|
|
2144
2166
|
} | {
|
|
2145
2167
|
type: "VERIFICATION";
|
|
2146
2168
|
id: string;
|
|
@@ -2180,6 +2202,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2180
2202
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
2181
2203
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
2182
2204
|
requireCompletionToContinue?: boolean | undefined;
|
|
2205
|
+
showClearButton?: boolean | undefined;
|
|
2183
2206
|
})[];
|
|
2184
2207
|
};
|
|
2185
2208
|
} | {
|
|
@@ -2206,6 +2229,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2206
2229
|
type?: "FORM" | undefined;
|
|
2207
2230
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
2208
2231
|
requireCompletionToContinue?: boolean | undefined;
|
|
2232
|
+
showClearButton?: boolean | undefined;
|
|
2209
2233
|
} | {
|
|
2210
2234
|
type: "VERIFICATION";
|
|
2211
2235
|
id: string;
|
|
@@ -2245,6 +2269,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2245
2269
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
2246
2270
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
2247
2271
|
requireCompletionToContinue?: boolean | undefined;
|
|
2272
|
+
showClearButton?: boolean | undefined;
|
|
2248
2273
|
})[];
|
|
2249
2274
|
};
|
|
2250
2275
|
} | {
|
|
@@ -14,6 +14,7 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
14
14
|
defaultMessage: string;
|
|
15
15
|
}>;
|
|
16
16
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
17
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
17
18
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
18
19
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
19
20
|
}, {
|
|
@@ -25,6 +26,7 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
25
26
|
fields: import("./FieldConfig").FieldConfig[];
|
|
26
27
|
requireCompletionToContinue: boolean;
|
|
27
28
|
conditional?: import(".").JSONSchema | undefined;
|
|
29
|
+
showClearButton?: boolean | undefined;
|
|
28
30
|
}, {
|
|
29
31
|
id: string;
|
|
30
32
|
title: {
|
|
@@ -36,6 +38,7 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
36
38
|
type?: "FORM" | undefined;
|
|
37
39
|
conditional?: import(".").JSONSchema | undefined;
|
|
38
40
|
requireCompletionToContinue?: boolean | undefined;
|
|
41
|
+
showClearButton?: boolean | undefined;
|
|
39
42
|
}>, "many">;
|
|
40
43
|
}, "strip", z.ZodTypeAny, {
|
|
41
44
|
label: TranslationConfig;
|
|
@@ -46,6 +49,7 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
46
49
|
fields: import("./FieldConfig").FieldConfig[];
|
|
47
50
|
requireCompletionToContinue: boolean;
|
|
48
51
|
conditional?: import(".").JSONSchema | undefined;
|
|
52
|
+
showClearButton?: boolean | undefined;
|
|
49
53
|
}[];
|
|
50
54
|
}, {
|
|
51
55
|
label: {
|
|
@@ -64,6 +68,7 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
64
68
|
type?: "FORM" | undefined;
|
|
65
69
|
conditional?: import(".").JSONSchema | undefined;
|
|
66
70
|
requireCompletionToContinue?: boolean | undefined;
|
|
71
|
+
showClearButton?: boolean | undefined;
|
|
67
72
|
}[];
|
|
68
73
|
}>;
|
|
69
74
|
export type DeclarationFormConfig = z.infer<typeof DeclarationFormConfig>;
|
|
@@ -82,6 +87,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
82
87
|
defaultMessage: string;
|
|
83
88
|
}>;
|
|
84
89
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
90
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
85
91
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
86
92
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
87
93
|
}, {
|
|
@@ -93,6 +99,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
93
99
|
fields: import("./FieldConfig").FieldConfig[];
|
|
94
100
|
requireCompletionToContinue: boolean;
|
|
95
101
|
conditional?: import(".").JSONSchema | undefined;
|
|
102
|
+
showClearButton?: boolean | undefined;
|
|
96
103
|
}, {
|
|
97
104
|
id: string;
|
|
98
105
|
title: {
|
|
@@ -104,6 +111,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
104
111
|
type?: "FORM" | undefined;
|
|
105
112
|
conditional?: import(".").JSONSchema | undefined;
|
|
106
113
|
requireCompletionToContinue?: boolean | undefined;
|
|
114
|
+
showClearButton?: boolean | undefined;
|
|
107
115
|
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
108
116
|
id: z.ZodString;
|
|
109
117
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -112,6 +120,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
112
120
|
defaultMessage: string;
|
|
113
121
|
}>;
|
|
114
122
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
123
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
115
124
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
116
125
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
117
126
|
}, {
|
|
@@ -249,6 +258,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
249
258
|
fields: import("./FieldConfig").FieldConfig[];
|
|
250
259
|
requireCompletionToContinue: boolean;
|
|
251
260
|
conditional?: import(".").JSONSchema | undefined;
|
|
261
|
+
showClearButton?: boolean | undefined;
|
|
252
262
|
}, {
|
|
253
263
|
type: "VERIFICATION";
|
|
254
264
|
id: string;
|
|
@@ -288,6 +298,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
288
298
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
289
299
|
conditional?: import(".").JSONSchema | undefined;
|
|
290
300
|
requireCompletionToContinue?: boolean | undefined;
|
|
301
|
+
showClearButton?: boolean | undefined;
|
|
291
302
|
}>)[]>, "many">;
|
|
292
303
|
}, "strip", z.ZodTypeAny, {
|
|
293
304
|
label: TranslationConfig;
|
|
@@ -298,6 +309,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
298
309
|
fields: import("./FieldConfig").FieldConfig[];
|
|
299
310
|
requireCompletionToContinue: boolean;
|
|
300
311
|
conditional?: import(".").JSONSchema | undefined;
|
|
312
|
+
showClearButton?: boolean | undefined;
|
|
301
313
|
} | {
|
|
302
314
|
type: "VERIFICATION";
|
|
303
315
|
id: string;
|
|
@@ -317,6 +329,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
317
329
|
fields: import("./FieldConfig").FieldConfig[];
|
|
318
330
|
requireCompletionToContinue: boolean;
|
|
319
331
|
conditional?: import(".").JSONSchema | undefined;
|
|
332
|
+
showClearButton?: boolean | undefined;
|
|
320
333
|
})[];
|
|
321
334
|
}, {
|
|
322
335
|
label: {
|
|
@@ -335,6 +348,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
335
348
|
type?: "FORM" | undefined;
|
|
336
349
|
conditional?: import(".").JSONSchema | undefined;
|
|
337
350
|
requireCompletionToContinue?: boolean | undefined;
|
|
351
|
+
showClearButton?: boolean | undefined;
|
|
338
352
|
} | {
|
|
339
353
|
type: "VERIFICATION";
|
|
340
354
|
id: string;
|
|
@@ -374,6 +388,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
374
388
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
375
389
|
conditional?: import(".").JSONSchema | undefined;
|
|
376
390
|
requireCompletionToContinue?: boolean | undefined;
|
|
391
|
+
showClearButton?: boolean | undefined;
|
|
377
392
|
})[];
|
|
378
393
|
}>;
|
|
379
394
|
export type ActionFormConfig = z.infer<typeof ActionFormConfig>;
|
|
@@ -392,6 +407,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
392
407
|
defaultMessage: string;
|
|
393
408
|
}>;
|
|
394
409
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
410
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
395
411
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
396
412
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
397
413
|
}, {
|
|
@@ -403,6 +419,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
403
419
|
fields: import("./FieldConfig").FieldConfig[];
|
|
404
420
|
requireCompletionToContinue: boolean;
|
|
405
421
|
conditional?: import(".").JSONSchema | undefined;
|
|
422
|
+
showClearButton?: boolean | undefined;
|
|
406
423
|
}, {
|
|
407
424
|
id: string;
|
|
408
425
|
title: {
|
|
@@ -414,6 +431,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
414
431
|
type?: "FORM" | undefined;
|
|
415
432
|
conditional?: import(".").JSONSchema | undefined;
|
|
416
433
|
requireCompletionToContinue?: boolean | undefined;
|
|
434
|
+
showClearButton?: boolean | undefined;
|
|
417
435
|
}>, "many">;
|
|
418
436
|
}, "strip", z.ZodTypeAny, {
|
|
419
437
|
label: TranslationConfig;
|
|
@@ -424,6 +442,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
424
442
|
fields: import("./FieldConfig").FieldConfig[];
|
|
425
443
|
requireCompletionToContinue: boolean;
|
|
426
444
|
conditional?: import(".").JSONSchema | undefined;
|
|
445
|
+
showClearButton?: boolean | undefined;
|
|
427
446
|
}[];
|
|
428
447
|
}, {
|
|
429
448
|
label: {
|
|
@@ -442,6 +461,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
442
461
|
type?: "FORM" | undefined;
|
|
443
462
|
conditional?: import(".").JSONSchema | undefined;
|
|
444
463
|
requireCompletionToContinue?: boolean | undefined;
|
|
464
|
+
showClearButton?: boolean | undefined;
|
|
445
465
|
}[];
|
|
446
466
|
}>, z.ZodObject<{
|
|
447
467
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -457,6 +477,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
457
477
|
defaultMessage: string;
|
|
458
478
|
}>;
|
|
459
479
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
480
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
460
481
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
461
482
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
462
483
|
}, {
|
|
@@ -468,6 +489,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
468
489
|
fields: import("./FieldConfig").FieldConfig[];
|
|
469
490
|
requireCompletionToContinue: boolean;
|
|
470
491
|
conditional?: import(".").JSONSchema | undefined;
|
|
492
|
+
showClearButton?: boolean | undefined;
|
|
471
493
|
}, {
|
|
472
494
|
id: string;
|
|
473
495
|
title: {
|
|
@@ -479,6 +501,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
479
501
|
type?: "FORM" | undefined;
|
|
480
502
|
conditional?: import(".").JSONSchema | undefined;
|
|
481
503
|
requireCompletionToContinue?: boolean | undefined;
|
|
504
|
+
showClearButton?: boolean | undefined;
|
|
482
505
|
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
483
506
|
id: z.ZodString;
|
|
484
507
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -487,6 +510,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
487
510
|
defaultMessage: string;
|
|
488
511
|
}>;
|
|
489
512
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
513
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
490
514
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
491
515
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
492
516
|
}, {
|
|
@@ -624,6 +648,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
624
648
|
fields: import("./FieldConfig").FieldConfig[];
|
|
625
649
|
requireCompletionToContinue: boolean;
|
|
626
650
|
conditional?: import(".").JSONSchema | undefined;
|
|
651
|
+
showClearButton?: boolean | undefined;
|
|
627
652
|
}, {
|
|
628
653
|
type: "VERIFICATION";
|
|
629
654
|
id: string;
|
|
@@ -663,6 +688,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
663
688
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
664
689
|
conditional?: import(".").JSONSchema | undefined;
|
|
665
690
|
requireCompletionToContinue?: boolean | undefined;
|
|
691
|
+
showClearButton?: boolean | undefined;
|
|
666
692
|
}>)[]>, "many">;
|
|
667
693
|
}, "strip", z.ZodTypeAny, {
|
|
668
694
|
label: TranslationConfig;
|
|
@@ -673,6 +699,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
673
699
|
fields: import("./FieldConfig").FieldConfig[];
|
|
674
700
|
requireCompletionToContinue: boolean;
|
|
675
701
|
conditional?: import(".").JSONSchema | undefined;
|
|
702
|
+
showClearButton?: boolean | undefined;
|
|
676
703
|
} | {
|
|
677
704
|
type: "VERIFICATION";
|
|
678
705
|
id: string;
|
|
@@ -692,6 +719,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
692
719
|
fields: import("./FieldConfig").FieldConfig[];
|
|
693
720
|
requireCompletionToContinue: boolean;
|
|
694
721
|
conditional?: import(".").JSONSchema | undefined;
|
|
722
|
+
showClearButton?: boolean | undefined;
|
|
695
723
|
})[];
|
|
696
724
|
}, {
|
|
697
725
|
label: {
|
|
@@ -710,6 +738,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
710
738
|
type?: "FORM" | undefined;
|
|
711
739
|
conditional?: import(".").JSONSchema | undefined;
|
|
712
740
|
requireCompletionToContinue?: boolean | undefined;
|
|
741
|
+
showClearButton?: boolean | undefined;
|
|
713
742
|
} | {
|
|
714
743
|
type: "VERIFICATION";
|
|
715
744
|
id: string;
|
|
@@ -749,6 +778,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
749
778
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
750
779
|
conditional?: import(".").JSONSchema | undefined;
|
|
751
780
|
requireCompletionToContinue?: boolean | undefined;
|
|
781
|
+
showClearButton?: boolean | undefined;
|
|
752
782
|
})[];
|
|
753
783
|
}>]>;
|
|
754
784
|
export type FormConfig = z.infer<typeof FormConfig>;
|
|
@@ -11,6 +11,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11
11
|
defaultMessage: string;
|
|
12
12
|
}>;
|
|
13
13
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
14
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
14
15
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
15
16
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
16
17
|
}, {
|
|
@@ -22,6 +23,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
22
23
|
fields: FieldConfig[];
|
|
23
24
|
requireCompletionToContinue: boolean;
|
|
24
25
|
conditional?: import(".").JSONSchema | undefined;
|
|
26
|
+
showClearButton?: boolean | undefined;
|
|
25
27
|
}, {
|
|
26
28
|
id: string;
|
|
27
29
|
title: {
|
|
@@ -33,6 +35,7 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
33
35
|
type?: "FORM" | undefined;
|
|
34
36
|
conditional?: import(".").JSONSchema | undefined;
|
|
35
37
|
requireCompletionToContinue?: boolean | undefined;
|
|
38
|
+
showClearButton?: boolean | undefined;
|
|
36
39
|
}>;
|
|
37
40
|
export type FormPageConfig = z.infer<typeof FormPageConfig>;
|
|
38
41
|
export type FormPageConfigInput = z.input<typeof FormPageConfig>;
|
|
@@ -156,6 +159,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
|
156
159
|
defaultMessage: string;
|
|
157
160
|
}>;
|
|
158
161
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
162
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
159
163
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
160
164
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
161
165
|
}, {
|
|
@@ -293,6 +297,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
|
293
297
|
fields: FieldConfig[];
|
|
294
298
|
requireCompletionToContinue: boolean;
|
|
295
299
|
conditional?: import(".").JSONSchema | undefined;
|
|
300
|
+
showClearButton?: boolean | undefined;
|
|
296
301
|
}, {
|
|
297
302
|
type: "VERIFICATION";
|
|
298
303
|
id: string;
|
|
@@ -332,6 +337,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
|
332
337
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
333
338
|
conditional?: import(".").JSONSchema | undefined;
|
|
334
339
|
requireCompletionToContinue?: boolean | undefined;
|
|
340
|
+
showClearButton?: boolean | undefined;
|
|
335
341
|
}>;
|
|
336
342
|
export type VerificationPageConfig = z.infer<typeof VerificationPageConfig>;
|
|
337
343
|
type AllPageConfig = typeof VerificationPageConfig | typeof FormPageConfig;
|
|
@@ -15,6 +15,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
15
15
|
fields: import("./FieldConfig").FieldConfig[];
|
|
16
16
|
requireCompletionToContinue: boolean;
|
|
17
17
|
conditional?: import(".").JSONSchema | undefined;
|
|
18
|
+
showClearButton?: boolean | undefined;
|
|
18
19
|
}[];
|
|
19
20
|
};
|
|
20
21
|
actions: ({
|
|
@@ -81,6 +82,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
81
82
|
fields: import("./FieldConfig").FieldConfig[];
|
|
82
83
|
requireCompletionToContinue: boolean;
|
|
83
84
|
conditional?: import(".").JSONSchema | undefined;
|
|
85
|
+
showClearButton?: boolean | undefined;
|
|
84
86
|
} | {
|
|
85
87
|
type: "VERIFICATION";
|
|
86
88
|
id: string;
|
|
@@ -100,6 +102,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
100
102
|
fields: import("./FieldConfig").FieldConfig[];
|
|
101
103
|
requireCompletionToContinue: boolean;
|
|
102
104
|
conditional?: import(".").JSONSchema | undefined;
|
|
105
|
+
showClearButton?: boolean | undefined;
|
|
103
106
|
})[];
|
|
104
107
|
};
|
|
105
108
|
} | {
|
|
@@ -114,6 +117,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
114
117
|
fields: import("./FieldConfig").FieldConfig[];
|
|
115
118
|
requireCompletionToContinue: boolean;
|
|
116
119
|
conditional?: import(".").JSONSchema | undefined;
|
|
120
|
+
showClearButton?: boolean | undefined;
|
|
117
121
|
} | {
|
|
118
122
|
type: "VERIFICATION";
|
|
119
123
|
id: string;
|
|
@@ -133,6 +137,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
133
137
|
fields: import("./FieldConfig").FieldConfig[];
|
|
134
138
|
requireCompletionToContinue: boolean;
|
|
135
139
|
conditional?: import(".").JSONSchema | undefined;
|
|
140
|
+
showClearButton?: boolean | undefined;
|
|
136
141
|
})[];
|
|
137
142
|
};
|
|
138
143
|
} | {
|
|
@@ -19,6 +19,7 @@ export declare function getDeclarationPages(configuration: EventConfig): {
|
|
|
19
19
|
fields: FieldConfig[];
|
|
20
20
|
requireCompletionToContinue: boolean;
|
|
21
21
|
conditional?: import(".").JSONSchema | undefined;
|
|
22
|
+
showClearButton?: boolean | undefined;
|
|
22
23
|
}[];
|
|
23
24
|
export declare function getDeclaration(configuration: EventConfig): {
|
|
24
25
|
label: import("./TranslationConfig").TranslationConfig;
|
|
@@ -29,6 +30,7 @@ export declare function getDeclaration(configuration: EventConfig): {
|
|
|
29
30
|
fields: FieldConfig[];
|
|
30
31
|
requireCompletionToContinue: boolean;
|
|
31
32
|
conditional?: import(".").JSONSchema | undefined;
|
|
33
|
+
showClearButton?: boolean | undefined;
|
|
32
34
|
}[];
|
|
33
35
|
};
|
|
34
36
|
export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
@@ -38,6 +40,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
|
38
40
|
fields: FieldConfig[];
|
|
39
41
|
requireCompletionToContinue: boolean;
|
|
40
42
|
conditional?: import(".").JSONSchema | undefined;
|
|
43
|
+
showClearButton?: boolean | undefined;
|
|
41
44
|
} | {
|
|
42
45
|
type: "VERIFICATION";
|
|
43
46
|
id: string;
|
|
@@ -57,6 +60,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
|
57
60
|
fields: FieldConfig[];
|
|
58
61
|
requireCompletionToContinue: boolean;
|
|
59
62
|
conditional?: import(".").JSONSchema | undefined;
|
|
63
|
+
showClearButton?: boolean | undefined;
|
|
60
64
|
})[];
|
|
61
65
|
export declare const getActionAnnotationFields: (actionConfig: ActionConfig) => FieldConfig[];
|
|
62
66
|
export declare function getAllUniqueFields(eventConfig: EventConfig): FieldConfig[];
|
|
@@ -224,6 +228,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
224
228
|
fields: FieldConfig[];
|
|
225
229
|
requireCompletionToContinue: boolean;
|
|
226
230
|
conditional?: import(".").JSONSchema | undefined;
|
|
231
|
+
showClearButton?: boolean | undefined;
|
|
227
232
|
}[];
|
|
228
233
|
};
|
|
229
234
|
actions: ({
|
|
@@ -290,6 +295,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
290
295
|
fields: FieldConfig[];
|
|
291
296
|
requireCompletionToContinue: boolean;
|
|
292
297
|
conditional?: import(".").JSONSchema | undefined;
|
|
298
|
+
showClearButton?: boolean | undefined;
|
|
293
299
|
} | {
|
|
294
300
|
type: "VERIFICATION";
|
|
295
301
|
id: string;
|
|
@@ -309,6 +315,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
309
315
|
fields: FieldConfig[];
|
|
310
316
|
requireCompletionToContinue: boolean;
|
|
311
317
|
conditional?: import(".").JSONSchema | undefined;
|
|
318
|
+
showClearButton?: boolean | undefined;
|
|
312
319
|
})[];
|
|
313
320
|
};
|
|
314
321
|
} | {
|
|
@@ -323,6 +330,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
323
330
|
fields: FieldConfig[];
|
|
324
331
|
requireCompletionToContinue: boolean;
|
|
325
332
|
conditional?: import(".").JSONSchema | undefined;
|
|
333
|
+
showClearButton?: boolean | undefined;
|
|
326
334
|
} | {
|
|
327
335
|
type: "VERIFICATION";
|
|
328
336
|
id: string;
|
|
@@ -342,6 +350,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
342
350
|
fields: FieldConfig[];
|
|
343
351
|
requireCompletionToContinue: boolean;
|
|
344
352
|
conditional?: import(".").JSONSchema | undefined;
|
|
353
|
+
showClearButton?: boolean | undefined;
|
|
345
354
|
})[];
|
|
346
355
|
};
|
|
347
356
|
} | {
|
package/dist/events/index.js
CHANGED
|
@@ -2594,6 +2594,9 @@ var PageConfigBase = import_zod18.z.object({
|
|
|
2594
2594
|
requireCompletionToContinue: import_zod18.z.boolean().default(false).describe(
|
|
2595
2595
|
"If true, all required fields must be filled before continuing to the next page"
|
|
2596
2596
|
),
|
|
2597
|
+
showClearButton: import_zod18.z.boolean().optional().describe(
|
|
2598
|
+
'If true, a "Clear" button is shown at the top of the page allowing the user to reset all fields on the page to their default state'
|
|
2599
|
+
),
|
|
2597
2600
|
fields: import_zod18.z.array(FieldConfig).describe("Fields to be rendered on the page"),
|
|
2598
2601
|
conditional: Conditional.optional().describe(
|
|
2599
2602
|
"Page will be shown if condition is met. If conditional is not defined, the page will be always shown."
|
|
@@ -6751,6 +6754,7 @@ var TENNIS_CLUB_DECLARATION_FORM = defineDeclarationForm({
|
|
|
6751
6754
|
defaultMessage: "Who is applying for the membership?",
|
|
6752
6755
|
description: "This is the title of the section"
|
|
6753
6756
|
},
|
|
6757
|
+
showClearButton: true,
|
|
6754
6758
|
fields: [
|
|
6755
6759
|
{
|
|
6756
6760
|
id: "applicant.name",
|
|
@@ -2090,6 +2090,9 @@ var PageConfigBase = import_zod18.z.object({
|
|
|
2090
2090
|
requireCompletionToContinue: import_zod18.z.boolean().default(false).describe(
|
|
2091
2091
|
"If true, all required fields must be filled before continuing to the next page"
|
|
2092
2092
|
),
|
|
2093
|
+
showClearButton: import_zod18.z.boolean().optional().describe(
|
|
2094
|
+
'If true, a "Clear" button is shown at the top of the page allowing the user to reset all fields on the page to their default state'
|
|
2095
|
+
),
|
|
2093
2096
|
fields: import_zod18.z.array(FieldConfig).describe("Fields to be rendered on the page"),
|
|
2094
2097
|
conditional: Conditional.optional().describe(
|
|
2095
2098
|
"Page will be shown if condition is met. If conditional is not defined, the page will be always shown."
|
|
@@ -4876,6 +4879,7 @@ var TENNIS_CLUB_DECLARATION_FORM = defineDeclarationForm({
|
|
|
4876
4879
|
defaultMessage: "Who is applying for the membership?",
|
|
4877
4880
|
description: "This is the title of the section"
|
|
4878
4881
|
},
|
|
4882
|
+
showClearButton: true,
|
|
4879
4883
|
fields: [
|
|
4880
4884
|
{
|
|
4881
4885
|
id: "applicant.name",
|