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